![]() |
/me vB Code
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); Enjoy! :) |
A text version of the installation file.
|
I don't get this hack, lol
|
Thanks FireFly!!
[high]* NTLDR thinks I will be installing when I get home :D[/high] |
CHAMPION! :)
[high]* ForKmaN installs[/high] |
/me considers the install
kinda fun! |
[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 |
/me is the biggest pimp in the world...nice hack
|
Nice one. I was actually gonna do this one this evening, but I guess I can go grab some beers instead :p
|
/me falls down *
|
All times are GMT. The time now is 12:32 AM. |
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:
|