Raised This Month: $52 Target: $400
 13% 

[CS:GO] SMPanel Web Interface


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MithatGuner
Member
Join Date: Sep 2016
Location: Turkey
Plugin ID:
5647
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    SMPANEL is web interface for csgo server you can see server stats, send rcon commands, ftp and more.
    Old 06-05-2017 , 18:52   [CS:GO] SMPanel Web Interface
    Reply With Quote #1

    SMPanel v1.1


    SMPANEL is web interface for csgo server you can see server stats, send rcon commands, ftp and more.

    Changelog :
    Code:
    Version 1.1
    Thanks To : Hackmastr
    Thanks To :  Stephen473
    * Source Code Updated And Added DATABASE Config File
    * SQL Injection fixed(or atleast made it harder)
    * No more weird config, just edit the "config.php" file.
    * Now You can select which server to RCON
    * Database Scheme changed, now the servers table contains one more column, called "rcon_password" // For now, has to be inserted manually
    * User name changed to "admin", passwords are now hashed, no more plain-text passwords.
    
    
    How to update:
    
    Execute the .sql file provided
    to login:
    * username: admin
    * password: the same password as OP
    SCREEN SHOTS :
    Click image for larger version

Name:	panelgiris.png
Views:	4799
Size:	22.0 KB
ID:	163224
    Click image for larger version

Name:	panelindex.png
Views:	5221
Size:	61.3 KB
ID:	163225
    Click image for larger version

Name:	paneloyuncular.png
Views:	3088
Size:	23.7 KB
ID:	163227
    Click image for larger version

Name:	panelMESAJ.png
Views:	3332
Size:	18.2 KB
ID:	163226
    Click image for larger version

Name:	panelftp1.png
Views:	3119
Size:	49.9 KB
ID:	163223
    Click image for larger version

Name:	panelftp.png
Views:	2597
Size:	82.5 KB
ID:	163222
    Click image for larger version

