The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
help using admincp/misc.php?do=update forum
I want to run the same function thats run when you click the
'update forum info' button in admincp/import&maintenance/update counters and I think that is the "update forum" in the misc.php how can I execute this function from another script i wrote??? |
#2
|
||||
|
||||
you have to require functions_databuild.php
and then this function will help you: PHP Code:
|
#3
|
||||
|
||||
ok did that...
i have this: PHP Code:
PHP Code:
"Fatal error: Call to undefined function: fetch_foruminfo() in /www/forum/htdocs/includes/functions_databuild.php on line 78" it doesnt find the fetch_foruminfo() function for some reason! Do i maybe have to put the script i wrote in the same directory as the functions_databuild.php??? |
#4
|
||||
|
||||
erm, you have to make sure, that you have global.php required in your script as well, as that file includes other important files as well..
|
#5
|
||||
|
||||
and when i have
PHP Code:
Fatal error: Failed opening required './includes/init.php' (include_path='.:/usr/local/lib/php') in /www/forum/htdocs/global.php on line 18 or Parsing functions.php Time before: 1086698586.0523 Fatal error: Failed opening required './includes/functions.php' (include_path='.:/usr/local/lib/php') in /www/forum/htdocs/global.php on line 37 when i tried to comment out the first include. it always seems to be an include of an include! what am i doin wrong? |
#6
|
||||
|
||||
your script is in the wrong directory.
you can place it in the forum directory itself, or you do a chdir() before you do the include. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|