vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - The /me Code (https://vborg.vbsupport.ru/showthread.php?t=201638)

RTMdotORG 01-13-2009 11:00 PM

/you code would be nice

Nadeemjp 01-13-2009 11:15 PM

i think /me by itself isnt much of an attraction. but as yotsume has suggested, if we could have more codes, then it is more interesting:)

Blue91 01-13-2009 11:27 PM

To each their own. /me is a niche mod for irc users.

Blue91 01-14-2009 01:51 PM

Hmm, after playing with this... it isn't like the previous /me codes. Previous versions ONLY worked with /me was typed first in a line.

I noticed the current one changes /me to username regardless of where it is. This was figured out this morning by me when another user posted up the phrase burn/melt and it resulted in "burn/usernamelt. Not good. Can it be fixed to work only at the beginning of a sentence like the previous versions?

Thanks!

Blue91 01-15-2009 01:03 PM

Ttt?

Gio~Logist 01-16-2009 03:39 PM

Quote:

Originally Posted by Blue91 (Post 1712099)
Hmm, after playing with this... it isn't like the previous /me codes. Previous versions ONLY worked with /me was typed first in a line.

I noticed the current one changes /me to username regardless of where it is. This was figured out this morning by me when another user posted up the phrase burn/melt and it resulted in "burn/usernamelt. Not good. Can it be fixed to work only at the beginning of a sentence like the previous versions?

Thanks!

Try replacing the contents of the plugin with the following:
PHP Code:

if(substr($post['message'], 03) == '/me'){

    
$post['message'] = substr_replace($post['message'], $post[postusername], 03);
    


Also, i updated the plugin to a simple edit to only include "/me"'s that have a space after, to prevent your second issue if you're still using the default code.

Roxie 01-16-2009 05:11 PM

Would love the /you code.

Theater 01-16-2009 07:44 PM

Theater slaps Gio~Logist around a bit with a large trout.

/me clicks installs.

secrtagnt 01-16-2009 09:57 PM

If you don't find a mod useful, simply don't use it :)

One of the forums I help maintain is centered around an IRC network. I'm sure our users will enjoy it. Thanks!

TheLastSuperman 01-16-2009 10:03 PM

Using for something else.. will recode w/ desired /you /it /bugoff etc lol so thanks!!!!

[high]* TheLastSuperman marked as Installed :D[/high]

Edit: Ohh vb.org already had it in here, that was nice to see, I lol'd for a second ;)

Edit: #2... you wouldn't want to change your modifaction to allow the code to be re-used so I might make a new mod using this one but it would require different versions of the plugin??? (Ohh and link back you your release here?) PM me if so and thanks Regardless!


All times are GMT. The time now is 10:43 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
  • Page Generation 0.01036 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete