Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Update Usergroup titles Daily from Cron Details »
Update Usergroup titles Daily from Cron
Mod Version: 1.00, by TheLastSuperman (Senior Moderator) TheLastSuperman is offline
Developer Last Online: Nov 2017 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (0 vote - 0 average) Installs: 6
Released: 09 Mar 2015 Last Update: Never Downloads: 29
Supported DB Changes Uses Plugins Translations Is in Beta Stage  

This modification automatically will update a set usergroups "user title" shown under their name to what you, the admin specifies. The plugins is very simple and utilizes the cron_script_daily_cleanup hook location to run i.e. when your daily cleanup scheduled task runs, this will run and update the usergroups title to what you entered, any and all users of that usergroup to what you enter. Normally user titles are updated when you run Update Usernames and Ranks from the maintenance section of the admincp but the point is you must manually run it, this mod uses what you entered as the title and updates everyday when the daily cleanup script runs, it reads the plugin and sets the title - you set it once and forget the rest is handled automatically when the daily cleanup task runs.

AdminCP > Settings > Options > Update User Titles Daily from Cron

Change the Usergroup ID # to the usergroup # for which you want to change their user title then enter in the new usergroup title and save. When the daily cleanup scheduled tasks runs next, the usergroups user titles will be updated.


Tips:
- You do not need to use this mod normally, its for those who have issues with their user titles updating after subscriptions expire and want to ensure the titles and ranks are updated daily PER the set usergroup HOWEVER please note the same can be achieved by running Update Usernames and Ranks from AdminCP > Maintenance > General Update Tools > Update User Titles and Ranks
- This should match the user title specified in that usergroups settings under title in order to avoid users in the same group with different user titles (unless you allow custom titles).
- Yes, you can change the usergroup id# and the user title and run this countless times to adjust user titles. In order to do this, update the mods settings i.e. enter in the new usergroup ID# and title, save the mod and now go to AdminCP > Scheduled Tasks > Scheduled Task Manager > *Scroll to find Daily Cleanup and click the button to "Run Now" and once its complete, the user titles will be updated for said usergroup.

Joey is right, he mentioned this being requested by a few so far and I remember seeing a few ask for this so I whipped it up. Now it's a basic plugin and runs a query to alter your database i.e. it alters the usergroups titles so it *should work fine on 3.x* but be sure to run a database backup first, once a 3.x user reports it worked fine I'll remove this warning.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	updateusertitlesdailycron.png
Views:	102
Size:	42.4 KB
ID:	152036   Click image for larger version

Name:	updateusertitlesdailycronafterchange.png
Views:	139
Size:	20.9 KB
ID:	152037  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 09 Mar 2015, 21:36
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
*Reserved
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman - Custom vBulletin Modifications, Styles, and Services.
Need a Host? I recommend URLJet.

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #3  
Old 12 Feb 2017, 18:16
sub_ubi sub_ubi is offline
 
Join Date: Dec 2004
Any way to make this simply update user titles & ranks? I'd rather not change custom titles.

Last edited by sub_ubi; 13 Feb 2017 at 04:23.
Reply With Quote
  #4  
Old 15 Feb 2017, 16:53
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
This may really help me save some time every day!!!

However, for greater clarity, I want to make sure I really understand what it will do.. and not do, so I don't screw up our site ...

I usually run the Maintenance routine called "Update User Titles and Ranks" once a day ..

I do it because there's a long standing bug in vBulletin that goes all the way back to v3 .

If a Contributing Member usergroup #10 subscription expires, vBulletin correctly changes the usergroup back to just Registered , but the rank graphic associated with the expired Contributing Member usergroup continues to appear in postbit etc, until I go manually and SAVE the user record in AdminCP or run the "update user titles and ranks" manually to get the now expired rank graphic for the member to disappear.

I've searched for years for some simple way of having the "update user titles and ranks" job run nightly as a maintenance function, as I'm really getting tired of having to go in and SAVE every user record after they get a new usergroup checked off, or their subscription expires.

Is this what this mod will do for us?

Regards,
Doug

ps: running v4.13pl8 of vBulletin ..

pss: is it necessary to put in a "replacement user title" in the options settings for this mod? When we manually run "Update User Titles and Ranks" under tasks, we don't specify anything?

Last edited by BadgerDog; 15 Feb 2017 at 16:59.
Reply With Quote
  #5  
Old 17 Feb 2017, 11:20
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Anyone able to help with this?

Thanks....

Regards,
Doug
Reply With Quote
  #6  
Old 27 Mar 2017, 11:55
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Anyone?

Thanks..

Regards,
Doug
Reply With Quote
  #7  
Old 23 May 2017, 13:18
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
*bump*...

Still looking for clarification...

Anyone able to comment?

Thanks..

Regards,
Doug
Reply With Quote
  #8  
Old 21 Jun 2017, 14:34
mrt12345's Avatar
mrt12345 mrt12345 is offline
 
Join Date: Feb 2009
Thumbs up Bump.

Hello i am running the latest and this is just what i was looking for has anybody given this a try yet ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 16:43.

Layout Options | Width: Wide Color: