Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
"/me action" port for vB3.5.x Details »»
"/me action" port for vB3.5.x
Version: 1.20, by Hellcat Hellcat is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

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:

BB tag name:
Code:
me
BB tag replacement:
Code:
<div style="color: {mecolor};"><strong><em>{param}</em></strong></div>
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.

Comments
  #22  
Old 01-03-2006, 07:49 PM
S@NL - BlackBik's Avatar
S@NL - BlackBik S@NL - BlackBik is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SuperFly
Very nice

[high]* SuperFly clicks install[/high]
Me too

But it doen't work well when quoting in quick reply...
Reply With Quote
  #23  
Old 01-04-2006, 11:38 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by S@NL - BlackBik
Me too

But it doen't work well when quoting in quick reply...
Hmm.... TBH never tried that so far....
I'll check that out and see if QR can be tweaked
Reply With Quote
  #24  
Old 01-05-2006, 01:37 AM
sidekick sidekick is offline
 
Join Date: Dec 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 01-12-2006, 12:09 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by S@NL - BlackBik
But it doen't work well when quoting in quick reply...
I added support for Quick-Reply
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
Reply With Quote
  #26  
Old 01-12-2006, 05:17 PM
S@NL - BlackBik's Avatar
S@NL - BlackBik S@NL - BlackBik is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, it works great now
Thanks for your support.
Reply With Quote
  #27  
Old 01-12-2006, 09:12 PM
Dreiko's Avatar
Dreiko Dreiko is offline
 
Join Date: Nov 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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*
Reply With Quote
  #28  
Old 03-06-2006, 11:10 PM
curry684 curry684 is offline
 
Join Date: Feb 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wonderful, now running on my forum

[high]* curry684 rejoices![/high]
Reply With Quote
  #29  
Old 03-07-2006, 04:13 AM
senkin senkin is offline
 
Join Date: Dec 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Niceness. I am so using this
Reply With Quote
  #30  
Old 05-16-2006, 10:21 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #31  
Old 05-16-2006, 10:53 PM
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Location: Glasgow, Scotland
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm strange when I use this I get [me]* username action[/me]

Any idea what might be up?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08487 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete