Templates for the Classified Ads
4 posters
Page 1 of 1
Templates for the Classified Ads
|
| For a better experience of this new feature on your forum, the administrators with a punBB version forum wiho have modified these templates : viewforum_body, index_box, profile_send_email before the 09/28/2016 must take note of these modifications.. |
viewforum_body
- Replace this code :
- Code:
<tr>
<td align="left" valign="middle" width="50">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" border="0" /></a>
<!-- END switch_user_authpost -->
</td>
<td class="nav" valign="middle" width="100%">
<div class="nav">
<a class="nav" href="{U_INDEX}"><span>{L_INDEX}</span></a>{NAV_CAT_DESC}
</div>
</td>
<td class="gensmall" align="right" valign="bottom" nowrap="nowrap">
<span class="nav">
<script type="text/javascript">//<![CDATA[
var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
insert_plus_menu('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
//]]>
</script>
</span>
</td>
</tr>
- By this new code :
- Code:
<tr>
<td align="left" valign="middle" width="50">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" border="0" /></a>
<!-- END switch_user_authpost -->
</td>
<td class="nav" valign="middle" width="100%">
<div class="nav">
<a class="nav" href="{U_INDEX}"><span>{L_INDEX}</span></a>{NAV_CAT_DESC}
</div>
</td>
<!-- BEGIN show_plus_menu -->
<td class="gensmall" align="right" valign="bottom" nowrap="nowrap">
<span class="nav">
<script type="text/javascript">//<![CDATA[
var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
insert_plus_menu('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
//]]>
</script>
</span>
</td>
<!-- END show_plus_menu -->
</tr>
profile_send_email
- Replace this code :
- Code:
<tr>
<th class="thHead" colspan="2" height="25"><h1 class="pagetitle">{L_SEND_EMAIL_MSG}</h1></th>
</tr>
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_RECIPIENT}</b></span></td>
<td class="row2" width="78%"><span class="gen"><b><input type="text" name="friendname" value="{USER&#8288;NAME}" class="post" /></b></span></td>
</tr>
<!-- BEGIN switch_tell_friend -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_TELL_FRIEND_RECIEVER_EMAIL}</b></span></td>
<td class="row2" width="78%"><input type="text" size="30" name="friendemail" value="" class="post" /></td>
</tr>
<!-- END switch_tell_friend -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
<td class="row2" width="78%">
<span class="gen"><input class="post" style="width:450px" type="text" name="subject" value="{SUBJECT}" size="45" maxlength="100" tabindex="2" /></span>
</td>
</tr>
- By this new code :
- Code:
<tr>
<th class="thHead" colspan="2" height="25"><h1 class="pagetitle">{L_SEND_EMAIL_MSG}</h1></th>
</tr>
<!-- BEGIN switch_profile_email -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_RECIPIENT}</b></span></td>
<td class="row2" width="78%"><span class="gen"><b><input type="text" name="friendname" value="{USER&#8288;NAME}" class="post" /></b></span></td>
</tr>
<!-- END switch_profile_email -->
<!-- BEGIN switch_ad_email -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{switch_ad_email.L_YOUR_EMAIL}</b></span></td>
<td class="row2" width="78%"><span class="gen"><b><input type="text" name="email" value="{switch_ad_email.V_YOUR_EMAIL}" {switch_ad_email.DISABLE_YOUR_EMAIL} class="inputbox narrow" /></b></span></td>
</tr>
<tr>
<td class="row1" width="22%"><span class="gen"><b>{switch_ad_email.L_YOUR_NAME}</b></span></td>
<td class="row2" width="78%"><span class="gen"><b><input type="text" name="username" value="{switch_ad_email.V_YOUR_NAME}" {switch_ad_email.DISABLE_YOUR_NAME} class="inputbox narrow" /></b></span></td>
</tr>
<!-- END switch_ad_email -->
<!-- BEGIN switch_tell_friend -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_TELL_FRIEND_RECIEVER_EMAIL}</b></span></td>
<td class="row2" width="78%"><input type="text" size="30" name="friendemail" value="" class="post" /></td>
</tr>
<!-- END switch_tell_friend -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
<td class="row2" width="78%">
<span class="gen"><input class="post" style="width:450px" type="text" name="subject" value="{SUBJECT}" {SUBJECT_READ_ONLY} size="45" maxlength="100" tabindex="2" /></span>
</td>
</tr>
index_box
- Replace this code :
- Code:
<td class="row3 over" align="center" valign="middle" height="50">
<!-- BEGIN avatar -->
<div style="width: 200px;"></div>
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
- By this new code :
- Code:
<td class="row3 over" align="center" valign="middle" height="50">
<!-- BEGIN ads -->
<span class="AD_LastPA">
<span class="lastpost-avatar"><img src="{catrow.forumrow.ads.IMG}" alt="{catrow.forumrow.ads.TITLE}" /></span>
<span class="AD_LastInfos">
<b><a href="{catrow.forumrow.ads.LINK}">{catrow.forumrow.ads.TITLE}</a></b><br />
{catrow.forumrow.ads.DATE}<br />
{catrow.forumrow.ads.LOCATION}
</span>
</span>
<!-- END ads -->
<!-- BEGIN avatar -->
<div style="width: 200px;"></div>
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
Last update 29/09/2016
Last edited by Leviosa on Thu 6 Oct - 9:15; edited 1 time in total
Shadow- Manager
- Posts : 16208
Reputation : 1832
Language : French, English
Re: Templates for the Classified Ads
|
viewforum_body
profile_send_email
index_box
|
Last update 29/09/2016
Shadow- Manager
- Posts : 16208
Reputation : 1832
Language : French, English
Re: Templates for the Classified Ads
|
profile_send_email
index_box
|
Last Update 29/09/2016
Shadow- Manager
- Posts : 16208
Reputation : 1832
Language : French, English
Re: Templates for the Classified Ads
|
viewforum_body
profile_send_email
index_box
|
Shadow- Manager
- Posts : 16208
Reputation : 1832
Language : French, English
Re: Templates for the Classified Ads
Tested very well in PunBB version.
but small doubt. how to change the ad posting acknowledgement "Terms of Service" Link? because that link goes to our forumotion TOS. but i want add my own TOS link. How do this? Sorry for my immediate doubt. Because of my long-time expectation to use it.
Thank you.
but small doubt. how to change the ad posting acknowledgement "Terms of Service" Link? because that link goes to our forumotion TOS. but i want add my own TOS link. How do this? Sorry for my immediate doubt. Because of my long-time expectation to use it.
Thank you.
Re: Templates for the Classified Ads
Oh... OK Thanks.APE wrote:You can not change the TOS link or it's text sorry
Re: Templates for the Classified Ads
Just starting using this and where would i request/suggest that a url link be allowed to be inserted? If it's possible.
Graphic Design Section Rules || Becoming a Designer || Graphic Requests
Graphics Request Form
Make sure to check out our FREE Graphic's Gallery
No support provided via PM!
Similar topics
» Classified Ads
» Classified ADs issues
» New feature on forumotion forums : Classified ads
» New Classified ads widget
» Classified Ads: Links in Description
» Classified ADs issues
» New feature on forumotion forums : Classified ads
» New Classified ads widget
» Classified Ads: Links in Description
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum