![]() |
"/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!
|
for some reason the color stays the default post color. any ideas how to make it work?
|
Quote:
And is the name the same as given in the BB code? |
oops had it '{mecolor}' for the bbcode. but just 'mecolor' as replacement variable.
|
Smurfin' awesome. Thanks for sharing! :)
|
Quote:
|
Quote:
www.SITE.com/media/file the /me in media would fook up the url with the id busting in. :/ lol great stuff!! ps. important side question....do you know how a search engine spider would read it? as "/me" or as "GrendelKhan{TSU"?? |
The search engine would also see the "* User does something" instead of the "/me does something"
In the Searchengine friendly Archive it'll be the "/me" I'd guess.... |
My first install! Thanks for making it easy. :)
|
[high]* Wolf42 clicks install.
[/high] After some troubles with the raplacement variables I got it to work. Thx for sharing. ;) |
Thx!! This fixed up the code and quote block problems we were having with the ABD version!!
HYN! |
Quote:
But it doen't work well when quoting in quick reply... |
Quote:
I'll check that out and see if QR can be tweaked :) |
this one is better than what i had before, earlier the /me wud mess up my url's
deactivated the old one and installed this.. i dont see the same problem thanks :) |
Quote:
See initial post, I already uploaded the new product XML. Post here if there are still problems, but in my tests quick-reply quoting worked now :) |
Yep, it works great now :)
Thanks for your support. |
Installed and works great :)
The only thing is that, my forum uses the "Backlink for quotes" hack, and, when I quote a "/me", I get *Username;postnumber and message* |
|
Niceness. I am so using this :)
|
Yesyes, even the old and tiny things get an update from time to time :)
Now, this /me also works - In the Archive - In subscription notification emails Have fun :) |
hmm strange when I use this I get [me]* username action[/me]
Any idea what might be up? |
the [me] is the BBcode used for the formatting of the action code.
It should only be exposed in PMs since in quotes it's not used and when editing the raw "/me" shows up :) |
Quote:
And excellent update, Hellcat, sir. ;) [high]* Boofo runs off to see where else he can break this[/high] |
Quote:
|
Quote:
|
It only does it when I do Manage Products
I installed "moderator_stats_1_3" plugin before. |
Have you tried disabling that product and then doing the bbcode?
|
Ok, it's fine now when I disabled that....weird.
|
Quote:
|
/me installs
|
/me installs
|
All times are GMT. The time now is 07:14 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:
|