![]() |
Is there a hack or will someone write one so that you can see the
signature of a user in his profile?? Greetings StarBuG |
Well, this is a start, but it does not do the breaks in the lines. Maybe someone else can figure that part out. :).
In your User Info Display Templates. Open getinfo. Add this anywhere you want. I added it to the bottom of my profile. PHP Code:
To put it at the bottom of the profile, add it right below this. PHP Code:
|
I'd imaging that you'd want to put in member.php somewhere
Code:
$userinfo['signature'] = nl2br($userinfo['signature']); You can read about it at www.php.net/nl2br Kathi |
Hehe! OK!
Thats a Start! Thx But i want also the [img] tag working there! Any suggestions? Greetings StarBuG |
Quote:
|
Nasty cough you got there Chen :P
I didn't know bbcodeparse2() would translate nl2br's :p I'm still trying to figure out how to make Dane/tubedogg's installer work properly for me ;) Can I plead extreme blondeness? :) Kathi |
And how can i implement the signature img??
Greetings StarBuG |
In the modifyoptions template I changed:
<td bgcolor="*secondaltcolor*"><textarea name="signature" rows="6" cols="40">$bbuserinfo[signature]</textarea></td> to <td bgcolor="*secondaltcolor*"><textarea name="signature" rows="6" cols="40">$bbuserinfo[signature]</textarea><p><smallfont><b>Example of your signature:</b></smallfont><p>$signature2<p></td> replace the * with { and } then in member.php I looked for $signature=htmlspecialchars($bbuserinfo[signature]); and then right below this added $signature2=bbcodeparse($bbuserinfo[signature]); This will show them them a preview of their signature including images. Parker |
Quote:
I want the user Sig shown in there profile including there Sig IMG (HTML and vB Code for images!) Greetings StarBuG |
in member.php
Find: Code:
if ($userinfo['receivepm'] and $usergroupperms['canusepm']) { Code:
if($userinfo['showsignatures']) { Figure out where you want the signature to appear, and put there Code:
$userinfo[signature] |
All times are GMT. The time now is 07:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|