![]() |
Fix the [code] bbcode
Currently putting bbcode inside the [code] bbcode it is still parsed as bbcode. This shouldn't happen and I was wondering if someone would be able to help me fix this.
Code:
this text shouldn't be bold or underlined Code:
function handle_bbcode_code($code) |
If you want it to work that way you can create a new plugin using hook location bbcode_fetch_tags, and this code:
Code:
if (($vbulletin->options['allowedbbcodes'] & ALLOW_BBCODE_CODE) OR $force_all) However, I'm not sure if I'd say that "fixes" the CODE bbcode. I've seen a lot of people post some code and highlight part of it by making it red or something, and that isn't possible if you disable bbcode within CODE. |
Thanks
|
All times are GMT. The time now is 01:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|