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.
This doesn't seem to working when previewing a PM and doesn't work in the show_pm. It works great in the quote pm, though. Also, if I use other fonts for this, it doesn't seem to work. The link below will show you the testing thread for this.
Any idea how to fix the pm stuff and the different font stuff?
i updated my post with a fix for the pm previews.
i'm assuming that you're using font tags around the /me text. if you're using my code then it'll never work because the /me part isn't the first thing on the line. you'll have to use one of the preg changes i gave you erlier. i'm using my own hack verbatum so i'm not going to test that. if you do change it you'll have to watch for conflicts in the code thats being replaced. if you have one tag that changes the font inside another font tag, the inside one will take over.
Using that preg_replace you posted didn't fix it. It still doesn't work with other fonts for me. And it STILL doesn't work in the show_pm. When viewing a pm with the /me code, you see the /me code. It works great in preview mode and quoting a private message, but not viewing a private message from someone who has the /me code in it. Does that make any sense?
maybe i'm an idiot, but i'm trying to install this on vb3 gold and I when i use find on either dreamweaver or wordpad, i can't find
Code:
$pagetext = trim(strip_quotes($pagetext));
in newreply.php. Am i retarded or can you tell me what line it's on? i think it's me though, because when i scroll down the file in Dreamweaver, if i search for just pagetext, it doesn't find it, but i can see the word pagetext right there in the file. it's pissing me off, but that's what you get for trying to install a hack at 1:30 in the morning.
maybe i'm an idiot, but i'm trying to install this on vb3 gold and I when i use find on either dreamweaver or wordpad, i can't find
Code:
$pagetext = trim(strip_quotes($pagetext));
in newreply.php. Am i retarded or can you tell me what line it's on? i think it's me though, because when i scroll down the file in Dreamweaver, if i search for just pagetext, it doesn't find it, but i can see the word pagetext right there in the file. it's pissing me off, but that's what you get for trying to install a hack at 1:30 in the morning.
If anyone is having trouble with my original hack_me.php version posted a few pages back, then I'm at a loss. It must be a conflict with another poorly written hack because all that my code does is insert code tags before and after the /me line, as if they were typed by the user himself. There is no way that vB tags can cause a post or a thread to just 'disappear' unless some custom change has been made to the bbcode parser.
For the record, the original hack_me version that I posted in this thread works fine for my vB 3.0 Gold sites.