Announcement

Collapse
No announcement yet.

Creating a Scheduled Task: Update User Titles and Ranks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Joe D.
    replied
    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,
    As was explained in this thread that would require custom coding. Please ask on www.vbulletin.org, the modification site, for help with custom code projects.

    Leave a comment:


  • Hartmut
    replied
    Please open a new thread for your request.

    Leave a comment:


  • WalkingWaldo
    replied
    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:


  • Zachery
    replied
    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:


  • Joe D.
    replied
    The only tasks you can add without writing your own code, yes.

    Leave a comment:


  • gsk8
    replied
    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:


  • Joe D.
    replied
    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:


  • gsk8
    started a topic [Forum] Creating a Scheduled Task: Update User Titles and Ranks

    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!

Related Topics

Collapse

Working...
X