vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   /me - irc feature (https://vborg.vbsupport.ru/showthread.php?t=93171)

Christine 10-11-2005 12:48 AM

Ah -- gotcha. Thanks Moparx. :)

KimmiKat 10-26-2005 06:28 PM

Where would I add the "action" tag at?

Edit: My co-admin helped me figure it out. Need coffee.

Quote:

Originally Posted by El_Muerte
to change the way the /me is displayed simply add the [action] vbcode tag.

for example the replacement:
HTML Code:

<span style="font-weight: bold; color: red;">* {option} {param}</span>
will make "/me does this" be displayed as:
* El_Muerte does this

in order for /me to only be replaced at the beginning of a line edit the "/me main" plugin to use the regex:
PHP Code:

$ircme_pattern "/(^|\n|\r)\/me ([^\r\n]+)/is"

or you could simply add to something like "the [noprase]/me[/noparse] doesn't work now"

wth, why does [ color=red]text[/color] make the text green?!


BANDiT600 10-26-2005 06:37 PM

/me very usefull I think!

GuaRRand 10-26-2005 07:54 PM

Quote:

Originally Posted by El_Muerte
to change the way the /me is displayed simply add the [action] vbcode tag.

for example the replacement:
HTML Code:

<span style="font-weight: bold; color: red;">* {option} {param}</span>
will make "/me does this" be displayed as:
* El_Muerte does this

in order for /me to only be replaced at the beginning of a line edit the "/me main" plugin to use the regex:
PHP Code:

$ircme_pattern "/(^|\n|\r)\/me ([^\r\n]+)/is"

or you could simply add to something like "the [noprase]/me[/noparse] doesn't work now"

wth, why does [ color=red]text[/color] make the text green?!

So if i want the "/me does this and that" to be displayed in red...how and WHERE would i have to edit the XML file?

El_Muerte 10-28-2005 10:19 AM

Quote:

Originally Posted by GuaRRand
So if i want the "/me does this and that" to be displayed in red...how and WHERE would i have to edit the XML file?

You simply add the [action] vbCode tag to your custom vbcode list like you quoted. You don't have to edit the plugin's code.
The [action] tag isn't added by default (but it is forced in the background).

mfizzel 10-30-2005 02:07 AM

I still don't know what you mean, lol

Christine 10-30-2005 01:33 PM

In El_Muerte's plugin called enforce default [action] bbcode hooked to bbcode_create , replace the <span></span> tag with:
PHP Code:

<span style=\"font-weight: bold; color: red;\">* %2\$s %1\$s</span> 


Jafo232 11-02-2005 06:31 PM

Problem with this hack. Consider this:

http://Members.aol.com.. Took me forever to figure out what was mucking my links..

For now, uninstall clicked..

JohnBee 11-03-2005 04:36 AM

Same here, it was affecting many links on my forum, I was also forced to uninstall it :(

Jafo232 11-03-2005 05:02 AM

Quote:

Originally Posted by JohnBee
Same here, it was affecting many links on my forum, I was also forced to uninstall it :(

It is too bad.. I haven't looked over the code, I am sure it is an easy fix, I just do not have the time.

Good idea anyway..


All times are GMT. The time now is 12:44 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.01427 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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