Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #2  
Old 12-13-2005, 12:35 AM
SuperFly SuperFly is offline
 
Join Date: Feb 2005
Location: Mentor,Ohio
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice

/me clicks install
Reply With Quote
  #3  
Old 12-13-2005, 12:35 AM
nexialys
Guest
 
Posts: n/a
Default

sorry to break your fun: (compared to these ???)
https://vborg.vbsupport.ru/showthread.php?t=93171
https://vborg.vbsupport.ru/showthread.php?t=98549
Reply With Quote
  #4  
Old 12-13-2005, 12:39 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 12-13-2005, 02:44 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 12-13-2005, 04:56 AM
Colosus Colosus is offline
 
Join Date: Mar 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
Originally Posted by Colosus
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/
Yes, should be no problem.
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.
Reply With Quote
  #8  
Old 12-13-2005, 11:14 AM
nexialys
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Hellcat
It's supposed to only parse the "/me" if it's at the very beginning of a line.
good..

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
Reply With Quote
  #9  
Old 12-13-2005, 11:27 AM
shovel's Avatar
shovel shovel is offline
 
Join Date: Mar 2002
Location: South Carolina, US
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by theArchitect
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.
Couldn't agree with you more.
Reply With Quote
  #10  
Old 12-13-2005, 01:57 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lovely!
Reply With Quote
Reply

Thread Tools

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:50 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.04901 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_onlinestatus
  • (10)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