The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
V.IMP: PHP Include
I tried to use this
PHP Code:
in phpinclude_start and when I use $featuredthread in forum home template and try to access the site... i get this error - PHP Code:
Can anyone help me please. it's very imp. for me to include this file in the site.. Here's the code for featured-thread.php PHP Code:
|
#2
|
||||
|
||||
I guess your script changes the database, and thus vB can't find its tables anymore.
Either put all tables in one database, or make sure vB and your script use different connections so they wont interfere with each other. |
#3
|
||||
|
||||
hmm.. Yeah. they are using diggerent databases [wordpress and vb :P ]...
Gotta find some alternative But thanks a lot for your reply! |
#4
|
||||
|
||||
Plug that into a php file with the appropriate links to the WP DB. Then change your php_start script to access the new file you created.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|