![]() |
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 |
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"); |
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 |
you would have to implement some kind of mechanism to check if it already executed the query, and if not to execute it...
|
All times are GMT. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|