Page 29 of 29

Re: Support for Account Manager

Posted: Fri Mar 27, 2015 10:13 pm
by czaplak
Can someone tell me whats wrong ive installed account mennager here ive check the install.php
Image
but after when i try to enter at acm.mydomain.com i got error 500 ((Internal Server Error)

whats wrong?

Thanks and greets

Re: Support for Account Manager

Posted: Tue Jul 21, 2015 10:46 am
by daedalus
Hello,

Some FeedBack...

It's seems that the script is quite old even it's still working.

To handle your changed request I've moved ACM, castle control, 7signs to the GitHub repo. It'll more easier to fork and pull back changes.

https://github.com/lenoxys/l2j_acm

Thanks,
Daedalus

Re: Support for Account Manager

Posted: Fri Oct 16, 2015 5:40 am
by gmexid
the smtp feature is not working, im using godaddy office365

I have set the smtp, the browser states it sent file, and created account, I see the account awaiting approval, but no email arrives.

no fsocket error

plz help

apache 2.4, php 5.6

also can we get a IP restriction limit?

Re: Support for Account Manager

Posted: Sat Oct 17, 2015 4:01 am
by lozhar
It can be many things.

These are the possible causes i can think of:

1.-The email is not being sent because your host does not support the php mail() feature.
2.-The email is being sent but since it comes from an untrusted source, the receiver treats it as spam. ()

Suggested solution: Try to send an email manually.

I suggest you to read more about the matter:
http://www.w3schools.com/php/func_mail_mail.asp
http://php.net/manual/en/function.mail.php

Re: Support for Account Manager

Posted: Sat Oct 17, 2015 8:21 pm
by gmexid
how could I make my source meet stabndard of trust, im lost, :(

Re: Support for Account Manager

Posted: Wed Feb 17, 2016 2:29 am
by regenx
Daedalus? What php variables for smarty templates to get characters, time, how many characters per account and other info?
:+1:

Re: Support for Account Manager

Posted: Wed Feb 17, 2016 3:17 pm
by UnAfraid
You'd better ask him on github not sure if he's still around.

Re: Support for Account Manager

Posted: Thu Feb 18, 2016 3:24 am
by regenx
UnAfraid wrote:You'd better ask him on github not sure if he's still around.
ty.


Can you help me? I know some basic php but I'm noob with Smarty Template system :)

There are a lot of functions for heroes, who's banned, online chars, ... char_name ..
All I want is to get them in template and show them in user's account page.

Code: Select all

function load() {
		$sql = "SET NAMES '".CONFIG::g()->core_iso_type."'";
		$rslt = MYSQL::g($this->worldId)->query($sql);
		$sql = 'SELECT `char_name`, `base_class`, `sex`, `accesslevel`, `x`, `y`, `online`, `clanid`, `level`, `karma` FROM `characters` WHERE `charId` = "'.$this->charId.'" LIMIT 1;';
		$rslt = MYSQL::g($this->worldId)->query($sql);
		$row = @mysql_fetch_object($rslt);
		
		$this->char_name	= $row->char_name;
		$this->base_class	= (int)$row->base_class;
		$this->sex			= $row->sex;
		$this->accesslevel	= $row->accesslevel;
		$this->x			= $row->x;
		$this->y			= $row->y;
		$this->online		= $row->online;
		$this->clanid		= $row->clanid;
		$this->level		= $row->level;
		$this->karma		= $row->karma;
		
		return true;
	}
	
	function reload($chp) {
		$sql = 'SELECT `'.$chp.'` FROM `characters` WHERE `charId` = "'.$this->charId.'" LIMIT 1;';
		$rslt = MYSQL::g($this->worldId)->query($sql);
		$row = @mysql_fetch_object($rslt);
		
		$this->$chp	= $row->$chp;
		
		return true;
	}
	
	function is_online() {
		$this->reload('online');
		
		if($this->online == 1)
			return true;
		
		return false;
	}
	
	function is_ban () {
		$this->reload('accesslevel');
		
		if ($this->accesslevel < 0)
			return true;
		
		return false;
	}
	
	function is_hero () {
		
		$sql = 'SELECT COUNT(charId) FROM `heroes` 
						WHERE `charId` = "'.$this->charId.'";';
		
		if(MYSQL::g($this->worldId)->result($sql) == '0')
			return false;
		
		return true;
	}
	
	function have_clan () {
		$this->reload('clanid');
		
		if ($this->clanid == 0)
			return false;
		
		return true;
	}
	
	function allow_with_karma() {
		if(CONFIG::g()->service_allow_with_karma)
			return true;
		
		if($this->karma != 0)
			return false;
		
		return true;
	}

Re: Support for Account Manager

Posted: Fri Aug 05, 2016 3:47 pm
by JMD
I contacted the author and he was kind enough to make some updates and fix the 500 error. Thanks again :clap:

Re: Support for Account Manager

Posted: Sun Oct 07, 2018 8:51 am
by CostyKiller
Hi guys!
Is anyone using this with latest mysql 8.0?
I did not mange to get it connected to database.

Code: Select all

Checking php version :
PHP version : 5.6.31 OK

Checking extensions loaded :
mysql extension : OK
gd extension : OK
openssl extension : OK

Checking mysql connexion :
connected ? KO

Checking db connexion :
connected ? KO

Checking table connexion :
accounts exist ? KO
account_data exist ? KO

Checking sql parsing on accounts table :
email exist ? KO
created_time exist ? KO

Checking rights of the cache folder :
cache folder : OK

Re: Support for Account Manager

Posted: Mon Oct 08, 2018 2:30 am
by regenx
This ACP is outdated with a lot of deprecated functions as _mysql.
Search for a better Admin Panel with PDO or MySQLi extensions and PHP 5.6+

Re: Support for Account Manager

Posted: Tue Jan 08, 2019 12:53 am
by Purino
It work well just download xampp 5.6 and be sure to correct setup of config.php