The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
$DB_site->query("UPDATE thread SET lastpost='".time()."' WHERE threadid='$threadid'");
I have this query near the top of postings.php. What I want to do is add to it. I want it to update one more thing. I have a field 'lastthread' in the forum table, which is from PPN's last title on forumhome hack. How can I make it so this query which is run when an item is selected from the admin options drop down in a thread is selected, not only sets the last post time of the thread to be the current time, but also changes the last title on forumhome? I don't mind running an extra query if this query can't be modified, in fact it would be better that way I'm guessing. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|