The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Question about bb codes that use templates
On a couple of occasions I've tried to help someone make a bb code that's visible only to designated usergroups. I can't find any reliable way to do it without building a bb code that uses a template, like quote or the three code displaying bb codes, but I don't know how to do it.
Right now I'm stuck on a part in includes/class_bbcode.php. In function fetch_tag_list() there are blocks of code like this Code:
if (($vbulletin->options['allowedbbcodes'] & ALLOW_BBCODE_COLOR) OR $force_all) { // [COLOR=XXX] $tag_list['option']['color'] = array( 'html' => '<font color="%2$s">%1$s</font>', 'option_regex' => '#^\#?\w+$#', 'strip_empty' => true ); } Or better yet, does anyone know of a mod that creates a bb code with a template? |
#2
|
|||
|
|||
Quote:
The bitfields are set at the beginning of 'class_core.php' |
#3
|
|||
|
|||
Thanks, but no thanks.
Okay, that explains what's going on but I'll have to bypass using bitfields for something like this. I was hoping settings like forum permissions were filled in with XML and you could slip a new setting in with an added file but you would actually have to hack it in. So I'll just use options to control this. |
#4
|
|||
|
|||
Sorry, I was running late to a meeting so I just answered your immediate question.
I have to apologize, the last time I tried to assist you, you were working on some log-in software. I was called away on an immediate overseas meeting that lasted over a week. Again, I apologize for leaving you hangingl it was not my intent. |
#5
|
|||
|
|||
Oh, nothing to apologize for. Once I saw those defined variables were bits I could change plans a little and move on. I'm slowly chipping away at the overall problem.
Thanks for the help. |
#6
|
||||
|
||||
Sorry i don't have the time to search it for you right now but i remember there is a mod for this
|
#7
|
|||
|
|||
Yeah, nhawk has one: https://vborg.vbsupport.ru/showthread.php?t=266744 .
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|