Phase 4: Update documentation and remaining user-facing content
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
d692485a08
commit
0ea24764e3
56 changed files with 101 additions and 101 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## Should Remote Agent Code Be Included?
|
||||
|
||||
Based on my analysis of the Open Game Panel architecture, **I recommend including both the Linux and Windows agent code in this repository**. Here's why:
|
||||
Based on my analysis of the GameServer Panel architecture, **I recommend including both the Linux and Windows agent code in this repository**. Here's why:
|
||||
|
||||
## Benefits of Including Agent Code
|
||||
|
||||
|
|
@ -83,7 +83,7 @@ panel/
|
|||
|
||||
### Phase 1: Repository Restructuring
|
||||
1. **Move Current Files**: Reorganize current web panel code into `/web` directory
|
||||
2. **Add Agent Code**: Clone and integrate OGP-Agent-Linux and OGP-Agent-Windows
|
||||
2. **Add Agent Code**: Clone and integrate GSP-Agent-Linux and GSP-Agent-Windows
|
||||
3. **Create Shared Libraries**: Extract common code into `/shared`
|
||||
4. **Update Paths**: Adjust all file references and includes
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# Open Game Panel (OGP) Architecture Documentation
|
||||
# GameServer Panel (GSP) Architecture Documentation
|
||||
|
||||
## Overview
|
||||
|
||||
Open Game Panel is a distributed game server management system consisting of three main components:
|
||||
GameServer Panel is a distributed game server management system consisting of three main components:
|
||||
|
||||
1. **Web Panel** (this repository) - PHP-based web interface for management
|
||||
2. **Linux Agent** - Remote agent for Linux game servers
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# Open Game Panel Development Guide
|
||||
# GameServer Panel Development Guide
|
||||
|
||||
## Understanding the Codebase
|
||||
|
||||
This guide helps developers understand and work with the Open Game Panel codebase effectively.
|
||||
This guide helps developers understand and work with the GameServer Panel codebase effectively.
|
||||
|
||||
## Component Integration
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ $encrypted_data = $enc->encrypt($command_json);
|
|||
// modules/mymodule/mymodule.php
|
||||
|
||||
// Security check
|
||||
if (!defined('OGP_LANG')) {
|
||||
if (!defined('GSP_LANG')) {
|
||||
exit('Direct access not allowed');
|
||||
}
|
||||
|
||||
|
|
@ -145,8 +145,8 @@ $encrypted_data = $enc->encrypt($command_json);
|
|||
```php
|
||||
<?php
|
||||
// lang/English/modules/mymodule.php
|
||||
define('OGP_LANG_mymodule_title', 'My Module');
|
||||
define('OGP_LANG_mymodule_description', 'Module description');
|
||||
define('GSP_LANG_mymodule_title', 'My Module');
|
||||
define('GSP_LANG_mymodule_description', 'Module description');
|
||||
?>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Open Game Panel - Project Statistics
|
||||
# GameServer Panel - Project Statistics
|
||||
|
||||
## Codebase Analysis
|
||||
|
||||
|
|
|
|||
18
README.md
18
README.md
|
|
@ -1,10 +1,10 @@
|
|||
# Open Game Panel - Enhanced Fork
|
||||
# GameServer Panel - Enhanced Fork
|
||||
|
||||
This repository contains an enhanced version of Open Game Panel (OGP) with AdminLTE theme integration and additional features. Open Game Panel is a comprehensive game server management system that allows hosting providers and users to easily manage game servers across multiple platforms.
|
||||
This repository contains an enhanced version of GameServer Panel (GSP) with AdminLTE theme integration and additional features. GameServer Panel is a comprehensive game server management system that allows hosting providers and users to easily manage game servers across multiple platforms.
|
||||
|
||||
## What is Open Game Panel?
|
||||
## What is GameServer Panel?
|
||||
|
||||
Open Game Panel is a distributed system consisting of:
|
||||
GameServer Panel is a distributed system consisting of:
|
||||
- **Web Panel** (this repository) - PHP-based web interface for server management
|
||||
- **Remote Agents** - Lightweight applications that run on game servers (Linux/Windows)
|
||||
- **Game Server Integration** - Support for 100+ games with automated installation and management
|
||||
|
|
@ -81,10 +81,10 @@ Open Game Panel is a distributed system consisting of:
|
|||
|
||||
## Related Repositories
|
||||
|
||||
This project is based on the original Open Game Panel:
|
||||
- [OpenGamePanel/OGP-Website](https://github.com/OpenGamePanel/OGP-Website) - Original web panel
|
||||
- [OpenGamePanel/OGP-Agent-Linux](https://github.com/OpenGamePanel/OGP-Agent-Linux) - Linux agent
|
||||
- [OpenGamePanel/OGP-Agent-Windows](https://github.com/OpenGamePanel/OGP-Agent-Windows) - Windows agent
|
||||
This project is based on the original GameServer Panel:
|
||||
- [OpenGamePanel/GSP-Website](https://github.com/OpenGamePanel/GSP-Website) - Original web panel
|
||||
- [OpenGamePanel/GSP-Agent-Linux](https://github.com/OpenGamePanel/GSP-Agent-Linux) - Linux agent
|
||||
- [OpenGamePanel/GSP-Agent-Windows](https://github.com/OpenGamePanel/GSP-Agent-Windows) - Windows agent
|
||||
|
||||
## Contributing
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ This project is licensed under the GNU General Public License v2.0 - see the [LI
|
|||
|
||||
## Support
|
||||
|
||||
- Original OGP Community: https://opengamepanel.org
|
||||
- GameServer Panel Community: https://gameservers-world.com
|
||||
- Issues and bug reports: Use GitHub Issues
|
||||
- Development discussions: See GitHub Discussions
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
# Open Game Panel - System Analysis Report
|
||||
# GameServer Panel - System Analysis Report
|
||||
|
||||
## Executive Summary
|
||||
|
||||
This repository contains a fork of the Open Game Panel (OGP) project, which is a comprehensive game server management system. After thorough analysis, I've documented the complete architecture and provide recommendations for integrating the remote agent code to create a unified development environment.
|
||||
This repository contains a fork of the GameServer Panel (GSP) project, which is a comprehensive game server management system. After thorough analysis, I've documented the complete architecture and provide recommendations for integrating the remote agent code to create a unified development environment.
|
||||
|
||||
## Original Project Context
|
||||
|
||||
The original Open Game Panel project is maintained by the OpenGamePanel organization on GitHub:
|
||||
- **Main Web Panel**: [OpenGamePanel/OGP-Website](https://github.com/OpenGamePanel/OGP-Website)
|
||||
- **Linux Agent**: [OpenGamePanel/OGP-Agent-Linux](https://github.com/OpenGamePanel/OGP-Agent-Linux)
|
||||
- **Windows Agent**: [OpenGamePanel/OGP-Agent-Windows](https://github.com/OpenGamePanel/OGP-Agent-Windows)
|
||||
The original GameServer Panel project is maintained by the OpenGamePanel organization on GitHub:
|
||||
- **Main Web Panel**: [OpenGamePanel/GSP-Website](https://github.com/OpenGamePanel/GSP-Website)
|
||||
- **Linux Agent**: [OpenGamePanel/GSP-Agent-Linux](https://github.com/OpenGamePanel/GSP-Agent-Linux)
|
||||
- **Windows Agent**: [OpenGamePanel/GSP-Agent-Windows](https://github.com/OpenGamePanel/GSP-Agent-Windows)
|
||||
- **Official Website**: opengamepanel.org (blocked in this environment)
|
||||
|
||||
## Current Repository State
|
||||
|
||||
This repository appears to be a customized version of the OGP web panel with:
|
||||
This repository appears to be a customized version of the GSP web panel with:
|
||||
- AdminLTE theme integration
|
||||
- Custom modules and functionality
|
||||
- Modified database configurations
|
||||
|
|
@ -109,4 +109,4 @@ The documentation includes detailed setup instructions for:
|
|||
- Testing procedures
|
||||
- Debugging techniques
|
||||
|
||||
This analysis provides you with a solid foundation for understanding the complex OGP codebase and making informed decisions about improvements and architectural changes.
|
||||
This analysis provides you with a solid foundation for understanding the complex GSP codebase and making informed decisions about improvements and architectural changes.
|
||||
12
TODO.md
12
TODO.md
|
|
@ -1,6 +1,6 @@
|
|||
# Gameservers World – Development & Operations TODO
|
||||
|
||||
This document tracks development tasks, infrastructure setup, and business steps for building our commercial game server community around the **GS Panel** (fork of OGP), aka **GSP**.
|
||||
This document tracks development tasks, infrastructure setup, and business steps for building our commercial game server community around the **GS Panel** (fork of GSP), aka **GSP**.
|
||||
The software is developed and maintained by **World Domination Software (WDS)**.
|
||||
|
||||
---
|
||||
|
|
@ -9,7 +9,7 @@ The software is developed and maintained by **World Domination Software (WDS)**.
|
|||
- [ ] Repo for GSW website
|
||||
- [ ] Repo for WDS website
|
||||
- [ ] Create organization for WDS
|
||||
- [ ] Create OGP-like section and forum/docs on WDS website
|
||||
- [ ] Create GSP-like section and forum/docs on WDS website
|
||||
- [ ] Repo for game post-install config scripts and files
|
||||
- [ ] Compare agent files — can we use the same files?
|
||||
- [ ] Add scripts for setting up servers with required files, DLL, settings
|
||||
|
|
@ -17,12 +17,12 @@ The software is developed and maintained by **World Domination Software (WDS)**.
|
|||
|
||||
---
|
||||
|
||||
## 1. Core Panel (OGP → GS Fork)
|
||||
## 1. Core Panel (GSP → GS Fork)
|
||||
- [ ] GSW is a host provider. GSP is a product of WDS. Brand as such. The WDS site needs to keep the forum and documentation.
|
||||
- [ ] Replace all references from **OGP** → **GS / Gameservers World**
|
||||
- [ ] Replace all references from **GSP** → **GS / Gameservers World**
|
||||
- [ ] Update UI text, branding, and logos
|
||||
- [ ] Create new default theme (dark/light mode support)
|
||||
- [ ] Review and clean up legacy OGP code no longer needed
|
||||
- [ ] Review and clean up legacy GSP code no longer needed
|
||||
- [ ] Update README.md with GS branding + installation instructions
|
||||
- [ ] Ensure GPL license text is preserved and updated with attribution
|
||||
- [ ] Remove `print` language as there is probably a better option now — which one?
|
||||
|
|
@ -130,6 +130,6 @@ The software is developed and maintained by **World Domination Software (WDS)**.
|
|||
---
|
||||
|
||||
# ✅ Notes
|
||||
- **GPL Compliance**: Keep OGP attribution in LICENSE, but rebrand UI and docs to GS.
|
||||
- **GPL Compliance**: Keep GSP attribution in LICENSE, but rebrand UI and docs to GS.
|
||||
- **Secrets**: Never commit live passwords or IPs to public repos — use `.env` or secrets repo.
|
||||
- **Testing**: Always stage DB changes, backup scripts, and automation before production.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/*
|
||||
This FTP addon works with EHCP (www.ehcp.net)
|
||||
It allows OGP - the open game panel - to manage custom FTP user accounts
|
||||
It allows GSP - the GameServer Panel - to manage custom FTP user accounts
|
||||
|
||||
by own3mall
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/*
|
||||
This FTP addon works with EHCP (www.ehcp.net)
|
||||
It allows OGP - the open game panel - to manage custom FTP user accounts
|
||||
It allows GSP - the GameServer Panel - to manage custom FTP user accounts
|
||||
|
||||
by own3mall
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -342,7 +342,7 @@ function get_faster_rsync($rsync_sites)
|
|||
}
|
||||
|
||||
if($faster == "NONE")
|
||||
$faster = "rsync.opengamepanel.org";
|
||||
$faster = "rsync.gameservers-world.com";
|
||||
return $faster;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ function get_map_path($query_name,$mod,$map) {
|
|||
return get_first_existing_file($map_paths, 'http://gametracker.com', 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0');
|
||||
}
|
||||
|
||||
// Thanks adjo (http://opengamepanel.org/forum/viewthread.php?thread_id=5209#post_25073)
|
||||
// Thanks adjo (http://gameserver-panel.org/forum/viewthread.php?thread_id=5209#post_25073)
|
||||
function curlCacheImage($cachePath, $resource){
|
||||
if(preg_match('/^(https?:\/\/)/', $resource)){
|
||||
$map = explode('/', $resource);
|
||||
|
|
@ -365,7 +365,7 @@ function mymail($email_address, $subject, $message, $panel_settings, $user_to_pa
|
|||
}
|
||||
|
||||
if(empty($panel_settings['panel_email_address'])){
|
||||
$panel_email = "noreply@opengamepanel.org";
|
||||
$panel_email = "noreply@gameserver-panel.org";
|
||||
}else{
|
||||
$panel_email = $panel_settings['panel_email_address'];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ function createDatabaseConnection($db_type,$db_host,$db_user,$db_pass,$db_name,$
|
|||
if ( function_exists('mysqli_connect') )
|
||||
require_once("includes/database_mysqli.php");
|
||||
else
|
||||
die("<p class='failure'>OGP requires the <a href='http://php.net/manual/en/book.mysqli.php' target='_blank'>mysqli PHP extension</a>. Please install it, and then try again.</p>");
|
||||
die("<p class='failure'>GSP requires the <a href='http://php.net/manual/en/book.mysqli.php' target='_blank'>mysqli PHP extension</a>. Please install it, and then try again.</p>");
|
||||
$database = new GSPDatabaseMysql();
|
||||
$connect_value = $database->connect($db_host,$db_user,$db_pass,$db_name,$table_prefix);
|
||||
|
||||
|
|
@ -229,7 +229,7 @@ function sanitizeInputStr($strToProcess, $removeHTML = true, $trim = true, $remo
|
|||
|
||||
function startSession(){
|
||||
if(!isset($_SESSION)){
|
||||
session_name("opengamepanel_web");
|
||||
session_name("gameserver-panel_web");
|
||||
session_start();
|
||||
}
|
||||
}
|
||||
|
|
@ -410,7 +410,7 @@ function runPostUpdateOperations(){
|
|||
}
|
||||
}
|
||||
|
||||
function getOGPGitHubURL($gitHubUsername, $repo){
|
||||
function getGSPGitHubURL($gitHubUsername, $repo){
|
||||
$OGPGitHub = "https://github.com/OpenGamePanel/";
|
||||
$gitHubURL = $OGPGitHub;
|
||||
if(isset($gitHubUsername) && !empty($gitHubUsername)){
|
||||
|
|
@ -426,7 +426,7 @@ function getOGPGitHubURL($gitHubUsername, $repo){
|
|||
return $OGPGitHub;
|
||||
}
|
||||
|
||||
function getOGPGitHubURLUnstrict($gitHubUsername){
|
||||
function getGSPGitHubURLUnstrict($gitHubUsername){
|
||||
$OGPGitHub = "https://github.com/OpenGamePanel/";
|
||||
$gitHubURL = $OGPGitHub;
|
||||
if(isset($gitHubUsername) && !empty($gitHubUsername)){
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ class OGPView {
|
|||
}
|
||||
else
|
||||
{
|
||||
$footer .= "<div class='footer center'>".get_lang('copyright')." © <a href=\"http://www.opengamepanel.org\">Open Game Panel</a> " . date("Y") . " - ".get_lang('all_rights_reserved').".</div>";
|
||||
$footer .= "<div class='footer center'>".get_lang('copyright')." © <a href=\"http://www.gameserver-panel.org\">Open Game Panel</a> " . date("Y") . " - ".get_lang('all_rights_reserved').".</div>";
|
||||
}
|
||||
|
||||
// Add our magnific popup holder to the page (hidden element):
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ require_once("includes/functions.php");
|
|||
require_once("includes/helpers.php");
|
||||
require_once("includes/html_functions.php");
|
||||
|
||||
// Start the session valid for opengamepanel_web only
|
||||
// Start the session valid for gameserver-panel_web only
|
||||
startSession();
|
||||
|
||||
// Useful for debugging :)
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ function showAPILinks(elem){
|
|||
actions.push({url: 'gsp_api.php?gamemanager/update', lang: 'get_steam_autoupdate_api_link', additional: '&type=steam', selected: true});
|
||||
}
|
||||
|
||||
var selectListHTML = '<select class="ogpAPIActions">';
|
||||
var selectListHTML = '<select class="gspAPIActions">';
|
||||
for(var i = 0; i < actions.length; i++){
|
||||
selectListHTML += '<option value="' + actions[i]["url"] + '" ' + (actions[i].hasOwnProperty('additional') && actions[i].additional ? 'additional="' + actions[i].additional + '"' : '') + ' ' + (actions[i].hasOwnProperty('selected') && actions[i]["selected"] && actions[i]["selected"] == true ? 'selected' : '') + '>' + getLang(actions[i]["lang"]) + '</option>';
|
||||
}
|
||||
|
|
@ -83,7 +83,7 @@ function showAPILinks(elem){
|
|||
$("div.mangificWrapper .magnificContentsDiv").html(decodeEntities(getLang('api_links_popup_html')) + '<p>' + getLang('actions') +': ' + selectListHTML + '</p><p><input class="updateLink" style="width: 75%;" type="text" value=""><button class="copyButton">' + $(elem).attr('copyme') + '</button> <span class="copyStatus"></span></p>');
|
||||
|
||||
showPopup(function(){
|
||||
$(".ogpAPIActions").change(function(e){
|
||||
$(".gspAPIActions").change(function(e){
|
||||
var newActionValue = $(this).val();
|
||||
var apiURL = panelURL + '/' + newActionValue + '&token=' + apiToken + '&ip=' + ipAddr + '&port=' + port + '&mod_key=' + modKey;
|
||||
var additionalParamsToAdd = $('option:selected', $(this)).attr('additional');
|
||||
|
|
@ -103,7 +103,7 @@ function showAPILinks(elem){
|
|||
|
||||
copyInput($("input.updateLink"), $("span.copyStatus"), elem);
|
||||
|
||||
$(".ogpAPIActions").trigger('change');
|
||||
$(".gspAPIActions").trigger('change');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1038,7 +1038,7 @@ $(document).ready(function(){
|
|||
"<label for='subject'>"+subject+"</label><br>\n"+
|
||||
"<input name='subject' id='subject' type=text value='Files attached' style='width:100%;'><br>\n"+
|
||||
"<label for='message'>"+message+"</label><br>\n"+
|
||||
"<textarea name='message' id='message' style='width:100%;'>There are the files you requested from OGP</textarea><br>\n"+
|
||||
"<textarea name='message' id='message' style='width:100%;'>There are the files you requested from GSP</textarea><br>\n"+
|
||||
"<label for='dest_email'>"+dest_email+"</label><br>\n"+
|
||||
"<input name='dest_email' id='dest_email' type=text value='"+user_email+"' style='width:100%;'><br>\n");
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -224,9 +224,9 @@ function exec_ogp_module()
|
|||
}
|
||||
|
||||
// GitHub URL
|
||||
if(function_exists("getOGPGitHubURLUnstrict") && function_exists("getGitHubOrganization")){
|
||||
if(function_exists("getGSPGitHubURLUnstrict") && function_exists("getGitHubOrganization")){
|
||||
$gitHubUsername = $settings["custom_github_update_username"];
|
||||
$gitHubURL = getOGPGitHubURLUnstrict($gitHubUsername);
|
||||
$gitHubURL = getGSPGitHubURLUnstrict($gitHubUsername);
|
||||
$gitHubOrganization = getGitHubOrganization($gitHubURL);
|
||||
}else{
|
||||
$gitHubURL = "https://github.com/OpenGamePanel/";
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ function exec_gsp_module()
|
|||
'<input class=search name=search id=search type=text placeholder="Search"/></div><br></div>';
|
||||
|
||||
require 'modules/faq/rss_php.php';
|
||||
$url = 'https://opengamepanel.org/faq/rss.php';
|
||||
$url = 'https://gameserver-panel.org/faq/rss.php';
|
||||
$local_copy = 'modules/faq/faq.rss'; ## Relative path
|
||||
$save_as = realpath('modules' . DIRECTORY_SEPARATOR . 'faq') . DIRECTORY_SEPARATOR . 'faq.rss';
|
||||
## Full path (adding the filename to realpath would fail if the file does not exists yet)
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ if(function_exists("getClientIPAddress")){
|
|||
if(function_exists("startSession")){
|
||||
startSession();
|
||||
}else{
|
||||
session_name("opengamepanel_web");
|
||||
session_name("gameserver-panel_web");
|
||||
session_start();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ if(file_exists("includes/helpers.php")){
|
|||
if(function_exists("startSession")){
|
||||
startSession();
|
||||
}else{
|
||||
session_name("opengamepanel_web");
|
||||
session_name("gameserver-panel_web");
|
||||
session_start();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ if(file_exists("includes/helpers.php")){
|
|||
if(function_exists("startSession")){
|
||||
startSession();
|
||||
}else{
|
||||
session_name("opengamepanel_web");
|
||||
session_name("gameserver-panel_web");
|
||||
session_start();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ require_once("modules/config_games/server_config_parser.php");
|
|||
}
|
||||
elseif ($log_retval == 1 || $log_retval == 2)
|
||||
{
|
||||
// Force log file contents to be UTF-8 (fixes http://www.opengamepanel.org/forum/viewthread.php?thread_id=5379)
|
||||
// Force log file contents to be UTF-8 (fixes http://www.gameserver-panel.org/forum/viewthread.php?thread_id=5379)
|
||||
if(hasValue($home_log)){
|
||||
$home_log = utf8_encode($home_log);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ function update_local_copies()
|
|||
}
|
||||
echo "Updating local cache of rsync meta data files<br>";
|
||||
$update_files = array('sizes.list', 'rsync.list', 'rsync_sites.list');
|
||||
$update_urls = array('rsync.opengamepanel.org', 'dls.atl.webehostin.com');
|
||||
$update_urls = array('rsync.gameserver-panel.org', 'dls.atl.webehostin.com');
|
||||
|
||||
$context = array(
|
||||
'ssl' => array(
|
||||
|
|
@ -331,9 +331,9 @@ function exec_gsp_module() {
|
|||
{
|
||||
if(!is_file("modules/gamemanager/rsync.list"))
|
||||
{
|
||||
print_failure("Trouble accessing http://www.opengamepanel.org/rsync.list<br>".
|
||||
"Make sure allow_fopen_url is set to \"On\" in your php.ini and opengamepanel.org is online<br>".
|
||||
"In the mean time, you can get a local copy of the file by running wget http://www.opengamepanel.org/sync_data/rsync.list -O /path/to/ogpweb/modules/gamemanager/rsync.list");
|
||||
print_failure("Trouble accessing http://www.gameserver-panel.org/rsync.list<br>".
|
||||
"Make sure allow_fopen_url is set to \"On\" in your php.ini and gameserver-panel.org is online<br>".
|
||||
"In the mean time, you can get a local copy of the file by running wget http://www.gameserver-panel.org/sync_data/rsync.list -O /path/to/ogpweb/modules/gamemanager/rsync.list");
|
||||
return;
|
||||
}
|
||||
# print_failure("Error loading rsync.list");
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ function exec_gsp_module()
|
|||
}
|
||||
elseif ($log_retval == 1 || $log_retval == 2)
|
||||
{
|
||||
// Force log file contents to be UTF-8 (fixes http://www.opengamepanel.org/forum/viewthread.php?thread_id=5379)
|
||||
// Force log file contents to be UTF-8 (fixes http://www.gameserver-panel.org/forum/viewthread.php?thread_id=5379)
|
||||
if(hasValue($home_log)){
|
||||
$home_log = utf8_encode($home_log);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ if(file_exists("includes/helpers.php")){
|
|||
if(function_exists("startSession")){
|
||||
startSession();
|
||||
}else{
|
||||
session_name("opengamepanel_web");
|
||||
session_name("gameserver-panel_web");
|
||||
session_start();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Module-News
|
||||
Simple news module for OGP
|
||||
Simple news module for GSP
|
||||
|
||||
Based on News Lister from www.netartmedia.net/
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
// Check http://www.netartmedia.net/newslister for demos and information
|
||||
// Released under the MIT license
|
||||
|
||||
session_name('opengamepanel_web');
|
||||
session_name('gameserver-panel_web');
|
||||
session_start();
|
||||
|
||||
$output_dir = "uploads/";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* OGP - Open Game Panel
|
||||
* Copyright (C) 2008 - 2017 The OGP Development Team
|
||||
*
|
||||
* http://www.opengamepanel.org/
|
||||
* http://www.gameserver-panel.org/
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ function exec_gsp_module()
|
|||
global $view;
|
||||
|
||||
// GitHub URL
|
||||
if(function_exists("getOGPGitHubURL") && function_exists("getOGPGitHubURLUnstrict")){
|
||||
if(function_exists("getGSPGitHubURL") && function_exists("getGSPGitHubURLUnstrict")){
|
||||
$gitHubUsername = $settings["custom_github_update_username"];
|
||||
$gitHubURL = getOGPGitHubURL($gitHubUsername, REPONAME);
|
||||
$gitHubURL = getGSPGitHubURL($gitHubUsername, REPONAME);
|
||||
}else{
|
||||
$gitHubURL = "https://github.com/OpenGamePanel/";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ Part of the ZPE-Online Master Control Program (MCP) Project.
|
|||
|
||||

|
||||
|
||||
NOTE!!! The Master Control Program (MCP) will be under constant changes as it evolves over time, there will be no "VERSIONS" as there is no "End Goal", So please make sure to regularly update to get latest version until we are able to implement an automatc update feature. Always keep checking this repository. Please make sure to report any problems in this github projects issues. Alternatively you can also join our discord server to talk more about this or for giving us feedback! also you can visit our Master Control Program Theme thread on the following two forums For Open Game Panel Related feedback or issues: https://www.opengamepanel.org/forum/viewthread.php?thread_id=7620 For Non Open Game Panel related feedback or issues: https://www.zpeonline.co.uk/forum
|
||||
NOTE!!! The Master Control Program (MCP) will be under constant changes as it evolves over time, there will be no "VERSIONS" as there is no "End Goal", So please make sure to regularly update to get latest version until we are able to implement an automatc update feature. Always keep checking this repository. Please make sure to report any problems in this github projects issues. Alternatively you can also join our discord server to talk more about this or for giving us feedback! also you can visit our Master Control Program Theme thread on the following two forums For GameServer Panel Related feedback or issues: https://www.opengamepanel.org/forum/viewthread.php?thread_id=7620 For Non GameServer Panel related feedback or issues: https://www.zpeonline.co.uk/forum
|
||||
|
||||
Enjoy!!.
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ Currently this theme is and the project is still in early development, so please
|
|||
|
||||
ZPE-Online discord server
|
||||
github repository issues
|
||||
theme thread of the Open Game Panel forum
|
||||
theme thread of the GameServer Panel forum
|
||||
Master Control Program section of the ZPE-Online Forum
|
||||
Your feedback is essential so the MCP theme and other developments we make can further be improved and help this project evolve.
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
$('.magnificContentsDiv').bind("DOMSubtreeModified",function(){
|
||||
$('.updateLink, .ogpAPIActions').addClass('form-control').css('display','inline-block');
|
||||
$('.updateLink, .gspAPIActions').addClass('form-control').css('display','inline-block');
|
||||
$('.copyButton').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -18,16 +18,16 @@
|
|||
<p2>Open Game Panel</p2>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="http://www.opengamepanel.org" shape="rect" target="_blank">OGP Website</a>
|
||||
<a href="http://www.gameserver-panel.org" shape="rect" target="_blank">OGP Website</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://sourceforge.net/apps/trac/hldstart/wiki" shape="rect" target="_blank">OGP Wiki</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.opengamepanel.org/infusions/pro_download_panel/download.php?catid=0" shape="rect" target="_blank">Downloads</a>
|
||||
<a href="http://www.gameserver-panel.org/infusions/pro_download_panel/download.php?catid=0" shape="rect" target="_blank">Downloads</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.opengamepanel.org/infusions/chat/index.php" shape="rect" target="_blank">Chat Room</a>
|
||||
<a href="http://www.gameserver-panel.org/infusions/chat/index.php" shape="rect" target="_blank">Chat Room</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://sourceforge.net/p/hldstart/code/HEAD/log/" shape="rect" target="_blank">Developer Logs</a>
|
||||
|
|
@ -38,19 +38,19 @@
|
|||
<p2>Fast Discussion Forum</p2>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="http://www.opengamepanel.org/forum" shape="rect" target="_blank">OGP Discussion Forums</a>
|
||||
<a href="http://www.gameserver-panel.org/forum" shape="rect" target="_blank">OGP Discussion Forums</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.opengamepanel.org/forum/viewforum.php?forum_id=2" shape="rect" target="_blank">Support</a>
|
||||
<a href="http://www.gameserver-panel.org/forum/viewforum.php?forum_id=2" shape="rect" target="_blank">Support</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.opengamepanel.org/forum/viewforum.php?forum_id=4" shape="rect" target="_blank">Feature Request</a>
|
||||
<a href="http://www.gameserver-panel.org/forum/viewforum.php?forum_id=4" shape="rect" target="_blank">Feature Request</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.opengamepanel.org/forum/viewforum.php?forum_id=5" shape="rect" target="_blank">Patches/Contributions</a>
|
||||
<a href="http://www.gameserver-panel.org/forum/viewforum.php?forum_id=5" shape="rect" target="_blank">Patches/Contributions</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.opengamepanel.org/articles.php?article_id=6" shape="rect" target="_blank">Game Config Help (XML files)</a>
|
||||
<a href="http://www.gameserver-panel.org/articles.php?article_id=6" shape="rect" target="_blank">Game Config Help (XML files)</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
$('.magnificContentsDiv').bind("DOMSubtreeModified",function(){
|
||||
$('.updateLink, .ogpAPIActions').addClass('form-control').css('display','inline-block');
|
||||
$('.updateLink, .gspAPIActions').addClass('form-control').css('display','inline-block');
|
||||
$('.copyButton').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue