![]() |
/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 *
|
[high]* Tungsten has been toying with this for a while now -- Firefly ROCKS! :D[/high]
|
Can you make this color changeable with different styles. Cause I have more than 1 style, and yellow goes good with my dark style, but not my light style. Maybe add a place for it in the sytles/colors area of admin cp.
/me is surprised by Firefly's new avatar |
it uses { timecolor} by default. You surely have ONE replacement-color that you can use in all your styles?
|
[high]* WallStreat is trying it :)[/high]
|
[high]* KuraFire thinks this rocks :)
[/high] *installed* |
/me thinks it's already installed on vbulletin.org
|
Quote:
|
/me dances
|
/me likes toast
|
/me created a monster
Anyway, Velocd, use {timecolor} (i.e without the spaces around { and }). |
/me sees what going on now!
|
/me likes this Hack!!!
This is great FireFly... It is something all of our Members love to annoy each other with! Perfecto! Satan |
[high]* neo Likes Chens Avatar :p[/high]
|
[high]* CeleronXL Installed.
[/high] Works great. :p |
[high]* Chris M will install when he sees people stop using the /me hack...
[/high] /me's alter-ego slaps hellsatan round the face... [high]* Chris M decides to get right on it!:D [/high] Satan |
[high]* JulianD thinks this hack is fun as hell :p[/high]
|
/me knows this is already out of hand :\
|
[high]* DWZ installs hack
[/high] umm... I dont know if its my colors, but It looks bright green on my forums... anyway to change that? http://www.consoleradar.com/forums/s...id=385#post385 |
/me Loves it =)
|
Quote:
|
Quote:
[/high] however is easy to fix it... do this: find: PHP Code:
PHP Code:
|
this is wierd? why it shows large font in the post above?
Quote:
|
just tried that nakkid...
But it comes up like this on my forum: Quote:
Code:
/me tests new hack Any ideas? |
Code:
if ($dome) { |
nakkid, if it works on 2.2.5 it doesnt on 2.0.3
|
[high]* Mark Hewitt slaps FireFly around a bit with a large trout :D[/high]
|
Quote:
[high]* nakkid waits for firefly to hit him with the illogic bat... :)[/high] |
[high]* Chris M thinks that nakkid has a point, and awaits FireFly's repsonse...
[/high] /me's alter-ego agrees wholeheartedly... :D I would say it would not, but if you do try it, make sure you backup the files you edit! Satan |
Ok, fixed the bug, see post #1 for the fix.
It invloves editing newreply.php, BTW. Nakkid, I'd love to tell you what's wrong but I really don't know what you tried to do with your code... what's that $bbcodeid variable? |
Quote:
thanks :) EDIT: been having a look, and im finding that when someone replies, it will say the person who original said, did that thing, but all the color is gone... you follow? this is what i mean: http://www.consoleradar.com/forums/s...id=399#post399 the post above that is what i said to start off with... Now, I also just tested PMs, its basically the reverse, I have the original problem with it saying the person who wrote the reply is doing the action, yet it is in color. |
All times are GMT. The time now is 04:46 PM. |
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:
|