The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
need help
heyhey
ok i wanted to create a code that automatic change some points of all users like doing everyday the query Code:
$DB_site->query("UPDATE user SET replyed=replyed-1 WHERE userid='$bbuserinfo[userid]'"); thanxs in advange |
#2
|
|||
|
|||
to make it automatic, you can create a cronjob inside the system (/includes/cron) ... if you want it to all users, it'S mysql party:
Code:
$DB_site->query("UPDATE user SET replyed=replyed-1"); |
#3
|
|||
|
|||
hmm cronjob
i think ya mean vbulletin gold ore higher i dosnt have that yet iam still running on 2.8 i believe dont ya know how i can do it in global.php ore something thanxs |
#4
|
||||
|
||||
you would have to implement some kind of mechanism to check if it already executed the query, and if not to execute it...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|