Moderator: Integra Moderator
<td><span>{postrow.SIGNATURE}</span></td>
<td><span><a></a>{postrow.AUTHOR_PANEL}
<tr> <td><br><span>{postrow.SIGNATURE}</span></td> </tr> </table> </td>
"Okki";p="1467" wrote:When there is no signature, there is one white line to much.
"Mighty07";p="1465" wrote:...looking for another mod. One that would limit the size of the images in the signature. When users use an external image.
I got some that the image is bigger than the post box! <img>
"Okki";p="1509" wrote:Have you tried this one
http://integramod.com/forum/postings_popup.php?t=191
I was thinking it works, else i would not have posted it?
<td><span>{postrow.SIGNATURE}</span></td>
if ( $user_sig != '' && $userdata['user_allowsignature'] != 0 ) { $user_sig = '_________________<br>' . str_replace("n", "n<br>n", $user_sig); } else $user_sig = '';
"Eon";p="1565" wrote:I did that one time and it did not change anything.
Also, that code appears in more than one file I have noticed..
"Jason Sanborn";p="1588" wrote:I thought of that as well, and that was what I was originally going to post, but it looked like the str_replace() was needed to handle the line breaks in the signature.
<BEGIN><BEGIN><tbody id="post_{postrow.POST_ID}" style="display]
REPLACE WITH:[code]<BEGIN><BEGIN><tbody id="post_{postrow.POST_ID}" style="display]
OPEN: viewtopic.php
FIND:[code]if ( $user_sig != '' && $userdata['user_allowsignature'] != 0 ) { $user_sig = '_________________<br>' . str_replace("n", "n<br>n", $user_sig); } else $user_sig = '';[/code]
REPLACE WITH]if ( $user_sig != '' && $userdata['user_allowsignature'] != 0 ) { $user_sig = str_replace("n", "n<br>n", $user_sig); } else $user_sig = '';
<td><a><img></a>{L_POSTED}]
REPLACE WITH:[code]<td><h2>{postrow.POST_SUBJECT}</h2><a><img></a>{postrow.POST_DATE}</td>
if ( $user_sig != '' && $userdata['user_allowsignature'] != 0 ) { $user_sig = '_________________<br>' . str_replace("n", "n<br>n", $user_sig); } else $user_sig = '';
if ( $user_sig != '' && $userdata['user_allowsignature'] != 0 ) { $user_sig = str_replace("n", "n<br>n", $user_sig); } else $user_sig = '';
<BEGIN> <tbody> <END> <tr> <td><span><a></a>{postrow.AUTHOR_PANEL} <img> </span> </td> <td> <table> <tr> <Start> <form> <End> <td><a><img></a>{L_POSTED}: {postrow.POST_DATE} {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</td> <td>{postrow.QUOTE_IMG}{postrow.EDIT_IMG}<a><img></a>{postrow.DELETE_IMG}{postrow.IP_IMG}{postrow.U_R_CARD}{postrow.U_Y_CARD}{postrow.U_G_CARD}{postrow.U_B_CARD}{postrow.CARD_EXTRA_SPACE}{postrow.CARD_HIDDEN_FIELDS} </td> <Start> </form> <End> </tr> </table> <table> <tr> <td> <hr> <div>{postrow.MESSAGE}</div> </td> </tr> <tr> <td>{postrow.ATTACHMENTS}<span>{postrow.EDITED_MESSAGE}</span></td> </tr> <tr> <td><br> <span>{postrow.SIGNATURE}</span> </td> </tr> </table> </td> </tr> <BEGIN>
<BEGIN> <tbody> <END> <tr> <td><span><a></a>{postrow.AUTHOR_PANEL}<img></td> <td> <table> <tr> <Start> <form> <End> <td><a><img></a>{L_POSTED}: {postrow.POST_DATE} {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</td> <td>{postrow.QUOTE_IMG}{postrow.EDIT_IMG}<a><img></a>{postrow.DELETE_IMG}{postrow.IP_IMG}{postrow.U_R_CARD}{postrow.U_Y_CARD}{postrow.U_G_CARD}{postrow.U_B_CARD}{postrow.CARD_EXTRA_SPACE}{postrow.CARD_HIDDEN_FIELDS} </td> <Start> </form> <End> </tr> </table> <table> <tr> <td> <hr> <div>{postrow.MESSAGE}</div> </td> </tr> <tr> <td>{postrow.ATTACHMENTS}<span>{postrow.EDITED_MESSAGE}</span></td> </tr> </table> </td> </tr> <tr> <td><span>{postrow.SIGNATURE}</span></td> </tr> <BEGIN>
<td><span>{postrow.SIGNATURE}</span></td>
<td><span>{postrow.SIGNATURE}</span></td>
Registered users: App360MonitorBot, Bing [Bot], Google [Bot]