![]() |
Run "Fix broken user profiles" as a scheduled task
It this possible and how?
|
Sure is possible, just copy the PHP code of /admincp/misc.php?do=lostusers in a new file, replace "$db->" by "$vbulletin->db->" and upload to /includes/cron/fixprofiles.php, then add a new scheduled task in the admincp which points to that file.
|
You shouldn't be running this task, really ever. What are you doing that you require to run it on a task?
|
PHP Code:
|
Why are you writing users directly into the database instead of using the datamanagers?
|
I have deactivated my forum registration, i use a other cms to create a account into the forum. i am owner of a gameserver .... if you create a game account, at same time you create a forum account
But the Userprofiles not 100% complete, so i use a cron all 10 minutes, to fix broken user profiles |
There should never be a need to run that, let alone on a cron.
You should add users properly with the datamanagers, not direct data inserts. Fix profiles will not fix everything, its designed as a last resort. |
i use it ... it is a god way and it work...
|
No, its not a good way. You should fix your scripts to work properly.
|
I agree, it is not a good way to do it, use the datamanagers as suggested.
|
All times are GMT. The time now is 01:27 AM. |
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:
|