The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
2 posters

    How to replace signature

    Sara♥
    Sara♥
    Forumember


    Female Posts : 39
    Reputation : 1
    Language : English
    Location : Paradise

    In progress How to replace signature

    Post by Sara♥ August 16th 2014, 10:06 pm

    Hello all! i would like to know if its possible, to make signatures of users go under that avatar[red line over here]

    -> 
    How to replace signature E96oli
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: How to replace signature

    Post by Ange Tuteur August 17th 2014, 12:00 am

    Hello Sara,

    Go to Administration Panel > Display > Templates > General > viewtopic_body

    Find and remove :
    Code:
    <!-- BEGIN switch_signature -->
     <div class="signature_div">
     {postrow.displayed.SIGNATURE}
     </div>
     <!-- END switch_signature -->

    Find :
    Code:
    <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
     <span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
     <span class="postdetails poster-profile">
     {postrow.displayed.POSTER_RANK}<br />
     {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
     <!-- BEGIN profile_field -->
     {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
     <!-- END profile_field -->
     {postrow.displayed.POSTER_RPG}
     </span><br />
     <img src="http://2img.net/i/fa/empty.gif" alt="" style="width:150px;height:1px" />
     </td>

    Replace by :
    Code:
    <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
     <span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
     <span class="postdetails poster-profile">
     {postrow.displayed.POSTER_RANK}<br />
     {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
     <!-- BEGIN profile_field -->
     {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
     <!-- END profile_field -->
     {postrow.displayed.POSTER_RPG}
     <!-- BEGIN switch_signature -->
     <div class="signature_div">
     {postrow.displayed.SIGNATURE}
     </div>
     <!-- END switch_signature -->
     </span><br />
     <img src="http://2img.net/i/fa/empty.gif" alt="" style="width:150px;height:1px" />
     </td>

    Save and publish. thumright


    So your profiles don't get stretched by large images you can add a scrollbar with the following CSS rule. Add it to Display > Colors > CSS stylesheet only if you want to add a scrollbar.
    Code:
    .signature_div {
      width:150px;
      overflow:auto;
    }
    Sara♥
    Sara♥
    Forumember


    Female Posts : 39
    Reputation : 1
    Language : English
    Location : Paradise

    In progress Re: How to replace signature

    Post by Sara♥ August 17th 2014, 12:12 am

    This is the outcome Sad Reply comes on to the right side -.-
    How to replace signature Opogt0
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: How to replace signature

    Post by Ange Tuteur August 17th 2014, 12:15 am

    Did you add this to your CSS ?
    Code:
    .signature_div {
      width:150px;
      overflow:auto;
    }
    Sara♥
    Sara♥
    Forumember


    Female Posts : 39
    Reputation : 1
    Language : English
    Location : Paradise

    In progress Re: How to replace signature

    Post by Sara♥ August 17th 2014, 4:44 am

    oohh nono LOL oops i think i didnt explain it quite well XD i meant i wanted signature to be where it is, under the message of a post by user, BUT i want it to be under the Locations,Age and stuff Very Happy here->
    How to replace signature 35id8o9
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: How to replace signature

    Post by Ange Tuteur August 17th 2014, 6:14 am

    Go to Templates > General > viewtopic_body

    Find and remove :
    Code:
    <!-- BEGIN switch_signature -->
     <div class="signature_div">
     {postrow.displayed.SIGNATURE}
     </div>
     <!-- END switch_signature -->

    Find :
    Code:
    <tr class="post--{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
     <td class="{postrow.displayed.ROW_CLASS} browse-arrows"{postrow.displayed.THANK_BGCOLOR} align="center" valign="middle" width="150">
     <a href="#top">{L_BACK_TO_TOP}</a>&nbsp;<a href="#bottom">{L_GOTO_DOWN}</a>
     </td>
     <td class="{postrow.displayed.ROW_CLASS} messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">
     <table border="0" cellspacing="0" cellpadding="0">
     <tr>
     <td valign="middle">
     {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
     </td>
     </tr>
     </table>
     </td>
     </tr>

    Replace by :
    Code:
    <!-- BEGIN switch_signature -->
    <tr>
    <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} colspan="2">
     <div class="signature_div">
     {postrow.displayed.SIGNATURE}
     </div>
    </td>
    </tr>
     <!-- END switch_signature -->
     <tr class="post--{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
     <td class="{postrow.displayed.ROW_CLASS} browse-arrows"{postrow.displayed.THANK_BGCOLOR} align="center" valign="middle" width="150">
     <a href="#top">{L_BACK_TO_TOP}</a>&nbsp;<a href="#bottom">{L_GOTO_DOWN}</a>
     </td>
     <td class="{postrow.displayed.ROW_CLASS} messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">
     <table border="0" cellspacing="0" cellpadding="0">
     <tr>
     <td valign="middle">
     {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
     </td>
     </tr>
     </table>
     </td>
     </tr>

    Save and publish.


    Make sure to remove that old CSS rule.

      Current date/time is November 14th 2024, 12:43 pm