Announcement
Collapse
No announcement yet.
Creating a Scheduled Task: Update User Titles and Ranks
Collapse
X
-
Originally posted by WalkingWaldo View Post
-
I have an add-on that adds users to secondary user groups correctly, but that does not seem to change the associated (with the new usergroup) ranks for the user.
When I manually run admincp -> Maintenance -> General Update Tools -> Update User Titles and Ranks the usergroup updates correctly and user gets the associated rank title. I did not see any cron scheduled tasks that product the same result by clicking on each of the Run Now buttons under admincp -> Scheduled Tasks -> Scheduled Task Manager.
I do get the correct result by running admincp -> Maintenance -> General Update Tools -> Update User Titles and Ranks. How would I create a scheduled task to run Update User Titles and Ranks?
Regards,
Leave a comment:
-
You shouldn't be needing to run these tasks much if at all. Why do you want to run this on a task?
Leave a comment:
-
Oh I didn't realize I had to write code. I just assumed that when it said "Add Task" that it would be something the system could do. So basically the only tasks you can add are the tasks that are already there by default, right?
Leave a comment:
-
Varname doesn't really matter- just something unique. (letters and numbers only)
The Filename however needs to be the name of the actual .php file you wrote containing the code to do what you want to do. It is usually placed in the /includes/cron/ directory with the other scheduled task php files.
For help with custom coding vBulletin mods please ask on vBulletin.org.
Leave a comment:
-
Creating a Scheduled Task: Update User Titles and Ranks
Hi all!
I would like to create a new Scheduled Task to "Update User Titles and Ranks". I'm not certain of what should be used for the "Varname" and "Filename" fields?
Thanks!Tags: None
Related Topics
Collapse
-
by Robyn LI have to manually update User Titles and Ranks (in the Maintenance section) to keep them up to date. Should these update automatically, and if so, how do I set that. Thank you....
-
Channel: Support Issues & Questions
Mon 25th May '15, 6:51pm -
-
by chriskeWhat cronjob is responsible for updating the users titles?
it seems like this cronjob is not running anymore on my forum.
Using 5.3.3-
Channel: Support Issues & Questions
Thu 14th Dec '17, 2:25am -
Leave a comment: