The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Run "Fix broken user profiles" as a scheduled task
It this possible and how?
|
#2
|
|||
|
|||
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.
|
#3
|
||||
|
||||
You shouldn't be running this task, really ever. What are you doing that you require to run it on a task?
|
#4
|
|||
|
|||
PHP Code:
|
#5
|
||||
|
||||
Why are you writing users directly into the database instead of using the datamanagers?
|
#6
|
|||
|
|||
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 |
#7
|
||||
|
||||
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. |
#8
|
|||
|
|||
i use it ... it is a god way and it work...
|
#9
|
||||
|
||||
No, its not a good way. You should fix your scripts to work properly.
|
#10
|
||||
|
||||
I agree, it is not a good way to do it, use the datamanagers as suggested.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|