The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Make Custom BBCode Re-Appear
When you create a custom BBCode to use with vBulletin. What do you have to do, so if you ever use the Rebuild Post Cache in the admin control panel. The text within your custom BBCode comes back. Basicly it is cached in the post still, and not stripped.
|
#2
|
||||
|
||||
Any idea why it is being stripped? rebuilding the post cache just means reparsing posts, if they displayed data before they should do so again.
Having said that they "fixed" a "problem" in 3.6.6 where by empty tags are completely removed from both the parsed and raw text. If your custom tags are empty then they will have been removed. To prevent this behaviour edit includes/class_dm.php and comment out the line $pagetext = $this->strip_empty_bbcode($pagetext); which appears in function verify_pagetext. |
#3
|
|||
|
|||
Thanks for that, but removing that bit of code did not work. The TAGS are still removed.
That bit of code was there to remove n 3.6.5 also, which I'm currently running. Here is the stangest thing though. After you run the "Rebuild Post Cache" and the TAGS are removed from posts. If you edit a post where the TAG was removed from, the TAG is still displayed with the content in it. And when saved the TAG comes back again |
#4
|
||||
|
||||
Quote:
Quote:
What do your custom tags do? |
#5
|
|||
|
|||
they let you add ed2k links
|
#6
|
||||
|
||||
That means nothing to me, and is not quite what I was asking.
Where have you added the cutom bbcodes, in admincp r as some kind of class_bbcode hack? DO they just do formatting, or do they run some kind of code? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|