The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
"/me action" port for vB3.5.x Details »» | |||||||||||||||||||||||||
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:
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: BB tag name: Code:
me Code:
<div style="color: {mecolor};"><strong><em>{param}</em></strong></div> 3) Optional: For every style you have installed go to Style Manager -> Add Replacement Variable Variable name: Code:
mecolor 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
|
Comments |
#62
|
||||
|
||||
I always liked this little hack thank you
|
#63
|
|||
|
|||
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 |
#64
|
|||
|
|||
Quote:
|
#65
|
|||
|
|||
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? |
#66
|
||||
|
||||
Quote:
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!!! |
#67
|
|||
|
|||
Got it working for 3.6.x Had to change the PHP code for the QUOTE and Quick_Reply instances to the following :
PHP Code:
|
#68
|
||||
|
||||
Thank you so much, DaveAK. You are so kind!
|
#69
|
|||
|
|||
Awesome, thanks for the fix for quotes.
Confirmed working (with the above fix) on 3.6.5 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. |
#70
|
|||
|
|||
is there anyway to add this to the quickreply?
|
#71
|
||||
|
||||
/me installs on 3.6.8 works great thanks
and the members rejoice |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|