Version: 1.20, by Hellcat
Developer Last Online: Apr 2014
Version: 3.5.4
Rating:
Released: 12-12-2005
Last Update: 06-12-2006
Installs: 79
Uses Plugins
No support by the author.
Update v1.20
"/me does whatever...." now gets propperly parsed to "* Username does whatever...." as well in the Archive and subscription notification e-mails!
Update v1.10
Quick-Reply didn't work, the raw "/me" was quoted.
Now works fine as well when quoting in Quick-Reply
----------
To update simply uninstall the older product and re-import the updated product XML.
==========
Hi everyone!
Here I present you my vBulletin 3.5.x port of the famous "/me" action :up:
This plugin is based on the original /me action done back in vB2 times
The code is mainly based on the contens of this thread: https://vborg.vbsupport.ru/showthread.php?t=59698
so at least 50% percent of the credits have to go there.
However I've completely rewritten it to fit into vB3.5.x's plugin system and the hooks.
Features of this plugin:
Adds the ability to use the "/me" action in posts and PMs.
Just type "/me waves" to get something like "[high]* Hellcat waves[/high]"
The formatting of the /me text can easiely be customized by editing the BB tag it uses for formatting purpose
The color of the /me text can be customized seperately for every style you have installed, so you always have a color fitting into the currently used style!
This version is actually QUOTE SAFE!
If you quote someone who used the /me you get "* User waves" instead of the raw "/me waves" in your quoted text!
So there will be no messing up when quoting /me's
While editing posts however, you still have the original entered "/me" (except for PMs)
Installation
Painless and easy, no files need to be edited, no files need to be uploaded!
1)
Simply download the product XML from this post, go to your AdminCP -> Product Manager -> Upload/Import Product -> Point it to the XML and hit "GO"
2)
Add the following BB tag via the BB-Code-Manager:
This BB tag is actually used for the /me output, so edit the replacement of this tag to fit your need of the formatting of the /me text.
3) Optional:
For every style you have installed go to Style Manager -> Add Replacement Variable
Variable name:
Code:
mecolor
Variable value: enter any HTML color you like and that fits to the color theme of the style, "#AA0000" for example for a med red.
Using this you can set a different color for the /me for every style.
If you don't want or need to do step 3 you might also want to remove the DIV tag from the HTML makeup (if you don't you have an unparsed {mecolor} in there).
What else?
1) Click "INSTALL" if you use it
2) This can easiely be edited/copied to implement even more actions
3) Post comments and problems here and we try to solve them
4) This has been develloped and tested on vBulletin 3.5.2 but should work under 3.5.0 and 3.5.1 as well.
Have fun!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Any chance of a 3.6.0 update? I just upgraded to Gold, reverted all my templates, and I'm getting a problem when you quote somebody that had used /me. What I get is the username followed by the post number, in the quoted text.
Any chance of a 3.6.0 update? I just upgraded to Gold, reverted all my templates, and I'm getting a problem when you quote somebody that had used /me. What I get is the username followed by the post number, in the quoted text.
i.e. * DaveAK;1234567 has issues with this hack
Anyone else having this problem in 3.6.0? Anyone come up with a fix?
OK, I've fixed it, but I'm not sure it's the best way of doing it.
I added a $originalposternopostid variable into newreply.php and functions_newposts.php
In the plugin manager I changed the preg_replace Quick_Reply instance and the QUOTE instance to use $originalposternopostid instead of $originalposter. I left the isset($originalposter) unchanged.
Comments on this? It works, but have I done it right?
Any chance of a 3.6.0 update? I just upgraded to Gold, reverted all my templates, and I'm getting a problem when you quote somebody that had used /me. What I get is the username followed by the post number, in the quoted text.
i.e. * DaveAK;1234567 has issues with this hack
I would love to use this hack if you can update it for 3.6.2. I used it on my test site and have the same problem as DaveAK. Is there an easier way around it or do we have to hack PHP? DaveAK, can you tell me how to do that?
Also, is there a way to have the hack keep the same color/boldness in the quotes? At least stay bold would be nice. I'm so glad you updated it!!!
The nested rtrim first removes the post ID, then the semi-colon, so that it will work with usernames that end in numbers. No file edits are needed as in my previous attempt posted above.
Note for those that don't know where to apply the above fix:
Go into AdminCP> Plugins & Products> Plugin Manager
Scroll to Product: /me (should be at the top).
Click Edit next to the /me Action (QUOTE instance) and /me action (Quick-Reply instance) lines and REPLACE the Plugin PHP code with the code from above.