Name:	panelayarlar.png
Views:	3687
Size:	24.7 KB
ID:	163221


    LIVE DEMO :http://pluginler.com/smpanel/login.php
    username : admin pass : 1234567890
    Attached Files
    File Type: sp Get Plugin or Get Source (mithat_smpanelv1.1.sp - 634 views - 6.8 KB)
    File Type: zip smpanel.zip (241.3 KB, 1081 views)
    File Type: cfg mithat_database_smpanel.cfg (105 Bytes, 662 views)

    Last edited by MithatGuner; 06-10-2017 at 08:41.
    MithatGuner is offline
    stephen473
    Member
    Join Date: Jan 2017
    Location: in the dreams of girls
    Old 06-05-2017 , 19:24   Re: [CS:GO] SMPanel Web Interface
    Reply With Quote #2

    Very nice, thanks!
    i update and clean the code.
    I think it's more good than other
    Attached Files
    File Type: sp Get Plugin or Get Source (mithat_smpanel.sp - 624 views - 6.2 KB)
    File Type: smx mithat_smpanel.smx (7.7 KB, 221 views)
    __________________
    stephen473 is offline
    MithatGuner
    Member
    Join Date: Sep 2016
    Location: Turkey
    Old 06-05-2017 , 19:28   Re: [CS:GO] SMPanel Web Interface
    Reply With Quote #3

    Quote:
    Originally Posted by stephen473 View Post
    Very nice, thanks!
    i update and clean the code.
    I think it's more good than other
    Thanks!
    MithatGuner is offline
    vortex.
    AlliedModders Donor
    Join Date: Jan 2017
    Location: OnGameFrame()
    Old 06-06-2017 , 10:00   Re: [CS:GO] SMPanel Web Interface
    Reply With Quote #4

    Quote:
    Originally Posted by stephen473 View Post
    Very nice, thanks!
    i update and clean the code.
    I think it's more good than other
    PHP Code:
    ReportADD(const String:id[52],const String:name[52], const String:report[32], const String:steamid[64]) 
    This is not new syntax, stephen. Read this, will help: https://wiki.alliedmods.net/SourcePa..._Syntax#Arrays


    Also, the panel is excellent, Mithat. Thank you for sharing.
    __________________
    vortex. is offline
    MithatGuner
    Member
    Join Date: Sep 2016
    Location: Turkey
    Old 06-06-2017 , 10:51   Re: [CS:GO] SMPanel Web Interface
    Reply With Quote #5

    Quote:
    Originally Posted by vortex. View Post
    PHP Code:
    ReportADD(const String:id[52],const String:name[52], const String:report[32], const String:steamid[64]) 
    This is not new syntax, stephen. Read this, will help: https://wiki.alliedmods.net/SourcePa..._Syntax#Arrays


    Also, the panel is excellent, Mithat. Thank you for sharing.
    Thanks for comment.
    MithatGuner is offline
    TrappaTroopa
    Senior Member
    Join Date: Feb 2016
    Old 06-07-2017 , 15:26   Re: [CS:GO] SMPanel Web Interface
    Reply With Quote #6

    Quote:
    Originally Posted by MithatGuner View Post
    Thanks for comment.
    Hello MithatGuner. I was going through this and I find your instructions a bit confusing. So I am sure others do as well. I have experience setting up other webpanels so I understand what I am supposed to do.

    5- Open index.php with text editor, and edit database connection informations.
    - Where? I do not see anything the end user should change in index.php. What line numbers?
    6- Open ayar.php and edit database connection
    - I did this.
    7- Open rcon.php and edit rcon connection.
    Again. Where? What line numbers? Are we supposed to put our GameServer IP/Port somewhere in this file?
    8- Open mithat_smpanel.sp and edit connections.
    I can do this. I haven't looked at it yet but I know how. However it would be MUCH more user friendly if this was configurable via Sourcemods Database.cfg file. It sounds like you don't even use this file for the plugin at all is that correct?

    Last edited by TrappaTroopa; 06-07-2017 at 15:28.
    TrappaTroopa is offline
    Czar_
    Senior Member
    Join Date: Nov 2016
    Location: Moms Basement
    Old 06-07-2017 , 15:31   Re: [CS:GO] SMPanel Web Interface
    Reply With Quote #7

    Quote:
    Originally Posted by TrappaTroopa View Post
    Hello MithatGuner. I was going through this and I find your instructions a bit confusing. So I am sure others do as well. I have experience setting up other webpanels so I understand what I am supposed to do.

    5- Open index.php with text editor, and edit database connection informations.
    - Where? I do not see anything the end user should change in index.php. What line numbers?
    6- Open ayar.php and edit database connection
    - I did this.
    7- Open rcon.php and edit rcon connection.
    Again. Where? What line numbers? Are we supposed to put our GameServer IP/Port somewhere in this file?
    8- Open mithat_smpanel.sp and edit connections.
    I can do this. I haven't looked at it yet but I know how. However it would be MUCH more user friendly if this was configurable via Sourcemods Database.cfg file. It sounds like you don't even use this file for the plugin at all is that correct?
    In both php files, he left comments that say edit here.
    __________________
    Czar_ is offline
    TrappaTroopa
    Senior Member
    Join Date: Feb 2016
    Old 06-07-2017 , 15:36   Re: [CS:GO] SMPanel Web Interface
    Reply With Quote #8

    Quote:
    Originally Posted by Czar_ View Post
    In both php files, he left comments that say edit here.
    OK I now see it in the index.php file. Maybe it would be better if he put this at the top of the file instead of the middle. Just my 2 cents

    I still do not see anything to edit in rcon.php however. I've been looking at bootstrap code all day though, so my eyes may just be glazing over it.\

    I think I see it now. Is it line 225?
    Code:
    $r = new rcon("IP",11200,"PASS");

    Last edited by TrappaTroopa; 06-07-2017 at 15:43.
    TrappaTroopa is offline
    MithatGuner
    Member
    Join Date: Sep 2016
    Location: Turkey
    Old 06-07-2017 , 16:58   Re: [CS:GO] SMPanel Web Interface
    Reply With Quote #9

    Quote:
    Originally Posted by TrappaTroopa View Post
    Hello MithatGuner. I was going through this and I find your instructions a bit confusing. So I am sure others do as well. I have experience setting up other webpanels so I understand what I am supposed to do.

    5- Open index.php with text editor, and edit database connection informations.
    - Where? I do not see anything the end user should change in index.php. What line numbers?
    6- Open ayar.php and edit database connection
    - I did this.
    7- Open rcon.php and edit rcon connection.
    Again. Where? What line numbers? Are we supposed to put our GameServer IP/Port somewhere in this file?
    8- Open mithat_smpanel.sp and edit connections.
    I can do this. I haven't looked at it yet but I know how. However it would be MUCH more user friendly if this was configurable via Sourcemods Database.cfg file. It sounds like you don't even use this file for the plugin at all is that correct?

    5- //EDIT CONNECTION INFORMATION
    @$link = mysql_connect("pluginler.com", "ni792093_5sql28", "PASSWORD");
    mysql_select_db("ni792093_5sql28", $link);

    7-$r = new rcon("IP",11200,"PASS");

    8- Soon i share new version thx
    MithatGuner is offline
    stephen473
    Member
    Join Date: Jan 2017
    Location: in the dreams of girls
    Old 06-07-2017 , 16:59   Re: [CS:GO] SMPanel Web Interface
    Reply With Quote #10

    Quote:
    Originally Posted by vortex. View Post
    PHP Code:
    ReportADD(const String:id[52],const String:name[52], const String:report[32], const String:steamid[64]) 
    This is not new syntax, stephen. Read this, will help: https://wiki.alliedmods.net/SourcePa..._Syntax#Arrays


    Also, the panel is excellent, Mithat. Thank you for sharing.
    i never said the update finished.
    it's not my plugin and panel, i'm just trying to help the people.and you can change Strings to char, it's easy.
    __________________
    stephen473 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 06:55.


    Powered by vBulletin®
    Copyright ©2000 - 2019, vBulletin Solutions, Inc.
    Theme made by Freecode