GamePlayHeaven Forums
It is currently Mon Sep 06, 2010 15:15

All times are UTC - 7 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: EQRoster v4.4.2 Released (Interaction free batch imports)
PostPosted: Wed Jun 16, 2010 5:53 
Offline
Site Admin
User avatar

Joined: Sun Feb 06, 2005 8:50
Posts: 566
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


Top
 Profile  
 
 Post subject: Re: EQRoster v4.4.2 Released (Interaction free batch imports
PostPosted: Fri Jun 18, 2010 11:18 
Offline

Joined: Thu Jun 10, 2010 13:30
Posts: 11
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 ;)


Top
 Profile  
 
 Post subject: Re: EQRoster v4.4.2 Released (Interaction free batch imports
PostPosted: Mon Jun 21, 2010 2:29 
Offline
Site Admin
User avatar

Joined: Sun Feb 06, 2005 8:50
Posts: 566
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


Top
 Profile  
 
 Post subject: Re: EQRoster v4.4.2 Released (Interaction free batch imports
PostPosted: Mon Jun 21, 2010 4:44 
Offline
Site Admin
User avatar

Joined: Sun Feb 06, 2005 8:50
Posts: 566
Did you try running the script through the php.exe?
Aka:

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


Top
 Profile  
 
 Post subject: Re: EQRoster v4.4.2 Released (Interaction free batch imports
PostPosted: Sat Jun 26, 2010 16:04 
Offline

Joined: Thu Jun 10, 2010 13:30
Posts: 11
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.


Top
 Profile  
 
 Post subject: Re: EQRoster v4.4.2 Released (Interaction free batch imports
PostPosted: Mon Jun 28, 2010 22:32 
Offline
Site Admin
User avatar

Joined: Sun Feb 06, 2005 8:50
Posts: 566
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group