PDA

View Full Version : PHP script in signature


josue
Tue 11th Nov '03, 4:02pm
Hello.

I have a question and i cant find anything about it searching.

I want to run this bit of code on my signature (vbulletin v3 B7)


Hi $userinfo[username], is the $foruminfo[title] thread interesting enough?..
Keep reading! it's only <span class="time">$timenow</span>.
<if $userinfo[posts]<50 {Hehe, print '50-$userinfo[posts]' to get free hosting!!} else {Enjoy the hosting!!!}></if> And remember $userinfo[username], we have a 0 spam tolerance!

Im not good with php but thats something i'd like to have as my signature, if i put it between php tags it will only show it as is, samething with code tags...

So, is this possible? Can i have that code in my signature?

Thanks for the help.
josue.

Chroder
Tue 11th Nov '03, 4:10pm
You could hack the bbcode to make custom bbcode. I made it so [username] turned into the username, I'm sure you could do it with the others as well. Other then that, I think your pretty limited.

josue
Tue 11th Nov '03, 4:18pm
OK man. Thanks for the *quick* reply. :)

I will see what i can do with bbcodes. ;) I was just kind of hoping that i could actually run the php code.