vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Disable custom BBcode on signature (https://vborg.vbsupport.ru/showthread.php?t=134262)

SHMX 12-18-2006 05:51 AM

Disable custom BBcode on signature
 
Is there a way to disable using customized bbcodes at signature?
thanks.

punchbowl 02-28-2007 07:24 PM

anyone? It's a hassle people putting youtubes etc in

Princeton 02-28-2007 07:43 PM

you will have to disable bbcodes in signature

punchbowl 02-28-2007 08:42 PM

I'm surprised at this but more surprised that someone hasn't modded this behavior. Are there options to disable bbcode but allow links, bold etc some other way?

Please pardon my ignorance - pretty new to vbulletin

Thanks

Guest210212002 03-10-2007 03:25 PM

Would also like to know this.

bing11 03-18-2007 12:04 PM

I want know this

help

dutchbb 07-21-2007 08:56 PM

bump

aibon 04-22-2008 08:00 AM

to disable custom bbcodes in the signature add this hook:

Hook bbcode_parse_start
PHP Code:

if ($forumid==='signature')
{
    unset(
$this->tag_list['no_option']['youtube']);


that's a example for a custom bbcode tagged youtube with no option. if you have a tag with options use option instead if no_option. to disable more just add more lines with the tags.

Important
because signatures are precached, you have to do the following:
disable and then enable bbcodes in the usergruppermissions after adding the plugin to clear the cache!

Rhaegar 05-16-2008 09:47 PM

What Hook Location should I use for that?

voter 05-21-2008 11:10 AM

Quote:

Originally Posted by Rhaegar (Post 1522071)
What Hook Location should I use for that?

bbcode_parse_start


All times are GMT. The time now is 01:48 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.00999 seconds
  • Memory Usage 1,728KB
  • 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