The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom BB Codes
Custom BB Codes to hide hack from vbstyles.com
i have tested to get some info from vbstyles.com but support on that site is not upp and runing can any one help me whit this |
#2
|
|||
|
|||
i dunno if hide hack allowed around but where is the problem ?
|
#3
|
|||
|
|||
Quote:
i need this Tag Replacement |
#4
|
|||
|
|||
you want me to code [hide] [/hide]
code that only on reply user can see the info inside the tags ? |
#5
|
|||
|
|||
Quote:
now it will not be on my VB code page |
#6
|
|||
|
|||
its weird you got only the function and not the bbcode this both supuse to be on the same php script
here is the bbcode addon : open includes/functions_bbcodeparse.php Code:
// [HIGHLIGHT] $bbcodes['custom']['find']['[highlight]'] = '#\[highlight\](.*)\[/highlight\]#esiU'; $bbcodes['custom']['replace']['[highlight]'] = "handle_bbcode_parameter('\\1', '" . str_replace("'", "\'", '<span class="highlight">\1</span>') . "')"; $bbcodes['custom']['recurse']['highlight'][0] = array('replace_html' => "<span class=\"highlight\">\\7</span>"); Code:
// [HIDE] $bbcodes['custom']['find']['[hide]'] = '#\[hide\](<br>|<br />|\r\n|\n|\r)??(.*)(<br>|<br />|\r\n|\n|\r)??\[/hide\]#esiU'; $bbcodes['custom']['replace']['[hide]'] = "handle_bbcode_hide('\\2')"; $bbcodes['custom']['recurse']['hide'][0] = array('handler' => 'handle_bbcode_hide'); but you need to add function on this page, thats why im not sure your hack is working |
#7
|
|||
|
|||
i have this code
functions_showthread.php Look for: require_once('./includes/functions_bbcodeparse.php'); PHP Code:
but i need Custom BB Code to admincp |
#8
|
|||
|
|||
Code:
// [HIDE] $bbcodes['custom']['find']['[hide]'] = '#\[hide\](<br>|<br />|\r\n|\n|\r)??(.*)(<br>|<br />|\r\n|\n|\r)??\[/hide\]#esiU'; $bbcodes['custom']['replace']['[hide]'] = "handle_bbcode_hide('\\2')"; $bbcodes['custom']['recurse']['hide'][0] = array('handler' => 'handle_bbcode_hide'); |
#9
|
|||
|
|||
Quote:
tag: hide Replacement : <HIDE>{param}</HIDE> Example: <hide>Hide this text</hide> Use {option} Yes or No ?? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|