eo advance control panel release

07/11/2013 20:10 PowerChaos#1
Dear users

please go to [Only registered and activated users can see links. Click Here To Register...] to get info about the advance control panel

as that is a realease topic can this topic be used for your questions and bugs and answers so that other topic can stay clear of posts

so in case of problems , let me know it here

enjoy the release

Greetings From PowerChaos
07/13/2013 00:51 gabrielbw#2
is only for the PM or players?
07/13/2013 00:53 PowerChaos#3
it is for both users
it is also for moderators

you can see the demo at [Only registered and activated users can see links. Click Here To Register...]
or you can use the following information at the demo site
[Only registered and activated users can see links. Click Here To Register...]

Quote:
Originally Posted by login info
username: thunder
pass: test ( Admin Account )

Username: cynt
pass: test ( Banned Account )

UserName: testing
pass: test ( Normal Account )
Greetings From PowerChaos
07/13/2013 00:59 gabrielbw#4
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\settings\functions.php on line 805 ??
07/13/2013 01:09 PowerChaos#5
hi,
try this
it is a quick fix and i will update the file later on

open the function.php file , search for the following text

Code:
$valid=2;
remove that line

open config.php ( same folder )
below you see
Code:
$install=1;
add following line
Code:
$valid=2;
please note , if you update the config file from the script you need to re add that line , as it will write the config file again from scratch ( so all edits not done by the site will be lost )

let me know if this works

Greetings From PowerChaos
07/25/2013 07:28 HauntedEudemon#6
i try to add new add gold but fail , not work at all
07/25/2013 12:22 PowerChaos#7
hi,
can you show me a screenshot of what you mean ??

you try to add new gold ? what you mean with new gold ?

if you want to add a new page you need to do it this way

go to /pages
put there a new file ( the name you like to use )
in that file , put your code or use the code from my other files ( depending what you like to add )
see if it is pointed to the right database and tables , so the script can work
call the page with /index.php?page=yourpage

if it works , then edit the files in the template folder
and add your new link to it

if you put the page in the /admin or /staff then only those ranks can acces it ( /index.php?admin=yourpage or /index.php?staff=yourpage )

if you like , show me a screenshot or a explanation what you exactly want
then i can provide you a file with that function in it

Greetings From PowerChaos
07/25/2013 13:16 HauntedEudemon#8
donation noble . hehe ,

like ep . i copy ep php . and change all of them . but when i want create at donation setting it fail .

i already change at function also .

btw if u can . can i make 1 video for me how to adding this @ any new ep,gold, in there .
07/25/2013 23:03 PowerChaos#9
hi,
here is a example
you need to edit differend things if you want to add a new donation option
so i wrote a script ( taken from example pages ) that explains everything you need to know to add a new donation option

please note , the script is a example and will NOT work if you try to execute it or just blind copy it

also here is the script


or you can download it as atachment (rename to php to vieuw code/comments )

Greetings From PowerChaos
07/26/2013 03:23 HauntedEudemon#10
Quote:
<?php
//grab data from database and repeat until it does not have any more rows
while ($info = mysql_fetch_array($data))
{
echo ("<tr>");
echo ("<td><font color='red'>".$info[id]."</font></td>");
echo ("<td>".$info[credits]."</td>");
echo ("<td>".$info[price]."</td>");
echo "</tr>";
}
?>
</t

info . i can seee got info - info5 . it ok if just put info or need create new one info6 ?
07/26/2013 04:00 PowerChaos#11
this got more information about it

[Only registered and activated users can see links. Click Here To Register...]

basicly the $info is just what i used to call the array
you can call it whatever you like as long you use the same to call the rows

example
PHP Code:
<?php
while ($demo mysql_fetch_array($data))
{
echo (
"<tr>");
echo (
"<td><font color='red'>".$demo[id]."</font></td>");
echo (
"<td>".$demo[credits]."</td>");
echo (
"<td>".$demo[price]."</td>");
echo 
"</tr>";
}
?>
also be sure that data is the query it need to execute , else it will still not work
but the link i gave you should explain that part :D

eather way
it is better to use differend names to prevent wrong data
php seems to remind the assigned value after the while command so using the same name can erase the older data or provide errors

Greetings From PowerChaos
05/25/2015 11:17 haizamlee#12
sorry , Serial is not valid to perform any donations
or you can use fortumo

help me please
05/25/2015 12:32 PowerChaos#13
Eum
Do you still have the encrypted version ??

if so then it is complicated to fix
as I need to see the script to be able to fix

If you got some edit skills you could download the release of demonpower and use that script ( is the same control panel but edited a lot )

Else if it isn't encrypted you could open functions.php and see how it is written and it can then be fixed to put the following code in functions.php

$check = 2;

Not sure anymore about the variable I used for the serial Check

Greets from powerchaos
05/26/2015 01:00 haizamlee#14
thx power chaos.. but i dont know which line that i need to insert those code?