The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Is there a hack or will someone write one so that you can see the
signature of a user in his profile?? Greetings StarBuG |
#2
|
||||
|
||||
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:
|
#3
|
|||
|
|||
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 |
#4
|
||||
|
||||
Hehe! OK!
Thats a Start! Thx But i want also the [img] tag working there! Any suggestions? Greetings StarBuG |
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
Nasty cough you got there Chen :P
I didn't know bbcodeparse2() would translate nl2br's I'm still trying to figure out how to make Dane/tubedogg's installer work properly for me Can I plead extreme blondeness? Kathi |
#7
|
||||
|
||||
And how can i implement the signature img??
Greetings StarBuG |
#8
|
|||
|
|||
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 |
#9
|
||||
|
||||
Quote:
I want the user Sig shown in there profile including there Sig IMG (HTML and vB Code for images!) Greetings StarBuG |
#10
|
|||
|
|||
in member.php
Find: Code:
if ($userinfo['receivepm'] and $usergroupperms['canusepm']) { Code:
if($userinfo['showsignatures']) { $userinfo['signature'] = bbcodeparse($userinfo['signature'],0,$allowsmilies); } Figure out where you want the signature to appear, and put there Code:
$userinfo[signature] |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|