The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Quick help with PHP. (PLEEEAAASSE!!)
I am wanting to run a script every so often, to move any threads with more than 1 reply from certain forums to another. Currently I have redirect.php under /includes/cron, but when I run it, nothing happens.
Here is the code: PHP Code:
Help? :ermm: |
#2
|
||||
|
||||
Is that all that's in the file ?
"$db->query" should probably be "$vbulletin->db->query_write" |
#3
|
|||
|
|||
Quote:
IT WORKED! A million thanks. |
#4
|
||||
|
||||
Not absolutely necessary, but it's normal to include a check like this at the top of a cron file ;
PHP Code:
Quote:
|
#5
|
|||
|
|||
LOL...hey thanks PAUL...this answered a question for me as well.
WOWSERS!!!! lol |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|