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.

How to replace signature

2 posters

Go down

In progress How to replace signature

Post by Sara♥ Sat Aug 16, 2014 9: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
Sara♥
Sara♥
Forumember

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

http://www.merchantmu.rigala.net

Back to top Go down

In progress Re: How to replace signature

Post by Ange Tuteur Sat Aug 16, 2014 11:00 pm

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;
}
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: How to replace signature

Post by Sara♥ Sat Aug 16, 2014 11:12 pm

This is the outcome Sad Reply comes on to the right side -.-
How to replace signature Opogt0
Sara♥
Sara♥
Forumember

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

http://www.merchantmu.rigala.net

Back to top Go down

In progress Re: How to replace signature

Post by Ange Tuteur Sat Aug 16, 2014 11:15 pm

Did you add this to your CSS ?
Code:
.signature_div {
  width:150px;
  overflow:auto;
}
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: How to replace signature

Post by Sara♥ Sun Aug 17, 2014 3: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
Sara♥
Sara♥
Forumember

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

http://www.merchantmu.rigala.net

Back to top Go down

In progress Re: How to replace signature

Post by Ange Tuteur Sun Aug 17, 2014 5: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.
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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