• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior 2012] First Tibia Global Layout

Great version, but contains some bugs.

1 - Forum, not to make new posts..
2 - Não reconhece a localização dos jogadores na hora de criar conta.


3 - Page?subtopic=accountmanagement&action=manage
4 - Also in the Manage Account, does not show Account

5 - account/ajax_accountname.php / account/ajax_charactername.php / account/ajax_email.php
Erro:

Code:
Access denied for user 'www-data'@'localhost' (using password: NO)
Fix Bug 3

Change:

Code:
$c=mysql_connect($config['site']['connection_host'],$config['site']['connection_user'],$config['site']['connection_pass']) or die(mysql_error());

$b=mysql_select_db($config['site']['connection_db'], $c) or die(mysql_error());
$acc_qr = mysql_query("SELECT * FROM accounts WHERE email = '$account_email'");
To:

Code:
$SQL->query("SELECT * FROM accounts WHERE email = '$account_email'");
Fix Bug 4
Remove:


Code:
        $SQL->query("SELECT * FROM accounts WHERE email = '$account_email'");
        while($ls = mysql_fetch_array($acc_qr)){
            $accName = $ls['name'];
        }
Search:

Code:
$account_email = $account_logged->getEMail();
Add below:
[background=#fafafa]$account_name = $account_logged->getName();[/size][/background]
Create Account ERROR's:

Code:
[Sun Aug 03 15:20:55 2014] [error] [client 127.0.0.1] PHP Warning:  parse_ini_file(../config/config.ini): failed to open stream: No such file or directory in /var/www/account/ajax_accountname.php on line 30, referer: http://127.0.0.1/?subtopic=createaccount
[Sun Aug 03 15:20:55 2014] [error] [client 127.0.0.1] PHP Warning:  parse_ini_file(config.lua): failed to open stream: No such file or directory in /var/www/account/ajax_accountname.php on line 31, referer: [url=http://127.0.0.1/?subtopic=createaccount]http://127.0.0.1/?subtopic=createaccount[/url]
[Sun Aug 03 15:20:55 2014] [error] [client 127.0.0.1] PHP Warning:  mysql_pconnect(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/account/ajax_accountname.php on line 33, referer: [url=http://127.0.0.1/?subtopic=createaccount]http://127.0.0.1/?subtopic=createaccount[/url]
[Sun Aug 03 15:21:00 2014] [error] [client 127.0.0.1] PHP Warning:  parse_ini_file(../config/config.ini): failed to open stream: No such file or directory in /var/www/account/ajax_email.php on line 23, referer: [url=http://127.0.0.1/?subtopic=createaccount]http://127.0.0.1/?subtopic=createaccount[/url]
[Sun Aug 03 15:21:00 2014] [error] [client 127.0.0.1] PHP Warning:  parse_ini_file(config.lua): failed to open stream: No such file or directory in /var/www/account/ajax_email.php on line 24, referer: [url=http://127.0.0.1/?subtopic=createaccount]http://127.0.0.1/?subtopic=createaccount[/url]
[Sun Aug 03 15:21:00 2014] [error] [client 127.0.0.1] PHP Warning:  mysql_pconnect(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/account/ajax_email.php on line 26, referer: [url=http://127.0.0.1/?subtopic=createaccount]http://127.0.0.1/?subtopic=createaccount[/url]
[Sun Aug 03 15:21:03 2014] [error] [client 127.0.0.1] PHP Notice:  Uninitialized string offset: 6 in /var/www/account/ajax_charactername.php on line 67, referer: [url=http://127.0.0.1/?subtopic=createaccount]http://127.0.0.1/?subtopic=createaccount[/url]
[Sun Aug 03 15:21:03 2014] [error] [client 127.0.0.1] PHP Warning:  parse_ini_file(../config/config.ini): failed to open stream: No such file or directory in /var/www/account/ajax_charactername.php on line 76, referer: [url=http://127.0.0.1/?subtopic=createaccount]http://127.0.0.1/?subtopic=createaccount[/url]
[Sun Aug 03 15:21:03 2014] [error] [client 127.0.0.1] PHP Warning:  parse_ini_file(config.lua): failed to open stream: No such file or directory in /var/www/account/ajax_charactername.php on line 77, referer: [url=http://127.0.0.1/?subtopic=createaccount]http://127.0.0.1/?subtopic=createaccount[/url]
[Sun Aug 03 15:21:03 2014] [error] [client 127.0.0.1] PHP Warning:  mysql_pconnect(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/account/ajax_charactername.php on line 79, referer: [url=http://127.0.0.1/?subtopic=createaccount]http://127.0.0.1/?subtopic=createaccount[/url]
Fix Bug 5
Change in all 3 files that:

Code:
$c = parse_ini_file('../config/config.ini');
$c = parse_ini_file($c['server_path'].'config.lua');

$conn = mysql_pconnect($c['sqlHost'], $c['sqlUser'], $c['sqlPass']) or die();
mysql_select_db($c['sqlDatabase']);
To:

Code:
include("../config/config.php");
$conn = mysql_pconnect($config['site']['sqlHost'], $config['site']['sqlUser'], $config['site']['sqlPass']) or die();
mysql_select_db($config['site']['sqlDatabase']);
And add the MySQL settings in config.php
Add no Config.php:
Code:
# MySQL Configs
$config['site']['sqlHost'] = "localhost";
$config['site']['sqlUser'] = "root";
$config['site']['sqlPass'] = "";
$config['site']['sqlDatabase'] = "tfs";

I couldn't solve problem 3 and 4. Can you describe plz?
 
I couldn't solve problem 3 and 4. Can you describe plz?

Bug 3, change:
Code:
$c=mysql_connect($config['site']['connection_host'],$config['site']['connection_user'],$config['site']['connection_pass']) or die(mysql_error());

$b=mysql_select_db($config['site']['connection_db'], $c) or die(mysql_error());
$acc_qr = mysql_query("SELECT * FROM accounts WHERE email = '$account_email'");

To:
Code:
$SQL->query("SELECT * FROM accounts WHERE email = '$account_email'");

Bug 4, Remove:
Code:
$SQL->query("SELECT * FROM accounts WHERE email = '$account_email'");
while($ls = mysql_fetch_array($acc_qr)){
$accName = $ls['name'];
}

Search:
Code:
$account_email = $account_logged->getEMail();

Add below:
Code:
$account_name = $account_logged->getName();
 
5nZGSWf.png


Does anyone know the location where I can change the line spacing between sentences/paragraphs?
 
Gesior 2012 / tfs 0.4
Account Management.php.
I already put;
Code:
# MySQL Configs
$config['site']['sqlHost'] = "localhost";
$config['site']['sqlUser'] = "root";
$config['site']['sqlPass'] = "";
$config['site']['sqlDatabase'] = "tfs";

And now its works but under pag this error shows.

IMG-Error.
141106104618322874.png


Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\pages\accountmanagement.php on line 717
 
Doesnt work with 1.1 :'(

I lie it does work forgot to change to "tibiarl" in the layout option doh!
 
Last edited:
Fatal error: Call to a member function fetchAll() on boolean in C:\xampp\htdocs\pages\latestnews.php on line 98

How Fixing this error... ?
 
Hello guys !

Today I bring you the first layout tibia global to Gesior 2012 !

NWWnEH.jpg


What i do ?

I reescrive virtually every page of the site, and recreated the layout and also added some features!

  • Forum layout like tibia rl, with admin posts customized like global
  • Admin Panel added with some other features
  • News Ticker added again
  • Featured Article with panel to add it on admin panel
  • Account management like global with signature system added
  • Poll system added
  • Network box added with panel to add it on admin panel

Version of Acc Maker Gesior 2012 TFS-0.3.6 and 0.4 to rev 3703

Some screenshots :D

SbEZTE.jpg


hZpG1.jpg


1wpOk3.jpg


u1-OB.jpg


o7-Q6S.jpg


cpzEMC.jpg


9RaouJ.jpg


C0AO4Z.jpg


hZtbHL.jpg


DQTzeG.jpg


ZxJS1q.jpg


Nice isn't?
Have some other things !
Well, this is my first layout and i will continue updating it, if u have any suggestion or errors can post here and we solve

You see site online here

Gesior 2012 Layout Global

All credits to Me ;D and my friend Gesior that helped me and have patience to do it ! ;D

PS. Please if u like it dont forget to rep me ;D
is this work fir tfs 0.3.6 8.6?
 
Hello guys !

Today I bring you the first layout tibia global to Gesior 2012 !

NWWnEH.jpg


What i do ?

I reescrive virtually every page of the site, and recreated the layout and also added some features!

  • Forum layout like tibia rl, with admin posts customized like global
  • Admin Panel added with some other features
  • News Ticker added again
  • Featured Article with panel to add it on admin panel
  • Account management like global with signature system added
  • Poll system added
  • Network box added with panel to add it on admin panel

Version of Acc Maker Gesior 2012 TFS-0.3.6 and 0.4 to rev 3703

Some screenshots :D

SbEZTE.jpg


hZpG1.jpg


1wpOk3.jpg


u1-OB.jpg


o7-Q6S.jpg


cpzEMC.jpg


9RaouJ.jpg


C0AO4Z.jpg


hZtbHL.jpg


DQTzeG.jpg


ZxJS1q.jpg


Nice isn't?
Have some other things !
Well, this is my first layout and i will continue updating it, if u have any suggestion or errors can post here and we solve

You see site online here

Gesior 2012 Layout Global

All credits to Me ;D and my friend Gesior that helped me and have patience to do it ! ;D

PS. Please if u like it dont forget to rep me ;D
is this work for tfs 0.3.6 tibia 8.6
 
is this work for tfs 0.3.6 tibia 8.6

its for gesior 2012. its my understanding 2012 only works with tfs 1.0. you can try it though no harm in that.
 
Back
Top