![]() |
"/me action" port for vB3.5.x
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 :p 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! |
Very nice
/me clicks install |
sorry to break your fun: (compared to these ???)
https://vborg.vbsupport.ru/showthread.php?t=93171 https://vborg.vbsupport.ru/showthread.php?t=98549 |
Whooops....
[high]* Hellcat shuts up [/high] I searched a day for "/me" but didn't find those :( And the thread about the 3.0.x /me didn't have a refference as well :( Nah.... so there's one more. :) |
Well, the major benefit this hack has is that it is coded for 3.5.2 and is quote safe.
P.S. Just want to get a pet hate off my chest (seeing one of the other hacks still in beta). I realise that hack authors generally release their work for free (so I should shut the hell up), but it can be slightly annoying when a very cool hack gets released with bugs in it and then never gets updated so it never gets used. Such a waste of a great idea and good code. |
One question... Does this allow /me to be used within a sentence without messing it up? For instance a link...
http://www.test.com/memo/ |
Quote:
I already posted a few posts with that where the "/me" accours somwhere in the text. It's supposed to only parse the "/me" if it's at the very beginning of a line. |
Quote:
btw, i was posting the links to "compare" like said... and this is good to not shuffle the /me everywhere... BUT,,, would be COOOOOLER if it can parse a sentence, like : this is good. /me click install. and i'll be happy! ...i know it's a bit more complicated, use 2 regex more... but anyway, this is a idea for a addon.. lol |
Quote:
|
Lovely!
|
All times are GMT. The time now is 03:48 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:
|