Support for Account Manager

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
streamsss
Posts: 186
Joined: Wed Jun 24, 2009 10:01 am

Re: Support for Account Manager

Post by streamsss »

have admin system in this tool?
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

thanks lishawj for your explanation :)
streamsss wrote:have admin system in this tool?
No there aren't an admin system on it
Daedalus
Eragon
Posts: 82
Joined: Thu Apr 21, 2005 2:14 pm

Re: Support for Account Manager

Post by Eragon »

Hello, thanks for this wonderful tool.

I have one problem, let me try to explain:

I want to include the "?&action=show_create" or "index.php" into one of my static html websites.
I tried the following:

Code: Select all

 <?php include ('./account/index.php'); ?> 
But when I do so, I get these errors:

Code: Select all

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sunrisen/public_html/l2/register.php:7) in /home/sunrisen/public_html/l2/account/index.php on line 6 Warning: require(./classes/config.class.php) [function.require]: failed to open stream: No such file or directory in /home/sunrisen/public_html/l2/account/index.php on line 10 Warning: require(./classes/config.class.php) [function.require]: failed to open stream: No such file or directory in /home/sunrisen/public_html/l2/account/index.php on line 10 Fatal error: require() [function.require]: Failed opening required './classes/config.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sunrisen/public_html/l2/account/index.php on line 10
As you might figure, I'm rather new to php.
Any help would be nice.
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

You should use template for keep website design.

But the solution to use include('acm/index.php') won't work because you display some html code before to show acm and session system doesn't like that.
Daedalus
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

Re: Support for Account Manager

Post by momo61 »

will there be more templates for the ACM soon ? :)
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

:) Soon ;D
Daedalus
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

Re: Support for Account Manager

Post by momo61 »

daedalus wrote::) Soon ;D
can't wait ^^ good job D !
Vader
Posts: 15
Joined: Tue Jun 23, 2009 4:27 am

Re: Support for Account Manager

Post by Vader »

So what are the benefits of this program or any account manager if you can autocreate an account when you first login now? I'm just curious so I can run a server more efficiently. Appreciate any input on this. :)
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

It's a good question. Why use an account manager instead of auto create account.

Some ideas :
When you make a wrong type in your account name, it's create useless account.
You can't recovery your password when you use autocreate.
You can't use account services.
You can't manage the number of created account.

Some account manager give some extra for admin likes give access level, check account with the same ip (don't need to log in), ban, unban,. It's mode user friendly to manage an account than edit a db.
Daedalus
Andrewzz
Posts: 5
Joined: Fri May 29, 2009 1:15 am

Re: Support for Account Manager

Post by Andrewzz »

daedalus, when you set your ACM to a language like spanish, it show bad characters, could you please fix that setting a correct format for the acm?
Also, when the mail arrive to the inbox, it shows that bad letters.
Hope you understand me.

Thanks in advance
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

Try now. But it should be work before. Someone have the same problem ?

By the way, if you have made a template be sure to use UTF-8 charset.
Daedalus
Andrewzz
Posts: 5
Joined: Fri May 29, 2009 1:15 am

Re: Support for Account Manager

Post by Andrewzz »

Yeah that fixed the error showing bad chars.
But the email that arrive to my inbox is still showing bad characters, I'm using Hotmail.

Code: Select all

 La dirección IP xxx.xxx.xxx.xxx quieren restablecer la contraseña de su cuenta de Lineage II a austin.haga clic aqui para restablecer su contraseña.Si no ha realizado este cambio, por favor, no tienen que preocuparse de este correo electrónico. El equipo de Assassins L2 Online  
Vader
Posts: 15
Joined: Tue Jun 23, 2009 4:27 am

Re: Support for Account Manager

Post by Vader »

daedalus wrote:It's a good question. Why use an account manager instead of auto create account.

Some ideas :
When you make a wrong type in your account name, it's create useless account.
You can't recovery your password when you use autocreate.
You can't use account services.
You can't manage the number of created account.

Some account manager give some extra for admin likes give access level, check account with the same ip (don't need to log in), ban, unban,. It's mode user friendly to manage an account than edit a db.
Thank you for the response back. That's some good info I learned. Now it makes sense to me. Take care and keep up the great contributions that make L2j fun to work with.
User avatar
Gheazu
Posts: 122
Joined: Thu Jan 22, 2009 3:20 pm

Re: Support for Account Manager

Post by Gheazu »

i got this error :(

Deprecated: Function eregi() is deprecated in C:\wamp\www\classes\config.class.php on line 140

Code: Select all

	// Test if config value is an email	public function ce($var, $val) {		try {			[color=#FF0000]if(!eregi('^[a-zA-Z0-9._-]+@[a-zA-Z0-9-]+\.[a-zA-Z.]{2,5}$', $val))[/color]				throw new MyException('('.gettype($val).')'.var_export($val, 1).' set on '.$var.' must be an email');			$this->$var = $val;		} catch (MyException $e) {			echo $e;		}	}
User avatar
daedalus
Posts: 155
Joined: Sun Mar 12, 2006 12:16 pm

Re: Support for Account Manager

Post by daedalus »

Hum,

The problem is eregi is a deprecated function and ACM use it instead of pre_match function. This function is use for check if an email is correct or not.

I'll make an update with preg_match instead of eregi.
Daedalus
Post Reply