The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Is it a mod that adds the YOUTUBE bbcode? Then you'd have to find out if they can help you. If it is a mod then I'd guess that it uses a hook that isn't called from the admincp.
If I understand things (based on a quick look at the code, so I may not understand), when you set the cache time to 0 the cached posts will get deleted as soon as the Cleanup #2 scheduled task runs, so they may have already have been deleted anyway. But like I said before, if the cache time is > 0 then the cache will get built as users view posts, so that seems like it could even be better than building it all at once from the admincp (unless you were doing it in the middle of the night or something). Edit: reading your post again, I'm thinking maybe there's a misunderstanding about the problem. I'm thinking if the post cache has been built incorrectly, then you'd have to build it again even if the problem were fixed. It sounds like maybe you're thinking that you could fix the problem and avoid rebuilding the cache? I suppose that's a possibility, depending on how the mod works. In any case, that's all I have to say, I'll let someone else help. |
#12
|
||||
|
||||
It is a mod that does the [ youtube ] tags. I seem to recall I had this same issue on my site with the mod and had to modify it. I would suggest you check the modification thread and see if it's been mentioned and if a fix was posted there.
|
#13
|
|||
|
|||
No, it's not a mod. I just used the "BB Code Manager" in the backend to define this custom BBCode. (Unless this BBCode Manager is a mod).
Attachment 150988 I noticed that other custom codes in the BBCodeManager did not get replaced, either, when I rebuilt the post cache. |
#14
|
|||
|
|||
I have disabled all plugins now and will rebuild the post cache. That will take a few hours.
I am very sure that the problem will persist. I will report back... |
#15
|
|||
|
|||
Quote:
Sorry to question what you said, but like Lynne said, if it's a mod then you should check in the mod thread. For example, in the AME 2.5 Media Embedding mod, there's this: https://vborg.vbsupport.ru/showthrea...202476&page=35 and if you scroll down to post #517 you'll see they are talking about that exact problem. |
#16
|
|||
|
|||
I just
Disabled all plugins. Then deleted the parsed post for a certain post in the database. Disabled caching. Loaded the post -> the embedded video was showing. Deleted the parsed post from the database. Turned on post caching. Rebuilt the post cache. The embedded video was not showing. I have made plenty of mods to the code over the years. The thing is I very rarely run the post cache maintenance. There are only two mods in class_bbcode.php and they should have no effect on the parser. in class_bbcode.php, I see this: PHP Code:
Where can I find the datastore? How do I flush it? |
#17
|
||||
|
||||
Do you have AME installed?
|
#18
|
|||
|
|||
I checked in vb3.8.8 on my test forum and $vbulletin->bbcodecache was null, so any custom bbcodes should be loaded from the db in append_custom_tags(). You could add some debug output to admincp/misc.php under where it says "if ($_REQUEST['do'] == 'buildpostcache')", if you want to check it for sure. You could add output in class_bbcode as well (enclose it in "if (defined('IN_CONTROL_PANEL'))" if it's a live forum).
|
#19
|
|||
|
|||
I did var_dump($this) in the class_bbcode.php. The bbcode parser object contains the custom bbcode.
I just noticed that the bbcode parser is not even replacing the img tags in the post parser. My forum is messed up! |
#20
|
|||
|
|||
Quote:
But if you're showing that the YOUTUBE custom bbcode has been loaded when you're doing a "rebuild post cache", then I don't know why it's not being used. I think it's possible to define two codes with the same tag, one with and one without an option. Is it possible that the custom code you defined doesn't match what you see in the posts (option-wise, I mean)? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|