Log in

View Full Version : 'your_signature' phrase


051119
07-15-2008, 07:13 PM
I want to edit the phrase which appears above the signature edit box in the UserCP to include a reminder to users to ensure their signature complies with our rules.

I've found that this is in the your_signature phrase. If I edit this phrase, will it change the text on any other page, or just above the box in /profile.php?do=editsignature?

Many thanks.

Opserty
07-15-2008, 07:43 PM
If you change a phrase it will cause the text to change anywhere else you use it. It would probably be better to edit the template instead.

To find the template name turn on: AdminCP > vBulletin Options > vBulletin Options > General Settings > Template Names in HTML source (or something like that).

Then when you are on the Edit Signature page, Right-click > View Source and find the appropriate template name.

051119
07-16-2008, 03:38 PM
Many thanks for your reply!

Just to update, incase anyone else wants to do this, I created a new phrase called your_signature_rulesreminder with the message in bold which I wanted to display.

In the parent styles, under 'Modify User Option Templates,' go to 'modifysignature.' Then find
<!-- message area -->
<div class="smallfont">$vbphrase[your_signature]:</div>
$messagearea
<!-- / message area -->
and replace it with
<!-- message area -->
<div class="smallfont">$vbphrase[your_signature_rulesreminder]</div><br />
$messagearea
<!-- / message area -->