Klauser

CoD4 Status Last Release

Recommended Posts

Hello boys I've seen some members talking and trying to install NeHo screenshots site of his thread but those releases doesnt work without a last zip that he uploaded in his private site but cant be found there now his site gives "502 bad gateway" and I think he has not logged in for a long time. I've found that zip on my HDD and it is here now for you. I open this thread because I see members who are trying to install his first releases without knowing that there was a second zip and this is his last release without problems.

 

Instructions

1- Download the last zip thats all you need - Click Me | File attached to this thread too

2- Unzip content in your web

3- Create a clean db for the site no need to import anything

4- Edit classes/MysqliDb.php file with database and website info some examples and dont forget the last /

Create a identy key too for all servers

define('ABS_PATH', dirname(__FILE__) . '/'); //If its not on root change "/" to "/mysubdirectory/" 
define('ABS_URL', 'http://www.mysite.net/');
define('ABS_PATH', dirname(__FILE__) . '/myfolder/'); //If its not on root change "/" to "/mysubdirectory/" 
define('ABS_URL', 'http://www.mysite.net/myfolder/');

5- Edit steamauth/SteamConfig.php file dont forget the last /

$steamauth['apikey'] = "Your Steam WebAPI-Key"; Can get one here https://steamcommunity.com/dev/apikey
$steamauth['domainname'] = "http://www.mysite.net/myfolder/";
$steamauth['logoutpage'] = "http://www.mysite.net/myfolder/";
$steamauth['loginpage'] = "http://www.mysite.net/myfolder/"; 

6- Go to your site but add /install to your link http://www.mysite.net/myfolder/install it will give installation steps

7- Make sure your screenshots and banned/screenshots folders are set to 755 permissions

8- If your installation was successful go to your site and log as admin "bottom right buttons" add your servers with a steam group for admins

"If you add a new member to the group use refresh button in My Servers"

9- Add these lines to your server.cfg

set rcon_password myrconpasswordwithout""
set nehoscreenshot_identkey 12345678 //Same as MysqliDb.php
set nehoscreenshot_url "http://mywebsite.com/screenshots/submit.php"
loadplugin nehoscreenshotuploader

if everything was done well your captures should arrive at the site and the permban button in every capture you should work.

 

Sry If I have english mistakes just let me know im just an English student =}

cod4status.zip

  • Thanks 1

Share this post


Link to post
Share on other sites
7 hours ago, kecdpt said:

Hello boys I've seen some members talking and trying to install NeHo screenshots site of his thread but those releases doesnt work without a last zip that he uploaded in his private site but cant be found there now his site gives "502 bad gateway" and I think he has not logged in for a long time. I've found that zip on my HDD and it is here now for you. I open this thread because I see members who are trying to install his first releases without knowing that there was a second zip and this is his last release without problems.

 

Instructions

1- Download the last zip thats all you need - Click Me | File attached to this thread too

2- Unzip content in your web

3- Create a clean db for the site no need to import anything

4- Edit classes/MysqliDb.php file with database and website info some examples and dont forget the last /

Create a identy key too for all servers


define('ABS_PATH', dirname(__FILE__) . '/'); //If its not on root change "/" to "/mysubdirectory/" 
define('ABS_URL', 'http://www.mysite.net/');

define('ABS_PATH', dirname(__FILE__) . '/myfolder/'); //If its not on root change "/" to "/mysubdirectory/" 
define('ABS_URL', 'http://www.mysite.net/myfolder/');

5- Edit steamauth/SteamConfig.php file dont forget the last /


$steamauth['apikey'] = "Your Steam WebAPI-Key"; Can get one here https://steamcommunity.com/dev/apikey
$steamauth['domainname'] = "http://www.mysite.net/myfolder/";
$steamauth['logoutpage'] = "http://www.mysite.net/myfolder/";
$steamauth['loginpage'] = "http://www.mysite.net/myfolder/"; 

6- Go to your site but add /install to your link http://www.mysite.net/myfolder/install it will give installation steps

7- Make sure your screenshots and banned/screenshots folders are set to 755 permissions

8- If your installation was successful go to your site and log as admin "bottom right buttons" add your servers with a steam group for admins

"If you add a new member to the group use refresh button in My Servers"

9- Add these lines to your server.cfg


set rcon_password myrconpasswordwithout""
set nehoscreenshot_identkey 12345678 //Same as MysqliDb.php
set nehoscreenshot_url "http://mywebsite.com/screenshots/submit.php"
loadplugin nehoscreenshotuploader

if everything was done well your captures should arrive at the site and the permban button in every capture you should work.

 

Sry If I have english mistakes just let me know im just an English student =}

cod4status.zip

i installed and fixed everything, but now how to add a serveR?

 

  • Thanks 1

Share this post


Link to post
Share on other sites
11 hours ago, kecdpt said:

8- If your installation was successful go to your site and log as admin "bottom right buttons" add your servers with a steam group for admins

 

Share this post


Link to post
Share on other sites

@kecdpt bro i created admin user successfully but when i login with my admin account, its dont login and dont even that GUEST status on top left dont change, plus when loggin in it does not give any error that user dont exist etc.!

Share this post


Link to post
Share on other sites

You dont need games in your steam just need the account to login and use the action buttons, you have to create a group just for admins and use that group link for each server. My servers are cracked too and I have never bought CoD4 original. xD 

Share this post


Link to post
Share on other sites
8 minutes ago, kecdpt said:

