The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Templates for the Classified Ads

View previous topic View next topic Go down

Templates for the Classified Ads

Post by Leviosa on October 6th 2016, 11:12 am


Classified ads : Template Modifications phpBB2 Version.


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&amp;#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&amp;#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 October 6th 2016, 11:15 am; edited 1 time in total


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15587
Reputation : 1589
Language : French, English

http://help.forumotion.com

Back to top Go down

Re: Templates for the Classified Ads

Post by Leviosa on October 6th 2016, 11:13 am


Classified ads : Template Modifications phpBB3 Version.


For a better experience of this new feature on your forum, the administrators with a phpBB3 version forum who 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:
<a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a> •
 <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_new('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
 //]]>
 </script>
 {PAGINATION}
 <br /><br />
</div>

By this new code:
Code:
    <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_new('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
    //]]>
    </script>
    <!-- END show_plus_menu -->
    {PAGINATION}
    <br /><br />
    </div>

profile_send_email


Replace this code :
Code:
<!-- BEGIN switch_user_logged_in --><p class="right rightside">{LAST_VISIT_DATE}</p><!-- END switch_user_logged_in -->
<p>{CURRENT_TIME}</p>

<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">
{ERROR_BOX}
<h1 class="page-title">{L_SEND_EMAIL_MSG}</h1>
<div class="panel">
 <div class="inner"><span class="corners-top"><span></span></span>
 <fieldset class="fields2">
 <dl>
 <dt><label>{L_RECIPIENT}</label></dt>
 <dd><input type="text" name="friendname" value="{USER&amp;#8288;NAME}" class="inputbox narrow" /></dd>
 </dl>
 <!-- BEGIN switch_tell_friend -->
 <dl>
 <dt><label>{L_TELL_FRIEND_RECIEVER_EMAIL}</label></dt>
 <dd><input type="text" name="friendemail" value="" class="inputbox narrow" /></dd>
 </dl>
 <!-- END switch_tell_friend -->
 <dl>
 <dt><label>{L_SUBJECT}</label></dt>
 <dd><input class="inputbox narrow" type="text" name="subject" value="{SUBJECT}" maxlength="100" /></dd>
 </dl>
 <dl>
 <dt>
 <label>{L_MESSAGE_BODY}</label><br />
 <span class="italic">{L_MESSAGE_BODY_DESC}</span>
 </dt>
 <dd>
 <textarea class="inputbox" name="message" rows="25" cols="40" tabindex="3">{MESSAGE}</textarea>
 <!-- BEGIN switch_tell_friend -->
 <input type="text" class="inputbox" value="{MAIL_LINK}" disabled="disabled" />
 <!-- END switch_tell_friend -->
 </dd>
 </dl>
 <dl>
 <dt> </dt>
 <dd><label><input type="checkbox" name="cc_email" value="1" checked="checked" />{L_CC_EMAIL}</label></dd>
 </dl>
 </fieldset>
 <span class="corners-bottom"><span></span></span></div>
</div>

<div class="panel">
 <div class="inner"><span class="corners-top"><span></span></span>
 <fieldset class="submit-buttons">
 {S_HIDDEN_FIELDS}
 <input class="button1" type="submit" name="submit" value="{L_SEND_EMAIL}" />
 </fieldset>
 <span class="corners-bottom"><span></span></span></div>
</div>
</form>

By this new code :
Code:
<!-- BEGIN switch_user_logged_in --><p class="right rightside">{LAST_VISIT_DATE}</p><!-- END switch_user_logged_in -->
<p>{CURRENT_TIME}</p>

<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">
{ERROR_BOX}
<h1 class="page-title">{L_SEND_EMAIL_MSG}</h1>
<div class="panel">
  <div class="inner"><span class="corners-top"><span></span></span>
  <fieldset class="fields2">
    <!-- BEGIN switch_profile_email -->
  <dl>
      <dt><label>{L_RECIPIENT}</label></dt>
      <dd><input type="text" name="friendname" value="{USER&amp;#8288;NAME}" class="inputbox narrow" /></dd>
  </dl>
    <!-- END switch_profile_email -->
    <!-- BEGIN switch_ad_email -->
    <dl>
        <dt><label>{switch_ad_email.L_YOUR_EMAIL}</label></dt>
        <dd><input type="text" name="email" value="{switch_ad_email.V_YOUR_EMAIL}" {switch_ad_email.DISABLE_YOUR_EMAIL} class="inputbox narrow" /></dd>
    </dl>
    <dl>
        <dt><label>{switch_ad_email.L_YOUR_NAME}</label></dt>
        <dd><input type="text" name="username" value="{switch_ad_email.V_YOUR_NAME}" {switch_ad_email.DISABLE_YOUR_NAME} class="inputbox narrow" /></dd>
    </dl>
    <!-- END switch_ad_email -->
  <!-- BEGIN switch_tell_friend -->
  <dl>
      <dt><label>{L_TELL_FRIEND_RECIEVER_EMAIL}</label></dt>
      <dd><input type="text" name="friendemail" value="" class="inputbox narrow" /></dd>
  </dl>
  <!-- END switch_tell_friend -->
  <dl>
      <dt><label>{L_SUBJECT}</label></dt>
      <dd><input class="inputbox narrow" type="text" name="subject" value="{SUBJECT}" {SUBJECT_READ_ONLY} maxlength="100" /></dd>
  </dl>
  <dl>
      <dt>
        <label>{L_MESSAGE_BODY}</label><br />
        <span class="italic">{L_MESSAGE_BODY_DESC}</span>
      </dt>
      <dd>
        <textarea class="inputbox" name="message" rows="25" cols="40" tabindex="3">{MESSAGE}</textarea>
        <!-- BEGIN switch_tell_friend -->
        <input type="text" class="inputbox" value="{MAIL_LINK}" disabled="disabled" />
        <!-- END switch_tell_friend -->
      </dd>
  </dl>
  <dl>
      <dt> </dt>
      <dd><label><input type="checkbox" name="cc_email" value="1" checked="checked" />{L_CC_EMAIL}</label></dd>
  </dl>
  </fieldset>
  <span class="corners-bottom"><span></span></span></div>
</div>

<div class="panel">
  <div class="inner"><span class="corners-top"><span></span></span>
  <fieldset class="submit-buttons">
      {S_HIDDEN_FIELDS}
      <input class="button1" type="submit" name="submit" value="{L_SEND_EMAIL}" />
  </fieldset>
  <span class="corners-bottom"><span></span></span></div>
</div>
</form>

index_box


Replace this code :
Code:
    <dd class="lastpost">
                                <!-- BEGIN avatar -->
                                <span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
                                <!-- END avatar -->

    <span>
    <!-- BEGIN switch_topic_title -->
    <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
    <!-- END switch_topic_title -->
    {catrow.forumrow.USER_LAST_POST}
    </span>
    </dd>

By this new code :
Code:
<dd class="lastpost">
<!-- 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 -->
                            <span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
                            <!-- END avatar -->

 <span>
 <!-- BEGIN switch_topic_title -->
 <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
 <!-- END switch_topic_title -->
 {catrow.forumrow.USER_LAST_POST}
 </span>
 </dd>


Last update 29/09/2016


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15587
Reputation : 1589
Language : French, English

http://help.forumotion.com

Back to top Go down

Re: Templates for the Classified Ads

Post by Leviosa on October 6th 2016, 11:13 am


Classified ads : Template Modifications inVision Version.


For a better experience of this new feature on your forum, the administrators with a inVision version forum who have modified these templates : viewforum_body, index_box, profile_send_email before the 09/28/2016 must take note of these modifications..

profile_send_email


Replace this code:
Code:
    <fieldset>
      <dl>
          <dt><label>{L_RECIPIENT}</label></dt>
          <dd><input type="text" name="friendname" value="{USER&amp;#8288;NAME}" class="inputbox" /></dd>
      </dl>
      <!-- BEGIN switch_tell_friend -->
      <dl>
          <dt><label>{L_TELL_FRIEND_RECIEVER_EMAIL}</label></dt>
          <dd><input type="text" name="friendemail" value="" class="inputbox" /></dd>
      </dl>
      <!-- END switch_tell_friend -->
      <dl>
          <dt><label>{L_SUBJECT}</label></dt>
          <dd><input class="inputbox" type="text" name="subject" value="{SUBJECT}" maxlength="100" /></dd>
      </dl>
      <dl>
          <dt>
            <label>{L_MESSAGE_BODY}</label><br />
            <span class="normal">{L_MESSAGE_BODY_DESC}</span>
          </dt>
          <dd>
            <textarea class="inputbox" name="message" rows="25" cols="40" tabindex="3">{MESSAGE}</textarea>
            <!-- BEGIN switch_tell_friend -->
            <input type="text" class="inputbox" value="{MAIL_LINK}" disabled="disabled" />
            <!-- END switch_tell_friend -->
          </dd>
      </dl>
      <dl>
          <dt> </dt>
          <dd><label><input type="checkbox" name="cc_email" value="1" checked="checked" />{L_CC_EMAIL}</label></dd>
      </dl>
    </fieldset>

By this new code:
Code:
    <fieldset>
                <!-- BEGIN switch_profile_email -->
                <dl>
                  <dt><label>{L_RECIPIENT}</label></dt>
                  <dd><input type="text" name="friendname" value="{USER&amp;#8288;NAME}" class="inputbox" /></dd>
                </dl>
                <!-- END switch_profile_email -->
                <!-- BEGIN switch_ad_email -->
                <dl>
                  <dt><label>{switch_ad_email.L_YOUR_EMAIL}</label></dt>
                  <dd><input type="text" name="email" value="{switch_ad_email.V_YOUR_EMAIL}" {switch_ad_email.DISABLE_YOUR_EMAIL} class="inputbox narrow" /></dd>
                </dl>
                <dl>
                  <dt><label>{switch_ad_email.L_YOUR_NAME}</label></dt>
                  <dd><input type="text" name="username" value="{switch_ad_email.V_YOUR_NAME}" {switch_ad_email.DISABLE_YOUR_NAME} class="inputbox narrow" /></dd>
                </dl>
                <!-- END switch_ad_email -->
                <!-- BEGIN switch_tell_friend -->
                <dl>
                  <dt><label>{L_TELL_FRIEND_RECIEVER_EMAIL}</label></dt>
                  <dd><input type="text" name="friendemail" value="" class="inputbox" /></dd>
                </dl>
                <!-- END switch_tell_friend -->
                <dl>
                  <dt><label>{L_SUBJECT}</label></dt>
                  <dd><input class="inputbox" type="text" name="subject" value="{SUBJECT}" maxlength="100" {SUBJECT_READ_ONLY} /></dd>
                </dl>
                <dl>
                  <dt>
                      <label>{L_MESSAGE_BODY}</label><br />
                      <span class="normal">{L_MESSAGE_BODY_DESC}</span>
                  </dt>
                  <dd>
                      <textarea class="inputbox" name="message" rows="25" cols="40" tabindex="3">{MESSAGE}</textarea>
                      <!-- BEGIN switch_tell_friend -->
                      <input type="text" class="inputbox" value="{MAIL_LINK}" disabled="disabled" />
                      <!-- END switch_tell_friend -->
                  </dd>
                </dl>
                <dl>
                  <dt>&nbsp;</dt>
                  <dd><label><input type="checkbox" name="cc_email" value="1" checked="checked" />{L_CC_EMAIL}</label></dd>
                </dl>
            </fieldset>

index_box


Add this code:
Code:
<!-- 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 -->

Type the code :
Code:
<td class="row1 centered">{catrow.forumrow.TOPICS}</td>
<td class="row2 centered">{catrow.forumrow.POSTS}</td>
<td class="row1">

And this code :
Code:
<!-- BEGIN avatar -->
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->


Last Update 29/09/2016


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15587
Reputation : 1589
Language : French, English

http://help.forumotion.com

Back to top Go down

Re: Templates for the Classified Ads

Post by Leviosa on October 6th 2016, 11:14 am


Classified ads : Template Modifications punBB Version.


For a better experience of this new feature on your forum, the administrators with a punBB version forum who 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:
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
  <ul>
      <li>
            <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_new('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
        //]]>
        </script>
      </li>
        <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
        <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
        <li><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></li>
  </ul>
  <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->

By this code:
Code:
    <!-- BEGIN switch_user_logged_in -->
    <div id="pun-visit" class="clearfix">
      <ul>
            <!-- BEGIN show_plus_menu -->
          <li>
                <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_new('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
            //]]>
            </script>
          </li>
            <!-- END show_plus_menu -->
            <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
            <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
            <li><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></li>
      </ul>
      <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
    </div>
    <!-- END switch_user_logged_in -->

profile_send_email


Replace this code :
Code:
<fieldset class="frm-set">
 <dl>
 <dt><label>{L_RECIPIENT}</label></dt>
 <dd><input type="text" name="friendname" value="{USER&amp;#8288;NAME}" class="inputbox" /></dd>
 </dl>
 <!-- BEGIN switch_tell_friend -->
 <dl>
 <dt><label>{L_TELL_FRIEND_RECIEVER_EMAIL}</label></dt>
 <dd><input type="text" name="friendemail" value="" class="inputbox" /></dd>
 </dl>
 <!-- END switch_tell_friend -->
 <dl>
 <dt><label>{L_SUBJECT}</label></dt>
 <dd><input class="inputbox" type="text" name="subject" value="{SUBJECT}" maxlength="100" /></dd>
 </dl>

By this code :
Code:
<fieldset class="frm-set">
                <!-- BEGIN switch_profile_email -->
            <dl>
              <dt><label>{L_RECIPIENT}</label></dt>
              <dd><input type="text" name="friendname" value="{USER&amp;#8288;NAME}" class="inputbox" /></dd>
            </dl>
                <!-- END switch_profile_email -->
                <!-- BEGIN switch_ad_email -->
                <dl>
                    <dt><label>{switch_ad_email.L_YOUR_EMAIL}</label></dt>
                    <dd><input type="text" name="email" value="{switch_ad_email.V_YOUR_EMAIL}" {switch_ad_email.DISABLE_YOUR_EMAIL} class="inputbox" /></dd>
                </dl>
                <dl>
                    <dt><label>{switch_ad_email.L_YOUR_NAME}</label></dt>
                    <dd><input type="text" name="username" value="{switch_ad_email.V_YOUR_NAME}" {switch_ad_email.DISABLE_YOUR_NAME} class="inputbox" /></dd>
                </dl>
                <!-- END switch_ad_email -->
            <!-- BEGIN switch_tell_friend -->
            <dl>
              <dt><label>{L_TELL_FRIEND_RECIEVER_EMAIL}</label></dt>
              <dd><input type="text" name="friendemail" value="" class="inputbox" /></dd>
            </dl>
            <!-- END switch_tell_friend -->
            <dl>
              <dt><label>{L_SUBJECT}</label></dt>
              <dd><input class="inputbox" type="text" name="subject" value="{SUBJECT}" {SUBJECT_READ_ONLY} maxlength="100" /></dd>
            </dl>

index_box


Replace this code :
Code:
<td class="tcr">
    <!-- BEGIN avatar -->
      <span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
      <!-- END avatar -->

By this code:
Code:
<td class="tcr">
                            <!-- 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 -->
                            <span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
                            <!-- END avatar -->


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15587
Reputation : 1589
Language : French, English

http://help.forumotion.com

Back to top Go down

Re: Templates for the Classified Ads

Post by OLC CREATORS on October 6th 2016, 5:11 pm

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.

OLC CREATORS
Forumember

Male Posts : 64
Reputation : 12
Language : English

http://www.filmsofindia.net

Back to top Go down

Re: Templates for the Classified Ads

Post by APE on October 6th 2016, 5:26 pm

You can not change the TOS link or it's text sorry





APE
Manager
Manager

Male Posts : 8631
Reputation : 756
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: Templates for the Classified Ads

Post by OLC CREATORS on October 6th 2016, 5:40 pm

@APE wrote:You can not change the TOS link or it's text sorry
Oh... Sad OK Thanks. Smile

OLC CREATORS
Forumember

Male Posts : 64
Reputation : 12
Language : English

http://www.filmsofindia.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum