Page 1 of 1

EQRoster v4.4.2 Released (Interaction free batch imports)

Posted: Wed Jun 16, 2010 5:53
by GamePlayHeaven
Version 4.4.2 of the EverQuest roster is on the downloads page.
The following additions/fixes have been made:

Added an AutoImport flag to the batch imports (Magelo and EQPlayers).
This change is for admins who want to run a nigthly batch import. To be able to do this, the roster has to allow for a user interaction free batch import. To enable this AutoImport, you have to edit the return value of the GetAutoImportPassword() function in your config.php. For example, set it to "Eq4EvEr"
Next, use the following parameters when calling the batch import scripts:
<<rosterdir>>/form.php?FormName=EQPlayers_Batch_Import&AutoImport=true&AutoImportPassWord=Eq4EvEr
For Magelo batch import, replace EQPlayers with Magelo in the above link.
<<rosterdir>> is the path to your roster, for example http://yourguild.com/eqroster

A function has been added to the config.php!
Make sure you either backup your old settings, or manually copy the GetAutoImportPassword() function from the new config.php to your old one.

Enjoy this new release,
Michaël

Re: EQRoster v4.4.2 Released (Interaction free batch imports

Posted: Fri Jun 18, 2010 11:18
by lukeren
Sorry to bug you so much, but is there any way to run this from a shell?

If I try and run it through links (a text-only browser), nothing happens. A php-cli version would solve the problem. If you have the time/energy to do that, it would be awesome ;)

Re: EQRoster v4.4.2 Released (Interaction free batch imports

Posted: Mon Jun 21, 2010 2:29
by GamePlayHeaven
I'll take a look at it, but can't promise when it'll be done (that depends on how easy/complicated it is, and when I will have time to do it).

So if it's a simple as calling the php script from a different one that is a php-cli version, it could be pretty soon. If it requires a big rewrite, it will be later.

Regards,
Michaël

Re: EQRoster v4.4.2 Released (Interaction free batch imports

Posted: Mon Jun 21, 2010 4:44
by GamePlayHeaven
Did you try running the script through the php.exe?
Aka:

php.exe <<rosterdir>>/form.php?FormName=Magelo_Batch_Import&AutoImport=true&AutoImportPassWord=Eq4EvEr

Re: EQRoster v4.4.2 Released (Interaction free batch imports

Posted: Sat Jun 26, 2010 16:04
by lukeren
I'm running this on linux by the way.

I've tried doing what you suggested, but I'm having problems getting the arguments parsed.
I think the way arguments work is different for commandline compared to calling it via a webserver.

Re: EQRoster v4.4.2 Released (Interaction free batch imports

Posted: Mon Jun 28, 2010 22:32
by GamePlayHeaven
Could you try:
php.exe <<rosterdir>>/form.php --FormName=Magelo_Batch_Import --AutoImport=true --AutoImportPassWord=Eq4EvEr

or if that doesn't work:
php.exe <<rosterdir>>/includes/class.magelo_batch_import.php --AutoImport=true --AutoImportPassWord=Eq4EvEr