The Arcive of vBulletin Modifications Site. |
|
/me vB Code Details »»
|
|||||||||||||||||||||||||
Here's a another not-very-useful-yet-fun hack.
![]() It's very simple, it just mimics IRC's /me action. So if you type this: /me runs fast (note: it must be on its own line!) It will become: [high]* FireFly runs fast [/high] It parses this code in showthread.php and private.php, only. After you install the hack, find this line in functions.php: Code:
$bbcode = preg_replace('#^/me (.*)$#im', "<font color=\"{timecolor}\">* $post[username] \\1</font>", $bbcode);
Forgot to mention, you must install this fix by smachol: https://vborg.vbsupport.ru/showthrea...threadid=35894 For this hack to work! (thanks Kura for reminding me) READ: To fix the bug where users who quote other people get the /me tag messed up, replace this code in newreply.php: Code:
$pagetext = preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext);
Code:
$pagetext = preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext);
$pagetext = preg_replace('#^/me(.*)$#im', "* $originalposter\\1", $pagetext);
Enjoy! ![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
A text version of the installation file.
|
|
#3
|
||||
|
||||
|
I don't get this hack, lol
|
|
#4
|
||||
|
||||
|
Thanks FireFly!!
[high]* NTLDR thinks I will be installing when I get home [/high]
|
|
#5
|
||||
|
||||
|
CHAMPION!
![]() [high]* ForKmaN installs[/high] |
|
#6
|
||||
|
||||
|
/me considers the install
kinda fun! |
|
#7
|
|||
|
|||
|
[high]* Floris will install this later on
![]() [/high] Very nice FireFly, saved me the time to create it, since I have this on my ToDo list for a while already :P |
|
#8
|
|||
|
|||
|
/me is the biggest pimp in the world...nice hack
|
|
#9
|
||||
|
||||
|
Nice one. I was actually gonna do this one this evening, but I guess I can go grab some beers instead
|
|
#10
|
||||
|
||||
|
/me falls down *
|
![]() |
|
|