Okay so first what you'll wanna do is download web-cp3 clean Here
And WAMP server (Windows Apache, Mysql, PHP) Here
Once you've download both of those you're going to have to portforward port 80 and port 8080 on your router.
Once you have portforwarded those ports im going to assume you have a server. goto Start -> All Programs -> Start Wamp Server.
Then you should see an icon down in the bottom right corner of your taskbar. Or you could go Start -> Computer -> Wampserver and start the wamp server from there. Find the www directory in the Wampserver folder and drag all the files from Webcp in there.
Now goto the Config.php in the www directory (That you added from the Webcp folder) Open it with notepad and edit lines 1-15 with your server details.
Also if you're using MYSQL just put the database name but if you're using SQLite then put the location to you're database like this:
And once you have done that put the pub from your server folder in the pub folder in the wwwdirectory by copying an pasting.
And then make a no-ip by clicking here and making an acc.
once you've done that go to your servers config.ini type CTR+F And then type in SLNHost and type in the ip you made at no-ip.com.
And there you have it your working Web-cp you can get to your webcp by typing http://(Youripname.no-ip.org) and if you can't connect by using the ip you made try http://localhost/ (In the adress bar of course).
Hope this helps! If it doesn't post on this thread.
Also fix for guilds:
Code: Select all
$pagetitle = 'Top Guilds';
$tpl->limit = $topguilds;
$guilds = $db->SQL(
'SELECT g.tag, g.name, SUM(c.exp) AS exp, COUNT(c.`name`) AS members
FROM guilds AS g
LEFT JOIN characters AS c ON TRIM(UPPER(g.tag)) = TRIM(UPPER(c.guild)) AND c.admin = \'0\' WHERE g.tag != \'GM\'
GROUP BY g.tag
ORDER BY SUM(c.exp) DESC
$tpl->messages = "No guilds have been created yet.";
$tpl->guilds = $guilds;