Version: 3.00, by Erwin
Developer Last Online: May 2013
Version: 3.0.7
Rating:
Released: 01-04-2004
Last Update: Never
Installs: 200
No support by the author.
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.
There is still one small problem. The link below is how it looks now. The first post still has a problem if there is a line of text before it for some reason. Otherwise, it works great!
Also, you need to add color to the second line in the hack_php.file for quoting the pms. If there is no color in there, the quoted pms don't show color (as you are replying to the message).
I think that in your second line, the font is changing between the / and the "me". Not sure if I can really support that. Just don't do it! *grin*
As for the color, I actually like it better when the quoted lines don't have color, because in my postbit it looks confusing (at a glance, its hard to tell if the /me belongs to the quoted post or the reply). You can always change the preg_replace line to put the [color] back in, as you've done
I think that in your second line, the font is changing between the / and the "me". Not sure if I can really support that. Just don't do it! *grin*
You were right. That's what it was doing. I fixed it and all is well now. Thank you again, sir. This is by far the greatest addition to this hack there ever has been. Excellent job!
EDIT I did notice that when you go to edit the post, it parses the default font line but not the rest. Like this:
Quote:
Let's see if this works
/ me is testing with the Comic Sans Font
/ me is testing with the Centurt Gothic Font
* Boofo is testing the default font
/ me is testing with the Garamond Font (size 3)
Shouldn't it work the same way for all of them? (I had to add a space between the / and the me here to show you what it looks like in edit mode on my site or it would parse it here. It looks just like that but without the spaces I added here.)
Shouldn't it work the same way for all of them? (I had to add a space between the / and the me here to show you what it looks like in edit mode on my site or it would parse it here. It looks just like that but without the spaces I added here.)
Yeah. This is a weird one, I can't reproduce it; working fine on my board. Maybe you left in one of the lines from the original hack by Erwin? As you said, there's no reason that it should detect it properly for display but not on the quote page. It's the same preg_match expression :/
You could have made it easier and linked to your last post, it was a bit tough to find :/ If the problem is still that the /me is lost on editing, try switching to my modified version of this hack instead: