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
  #92  
Old 12-04-2008, 06:22 PM
scville scville is offline
 
Join Date: Oct 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me installed!
Reply With Quote
  #93  
Old 05-14-2011, 06:06 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me curious
Reply With Quote
  #94  
Old 06-18-2011, 03:18 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a modification like this for vb4?
Reply With Quote
  #95  
Old 06-19-2011, 12:17 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Octavius. View Post
Is there a modification like this for vb4?
This is working fine for me on 4.0.8... will probably work on all 4.x as is.
Reply With Quote
  #96  
Old 06-19-2011, 12:51 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me test
Reply With Quote
  #97  
Old 06-19-2011, 12:56 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works in vb4.1.4 but it is black and bold instead of red and normal on vb3.
Reply With Quote
  #98  
Old 06-19-2011, 09:10 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Octavius. View Post
It works in vb4.1.4 but it is black and bold instead of red and normal on vb3.
The mod instructions tell you how to setup a replacement variable so you can set a color per style.

Otherwise if you just want the same color across all styles just set the color in the ME BBCode replacement text. <div style="color:red;">{param}</div> instead of what is there. Actually I'd think <span> is probably a better choice than <div> anyway.

Code:
<span style="color:red;">{param}</span>
Reply With Quote
  #99  
Old 06-19-2011, 02:37 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
The mod instructions tell you how to setup a replacement variable so you can set a color per style.

Otherwise if you just want the same color across all styles just set the color in the ME BBCode replacement text. <div style="color:red;">{param}</div> instead of what is there. Actually I'd think <span> is probably a better choice than <div> anyway.

Code:
<span style="color:red;">{param}</span>
Replacement text didn't work. Thanks anyway. Changing it to span.
Reply With Quote
  #100  
Old 09-02-2011, 04:29 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me wonders if this still works on vbulletin.org
Reply With Quote
  #101  
Old 12-07-2011, 01:37 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

Works as a charm on 4.1.8
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 01:08 AM.


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.07375 seconds
  • Memory Usage 2,317KB
  • Queries Executed 27 (?)
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
  • (5)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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