![]() |
/me code Version 3
Updated version 2.00 thanks to buro9!
Updated version 3.00 thanks to Edgewize! New in version 3.00: Correct parsing in quotes, private messages etc. Okay, this is the famous /me code first created by Chen. All credits go to him. I'm just putting up instructions on how to do this in vB3. It's very easy. Typing "/me is great!" gives you this: * Erwin is great! You make changes to THREE php files only. 1. Copy this piece of code: Change "red" to whatever color you want. PHP Code:
Find: PHP Code:
3. Open newreply.php Find: In 3.0.6 or less: PHP Code:
PHP Code:
4. Lastly, open private.php Find: PHP Code:
Done! ;) |
/me will click install as soon as he installs it! Should be tonight or tommorw!
/you ... what does this do? |
absolutely nothing :p
sweet! thanks for porting it over Erwin! [high]* MGM clicks install [/high] MGM out |
nice little mod, thanks fella :)
|
[high]* Koutaru clicks install.
[/high] I'll definately be using this one :) thanks for releasing |
Been waiting for this one, my friend. ;) Good job!
|
|
/me clicks install too....
|
Simple, easy. Just the way i like it. Thanks.
|
Nice and easy. Thanks, Erwin.
|
I've heard of Erwin being nice but I know for sure he ain't easy! ;)
|
Quote:
One question, is this supposed to work with quoted post? http://www.neocorteqz.com/images/metest.png |
Yes it should. Did you do step 2? This hack only has problems when you try to edit a post with /me in it - then it stuffs up.
|
/me bows to Erwin in reverence
*install |
Quote:
Yep, unless there is more than one spot that code is in.. Code:
$pagetext = trim(strip_quotes($pagetext)); edit: It works when the "/me" code is placed before the quote tags. And to clarify, this is the only hack i am using. :) |
A classic in my opinion - even though I seem to be the only person using it on my site. Thanks for the effort Erwin.
|
Quote:
[high]* xxskullxx thinks Boofo read too much into that comment[/high] |
Quote:
Yeah, it only seems to work for me when /me is on the first line of my post. |
/me clicked install to!
Great hack XD my members are all IRC addicts so they'll love this! |
Yep works fine, just isnt quotable
|
[high]* Koutaru testing before quote
[/high] [high] Quote:
Just testing ;) ... :p I guess not! [high]* Koutaru testing after quote [/high] never mind then! Actually, if you put /me in quotes when it hasn't already been said (already been converted in the original post) then it doesn't work. Then again.. I guess it's not supposed to anyway :p |
Quote:
|
Did you fix it Erwin :D
|
Erwin, will this work in pms now, too, sir?
|
It works anywhere BBCode is used by the looks of it.
|
Quote:
|
Quote:
|
[high]* Repec clicks install
[/high] I just love this irc addition :D |
Quote:
|
Quote:
|
[high]* BBQ clicks install :D
[/high] i don't care if it works in quotes, peepz quote too much anyway, mostly useless and it's supposed to be used when you start a new line! it's the goold old IRC action command simulated in vbb. |
The /me has to be at the start of a separate line. Is this what you mean?
/me tests... |
simple, yet good.
any changes from vb2? |
Quote:
|
Let's see...
/me enjoys Pinnacle, whatever the hell that is |
Ah, I think it only doesn't work when using the WYSIWYG editor unless it's on the very first line of your post. It works fine when used on the standard editors, though.
|
Let me try...
/me testing... |
Weird...
|
No edit a post with the wysiwyg message mode and it will lose the username
watch. Hmm it works here. :-/ But on my site is i edit a post thats using /me text here you end up with * text here on the edit page not * eXtremeTim text here or * Username text here * eXtremeTim is testing the editing on vb.org of /me |
Lets see if this does the same thing here as test forum...
/me is cool |
All times are GMT. The time now is 04:50 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:
|