The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to fetch BBCODECACHE?
Dear vBulletin experts,
I am currently working on a more advanced mod for vBulletin 3.7 B5 and am trying to do the folowing: I start a script e.g. script.php (just include('global.php'); for $vbulletin) and then upon a trigger I want to load the regular vBulletin editor (standard forum editor page for a new thread/reply). However, I keep receiving the folowing error: Quote:
$specialtemplates = array( 'smiliecache', 'bbcodecache', 'ranks', ); I already tried $vbulletin->datastore->fetch($specialtemplates); however the $vbulletin->bbcodecache does not get populated. The error is caused by the folowing loop in functions_editor.php on line 649: foreach ($vbulletin->bbcodecache AS $bbcode) Anybody has any idea how to populate the bbcode cache array in the right way to be able to show the default vBulletin new thread editor page for a forum? Thanks in advance for your tips/support! Best Regards, Jan Jaap |
#2
|
||||
|
||||
Are the other caches being fetched?
|
#3
|
||||
|
||||
Could you please be more specific by what you mean by that?
The phrases are catched, however also using a trick. Thanks in advance for your support. Best Regards, Jan Jaap --------------- Added 11 Mar 2008 at 16:35 --------------- The error seems to be caused by something other then my script. Just accessing the original newthread.php?do=newthread&f=2 file will return the same error in Beta 5, it must have been a bug. Right now I reuploaded all new Beta 6 filesand I ran an upgrade and the error is gone! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|