The Arcive of vBulletin Modifications Site. |
|
Smilies in user titles Details »»
|
|||||||||||||||||||||||||
This is a very simple, yet fun hack that I made on my site. It allows the user titles to have smilies in them.
Here is the thread view and the profile view of the hack: http://www.ls1.com/forums/showthread...hreadid=110647 http://www.ls1.com/forums/member.php...fo&userid=4112 It is accomplished by adding one line of code to the following files: forumdisplay.php member.php private.php admin/functions.php In forumdisplay.php: Look for the following code: PHP Code:
PHP Code:
Look for the following code: PHP Code:
PHP Code:
Look for the following code: PHP Code:
PHP Code:
Look for the following code: PHP Code:
PHP Code:
![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Nice. I dunno if I'll use it right away (server problems), but nice indeed.
|
|
#3
|
|||
|
|||
|
Is it possible to make it so we can use vBcode in usertitles too? And be able to, through the adminCP disable certain vBcodes from being used?
|
|
#4
|
||||
|
||||
|
Link14716, thank you. You are very kind.
![]() Tha Rock, this hack will allow you to use VBcode in the title. To disable certain VBcodes would require additional coding.
|
|
#5
|
|||
|
|||
|
That's pretty cool. Too bad most admins on my board seem to have an angry attitiude towards smilies. I even had to completely remove them from posts
.
|
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
I can't get them to show up. All I see is the code for the smile next to the name. Ok, Zzed, what am I doing wrong this time?
|
|
#8
|
||||
|
||||
|
Quote:
Can you Email it/them to me at edwink@seebeyond.com?
|
|
#9
|
||||
|
||||
|
I guess I should learn the difference between usertitle and unsername, huh?
My fault. Duhhh!!! (Sorry about that). But there is the user part that is the same. Does that count? ![]() I have 2 additions for you, though. I have the usertitle in the memberlist and on the foumhome. So here is the code I added to those files. In root/memberlist.php Look for the following code: Code:
$userinfo[datejoined]=vbdate($dateformat,$userinfo[joindate]); Code:
$userinfo[usertitle] = htmlspecialchars($userinfo[usertitle]); $userinfo[usertitle]=bbcodeparse($userinfo[usertitle]); In root/index.php Look for the following code: Code:
// get total posts Code:
$bbuserinfo[usertitle] = htmlspecialchars($bbuserinfo[usertitle]); $bbuserinfo[usertitle]=bbcodeparse($bbuserinfo[usertitle]); |
|
#10
|
|||
|
|||
|
Without sounding to stupid.... How do you add the smilies?
|
![]() |
|
|