The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
PHP Code:
|
#12
|
||||
|
||||
I threw it in but it still not working =/
Eww now I'm getting this: Code:
Warning: main(./includes/init.php): failed to open stream: No such file or directory in /home/elite/public_html/forums/global.php on line 18 Fatal error: main(): Failed opening required './includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/elite/public_html/forums/global.php on line 18 www.elitehosting.ca/file.php |
#13
|
|||
|
|||
Then you didn't do like tnguy3n suggested.
Quote:
|
#14
|
||||
|
||||
Code:
include("forums/includes/config.php"); include_once("forums/includes/functions_bbcodeparse.php"); require_once("forums/global.php"); Ok I modified it a little more and got to this: Code:
Unable to add cookies, header already sent. File: /home/elite/public_html/index2.php Line: 8 |
#15
|
||||
|
||||
when you call global.php file, it already contains function to connect to database, and other info stored in datastore.
instead of writing your code as: PHP Code:
PHP Code:
|
#16
|
||||
|
||||
Code:
<?php chdir('forums'); // or full path /home/account/public_html/forum require_once('global.php'); // more codes include_once('includes/functions_bbcodeparse.php'); |
#17
|
||||
|
||||
Quote:
try this test file. open it and replace vb3 with your forum dir. |
#18
|
||||
|
||||
It works... http://www.elitehosting.biz/test.php
What now? http://www.elitehosting.biz/index2.php Ok the BB code is still not working. That was the whole point of me asking |
#19
|
|||
|
|||
Well last time you said you did what he suggested, but posted coding showing that you didn't. Do a chdir to your forum directory, then use require_once for ./global.php and ./includes/functions_bbcodeparse.php
|
#20
|
||||
|
||||
I didn't mean to do that. But anyway I have all the coding in for what he told me to put, and still no bb code working as you can see in that link I sent you. Any help for it now that we got everything else fixed?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|