[solved] Current Signature Divider »  Show posts from    to     

Icy Phoenix


Old Support Topics - [solved] Current Signature Divider



Ghostsearcher [ Tue 28 Jun, 2011 13:38 ]
Post subject: [solved] Current Signature Divider
Hi there!

I got nearly the same question. Well, i wonder about ACP > Configuration > Main Settings > Users
There's the point called "Current Signature Divider" (Control what divides the user's signature from their post)!
But i really can't control, because i want an image instead of plain text.
Tried it out with absolute and relative path, but doesn't works.
Any suggestions to add an image w/o editing php files?
Thank you!

Greetings, Ghostsearcher


TheSteffen [ Fri 01 Jul, 2011 13:41 ]
Post subject: Re: Current Signature Divider
First of all, the Signature Divider is stored in db ip_config -> sig_line "______"

You can not insert there image html or BBCode

A quick way to solve this is this (remember it would be for all users)

OPEN viewtopic.php
FIND
Code: [Hide] [Select]
$user_sig = '<br />' . $config['sig_line'] . '<br />' . $user_sig;

REPLACE WITH
Code: [Hide] [Select]
$user_sig = '<br />' . '<img src="http://www.pfad.de/sig.png" alt="Signatur" title="Signatur" />' . '<br />' . $user_sig;


Ghostsearcher [ Fri 01 Jul, 2011 15:30 ]
Post subject: Re: Current Signature Divider
Hi!

Great! Thanks!
Problem solved.

Greetings, Ghostsearcher


My_PeSePe [ Sat 02 Jul, 2011 23:40 ]
Post subject: Re: [solved] Current Signature Divider
Ghostsearcher wrote: [View Post]
Hi!

Great! Thanks!
Problem solved.

Greetings, Ghostsearcher


Open :

Code: [Hide] [Select]
./template/default/viewtopic_body.tpl


Search :


Code: [Hide] [Select]
<!-- BEGIN switch_showsignatures -->
{postrow.SIGNATURE}
<!-- END switch_showsignatures -->


Replace :

Code: [Hide] [Select]
<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" ><br><center><img border="0" src="http://www.phonesfera.com/images/firma.png"></center><br />{postrow.SIGNATURE}<br></div><!-- ENDIF -->


Example :

spacer

captura


Ghostsearcher [ Sun 03 Jul, 2011 15:18 ]
Post subject: Re: [solved] Current Signature Divider
Hmm, that's a nicer way. I think it's better because of the IF argument.
Thanks for your help!

Greetings, Ghostsearcher


TheSteffen [ Tue 05 Jul, 2011 08:58 ]
Post subject: Re: [solved] Current Signature Divider
Thanks My_PeSePe, thats the better way to solve this.


mort [ Tue 05 Jul, 2011 12:53 ]
Post subject: Re: [solved] Current Signature Divider
TheSteffen wrote: 
First of all, the Signature Divider is stored in db ip_config -> sig_line "______"

You can not insert there image html or BBCode


I don't think that's quite correct as you could try this?

In the ACP find:

Current Signature Divider
This is where you control what divides the user's signature from their post

Clear the box and change to this.

__________________________________________________________________<br /><br /><div align="center"><img src="test.gif" alt="" border="0" /></div>


(Image path is the forum root or adjust to suit and maybe add height and width to the image too. - Don't use semi-quotes ( ' ) for anything unless you comment them out like so \' )

Works for me! - And it sure beats editing Core Files.


This does too!

__________________________________________________________________<br /><br /><div align="center"><a href="http://127.0.0.1/kids/"><img src="test.gif" alt="" /></a></div>


untitled_2




Powered by Icy Phoenix