The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom BBCodes not working after rebuilding post cache
The title says it all.
I have reprocessed the post cache of all my forum's posts. Now the custom [ YOUTUBE][/YOUTUBE] bbcodes (without the space) no longer work in older posts. When I post a new one, the embedded videos do show. Old posts just show the bbcode. |
#2
|
|||
|
|||
Hmm...maybe it doesn't work right if you rebuild the post cache from the admincp. You could try just deleting the post cache and see what happens (it will get rebuilt as users view posts).
|
#3
|
||||
|
||||
If you edit one of the older posts, what is it showing exactly for the full bbcode? Is it any different from a post that is working?
|
#4
|
||||
|
||||
If you disable post caching does it work or not?
|
#5
|
|||
|
|||
Where can I find the setting to turn off the post cache?
When I edit an older post, the youtube embed words again. So there is nothing wrong with the bbcodes, they just don't get replaced when rebuilding the post cache. |
#6
|
||||
|
||||
If you edit one of the older posts, what is it showing exactly for the full bbcode? Is it any different from a post that is working?
Like is the code in lowercase and and the working code is in uppercase? Or do you just click on edit post, then save changing nothing, and it works? |
#7
|
||||
|
||||
AdminCP > Settings > Options > Server Settings > Cached Posts Lifespan > 0
|
#8
|
|||
|
|||
I set the post cache lifetime to 0 and then revisted older posts with an embed.
They are not showing the embedded video, just the code. The case of the bbcode should not matter. WHen I add a new post, the bbcode can be upper or lower case. I expect the same behavior from the post parser. --------------- Added [DATE]1416302924[/DATE] at [TIME]1416302924[/TIME] --------------- I have also just disabled all plugins and turned the post cache time to 0. The custom BBCodes are still not parsed. --------------- Added [DATE]1416302989[/DATE] at [TIME]1416302989[/TIME] --------------- When I edit an older post and just hit the save button, the code gets parsed and the video shows. |
#9
|
|||
|
|||
Try running the "Hourly cleanup #2" scheduled task. That should remove cached posts that are older than the limit (all of them, since you have it set to 0). From what you said it definitely sounds like it's a problem with the posts in the rebuild cache, so you just need to clear it.
|
#10
|
|||
|
|||
I did rebuild all posts twice, using the maintenance task. That should have rebuilt the posts.
But it's actually what has caused the problem. I would prefer not to delete all cached posts. That would only increase the load on the server. Instead, I would prefer to fix whatever problem there is with the BBCode parser that is used when the post cache is rebuilt. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|