SA-MP Forums Archive
[PHP/MySQL] Nitok SA-MP Control::Panel *Windows & Linux*!!!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Maps (https://sampforum.blast.hk/forumdisplay.php?fid=64)
+---- Thread: [PHP/MySQL] Nitok SA-MP Control::Panel *Windows & Linux*!!!! (/showthread.php?tid=112980)

Pages: 1 2 3 4


[PHP/MySQL] Nitok SA-MP Control::Panel *Windows & Linux*!!!! - darkrider366 - 11.12.2009

Replacement CPanel Being made!!!! First release will be Windows only.

Hey guys. I've recently decided to make a control panel with MySQL support so you can have just one address with the control panel and with loads of users on it. Unlike other control panels where if you have 3 servers, you'll need to have the control panel in 3 different directorys.
Requirements:-
  • Something to host it on *Dedi or VPS is best*
  • Webserver with PHP and MySQL
  • Small knowledge of MySQL > PHPMyAdmin will help you ALOT
This control panel does not have everything on it at the moment. I have just made a simple mysql control panel. Later it will feature a Log viewer, Config edtior and Ban viewer.
My first release of this control panel which is v1.7 is only for windows. This version is 2.3 Which I have a Linux version working.

[b]Credits go to:
  • Westie: Execution functions to start and stop the server.
  • Artisteer: The theme for the control panel.
  • Me: Coding the MySQL and PHP side of the control panel.
  • The website I forgot: The secure login script with no known mysql injection vulnerabilities
Rights:
  • You do NOT have the rights to copy my control panel and say it's yours.
  • From lines 78-108 in ClassBot.php you have the rights that apply to Westies License (Westie's Licence)
Download List:

Database & Examples:Windows:

Linux: Tutorial:
Firstly. GO TO LINE 111 IN THE index.php and find require('Classbot.php'); and change it to require('ClassBot.php'); OR IT WILL NOT WORK. Upload the control panel to your website in the directory you want, put the game server in the directory you want, NOT the website directory!.

Secondly. Open Requirements.php and enter your servers MySQL settings.

Thirdly. Go to mywebsite.com/path/to/cpanel/index.php?action=register

Fourthly. Make a account > Then when you have submitted it go to your PhpMyAdmin > Login.

5th. Create a database called `controlpanel`then insert the correct Database & Example into the Query window. go into the members table. find your user. and enter the data of where your server is located. and the executable name. Enter the IP of the server, and the Server it runs on, eg, dedi 1, dedi2, (if you own a host company).

6th. Login to the control panel, and control your server.



Re: [PHP/MySQL] Nitok Control::Panel - MJ! - 11.12.2009

Great job.

~ Btw , it's Westie , not Wesite


Re: [PHP/MySQL] Nitok Control::Panel - darkrider366 - 11.12.2009

Hehe, thank you


Re: [PHP/MySQL] Nitok Control::Panel - Fj0rtizFredde - 11.12.2009

Good Job I will test it soon


Re: [PHP/MySQL] Nitok Control::Panel - darkrider366 - 11.12.2009

Thanks,


Re: [PHP/MySQL] Nitok Control::Panel - Mujib - 12.12.2009

Could you an indication when you release v2.3?


Re: [PHP/MySQL] Nitok Control::Panel - cristab - 12.12.2009

good job


Re: [PHP/MySQL] Nitok Control::Panel - darkrider366 - 12.12.2009

Quote:
Originally Posted by Mujib
Could you an indication when you release v2.3?
Tell you what. Give me about, 2 or so hours to install CentOS and Configure the execution for Linux and I will release it.


Re: [PHP/MySQL] Nitok Control::Panel - cago95 - 12.12.2009

I haven't tested it for now but would you mind to host a demo for it?


Re: [PHP/MySQL] Nitok Control::Panel - Haji - 12.12.2009

Thanks i'm kind of use it.


Re: [PHP/MySQL] Nitok Control::Panel - darkrider366 - 12.12.2009

Quote:
Originally Posted by Haji.
Thanks i'm kind of use it.
By all means! Use it! It's released for public use anyway Just follow the rules.
Quote:
Originally Posted by FяANKЭNSTЭIИ
I haven't tested it for now but would you mind to host a demo for it?
I will not host a demo. But if anyone else would like to. Be my guest.


Re: [PHP/MySQL] Nitok Control::Panel - Mujib - 12.12.2009

Quote:
Originally Posted by darkrider366
Quote:
Originally Posted by Mujib
Could you an indication when you release v2.3?
Tell you what. Give me about, 2 or so hours to install CentOS and Configure the execution for Linux and I will release it.
Thats very nice.
I will recommended anyone your Control Panel!


Re: [PHP/MySQL] Nitok Control::Panel - darkrider366 - 12.12.2009

Thanks


Re: [PHP/MySQL] Nitok SA-MP Control::Panel *Windows* - oOChazyBoyOo - 13.12.2009

nice one son


Re: [PHP/MySQL] Nitok SA-MP Control::Panel *Windows* - Mujib - 13.12.2009

Euhm, are you finished yet?
Or can you give an indication?


Re: [PHP/MySQL] Nitok SA-MP Control::Panel *Windows* - DiddyBop - 13.12.2009

Good job >


Re: [PHP/MySQL] Nitok SA-MP Control::Panel *Windows* - darkrider366 - 13.12.2009

Quote:
Originally Posted by Mujib
Euhm, are you finished yet?
Or can you give an indication?
Yea. Do you want to be a Beta tester for the linux version?


Re: [PHP/MySQL] Nitok SA-MP Control::Panel *Windows* - shark - 13.12.2009

Could you show some screenshots?
Anyways, nice work!


Re: [PHP/MySQL] Nitok SA-MP Control::Panel *Windows* - Mujib - 13.12.2009

Quote:
Originally Posted by darkrider366
Quote:
Originally Posted by Mujib
Euhm, are you finished yet?
Or can you give an indication?
Yea. Do you want to be a Beta tester for the linux version?
Yes, ofcourse!


Re: [PHP/MySQL] Nitok SA-MP Control::Panel *Windows* - darkrider366 - 16.12.2009

ok. Now to test