The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Auto-move thread
Hi,
I am trying to come up with a way to move threads by a background job. I have seen that there is a routine present in postings.php to accomplish this but it works by means of an interactive dialog first (the move thread option). How can I make a thread move WITHOUT having to pass through this dialog box? I have tried something like: PHP Code:
|
#2
|
||||
|
||||
Just look at the postings.php code and copy it to your file.
|
#3
|
||||
|
||||
Mmm, that doesn't really help me any further. What difference does it make if I duplicate the code in my own script? Or do I only take a part of the 'move thread' section?
|
#4
|
||||
|
||||
Only part of it, you don't need to check for moderator permissions, just the queries that actually move the thread ("UPDATE thread SET forumid" or whatever).
|
#5
|
||||
|
||||
Hey Firefly,
Thanks for the pointers! I will play around a little bit and see if I can get it working |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|