You dont need games in your steam just need the account to login and use the action buttons, you have to create a group just for admins and use that group link for each server. My servers are cracked too and I have never bought CoD4 original. xD 

@kecdpt hmm bro, btw i tried it on my wamp (localhost) and it worked :D, btw from where i can get screenshotsender plugin? i need compiled .so file, do you have it? if yes then pls give :D

Edited by lordgamer2354
some changings!

Share this post


Link to post
Share on other sites

All plugins are now included in xbase_00.iwd you dont need the so file u just have to load the plugins in your server.cfg as I said

loadplugin nehoscreenshotuploader

Share this post


Link to post
Share on other sites

bro i configured everything correctly but when i go to my page my page so i get the following error 


Fatal error: Uncaught exception 'Exception' with message 'Table 'screenshot.my_servers' doesn't exist query: SELECT * FROM my_servers' in /var/www/html/screenshot_panel/classes/MysqliDb.php:1868 Stack trace: #0 /var/www/html/screenshot_panel/classes/MysqliDb.php(1476): MysqliDb->_prepareQuery() #1 /var/www/html/screenshot_panel/classes/MysqliDb.php(649): MysqliDb->_buildQuery(NULL) #2 /var/www/html/screenshot_panel/index.php(8): MysqliDb->get('my_servers') #3 {main} thrown in /var/www/html/screenshot_panel/classes/MysqliDb.php on line 1868

so i though that maybe it need an table named "my_servers" so when i created table in my database the error was changed and now it needed table "banned_players" 

So my point is that it won't create tables by it self we need  to create with our self 

Help me Please

Share this post


Link to post
Share on other sites

there is an install folder with an install script. page-3.php in particular contains the table creation.

Share this post


Link to post
Share on other sites

You need first to install the script, after that you need to creat an admin user, so later on you will be able to add servers, steam group etc etc,  If you followed the installation steps as kecdpt wrote you should see this tables on your phpmyadmin page. Sry guys I don't play anymore cod but I checked the cod4status page what others use and it works correctly so please double check the installation steps.

Share this post


Link to post
Share on other sites

Now Its Configured 

20 hours ago, D4edalus said:

there is an install folder with an install script. page-3.php in particular contains the table creation.

THanks For Your reply It's Now Configured With Database But Now WHen I go to home page it look like this :(Ss.png.30dcbbf859b1f5361fb7c1307d5646e3.png 

And Here is My Database Tables View

db.thumb.png.9f86186e405998f31ba6612f9f84df30.png

Share this post


Link to post
Share on other sites

I posted an answer to that in another message - here is my answer so you don't have to search for it

I had that problem with the way it was showing but it was because of the directories in MysqliDb.php in the classes directory

this line

define('ABS_URL', 'http://www.cod4status1.kab.iogcod4.com');


should read

define('ABS_URL', 'http://www.cod4status1.kab.iogcod4.com/');

note the trailing / 

Share this post


Link to post
Share on other sites
19 hours ago, NeHo said:

You need first to install the script, after that you need to creat an admin user, so later on you will be able to add servers, steam group etc etc,  If you followed the installation steps as kecdpt wrote you should see this tables on your phpmyadmin page. Sry guys I don't play anymore cod but I checked the cod4status page what others use and it works correctly so please double check the installation steps.

Ouhhh @NeHo is still alive xD I thought you would not come back xD

Share this post


Link to post
Share on other sites


Fatal error: Uncaught exception 'Exception' with message 'Table 'clean1.my_servers' doesn't exist query: SELECT * FROM my_servers' in C:\xampp\htdocs\classes\MysqliDb.php:1868 Stack trace: #0 C:\xampp\htdocs\classes\MysqliDb.php(1476): MysqliDb->_prepareQuery() #1 C:\xampp\htdocs\classes\MysqliDb.php(649): MysqliDb->_buildQuery(NULL) #2 C:\xampp\htdocs\index.php(8): MysqliDb->get('my_servers') #3 {main} thrown in C:\xampp\htdocs\classes\MysqliDb.php on line 1868

Share this post


Link to post
Share on other sites
On 24.2.2018 at 2:22 PM, SHHHH said:


Fatal error: Uncaught exception 'Exception' with message 'Table 'clean1.my_servers' doesn't exist query: SELECT * FROM my_servers' in C:\xampp\htdocs\classes\MysqliDb.php:1868 Stack trace: #0 C:\xampp\htdocs\classes\MysqliDb.php(1476): MysqliDb->_prepareQuery() #1 C:\xampp\htdocs\classes\MysqliDb.php(649): MysqliDb->_buildQuery(NULL) #2 C:\xampp\htdocs\index.php(8): MysqliDb->get('my_servers') #3 {main} thrown in C:\xampp\htdocs\classes\MysqliDb.php on line 1868

 

Share this post


Link to post
Share on other sites
4 hours ago, Explosive said:

@kecdpt Bro I dont have any games in steam then how can I get steam api ?? 

rtfm - you cant

Share this post


Link to post
Share on other sites

I have add these folders @ ssweb.mydomain.com 

define('ABS_PATH', dirname(__FILE__) . '/'); //If its not on root change "/" to "/mysubdirectory/" 
define('ABS_URL', 'http://www.mysite.net/');
define('ABS_PATH', dirname(__FILE__) . '/myfolder/'); //If its not on root change "/" to "/mysubdirectory/" 
define('ABS_URL', 'http://www.mysite.net/myfolder/');

so what to add here ??

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.