5095 ( CoEmu )( Ranks Page,.. PHP Coded )

03/12/2010 14:06 LegalConquer#1
Guide on how to Make and Successfully Install this ranks page into your website.
And edit things
Working Demo: [Only registered and activated users can see links. Click Here To Register...]
HomePage Of Demo: [Only registered and activated users can see links. Click Here To Register...]

Ok First of all You Need to open ( Config.php ) In Wordpad Or your website editing software
I use NotePad++ you can find this with Google.

You Will see something like this...
PHP Code:
<?php
    
//require_once './inc/class.captcha.php';
    // Configurations
    
$myhost='localhost';   // MySQL database address
    
$mypass='mysql pass';            // MySQL server login
    
$myuser='root';            // MySQL server pass ( will probably be root )
    
    
$accdb='account db';         //your server account database
    //$accdb='account db';   //your server account database
    
$gamedb='account db';                //your server game database
    
    //register.php
    
$passhash=false;     // set to true if u wish to save hash of pass instead of plain text pass
  
  //status.php
  
$serveraddress='TYPE IP HERE';     //your server ip
    
$serverport=LOG IN PORT HERE;        //your server LOGIN connection port
    
$servername='SERVER NAME';     //your server name
Ok now your server login port is when you open server.dat in your co folder
its the port in there 9958 is the default i think.
$accdb And $gamedb Are the same this is only an alterd version of the one
you get with Binary Servers so i just fixed it up to work with coemu.

Once you do this upload the Ranks.Rar into your web directory Try to seprate it from the rest of your website Folders so try to keep it in a new folder for easy editing and to avoid conflict with the other Config.php if you have one.

Inserting this into a Page?
I like to use a simple iframe.! works wonders sometimes.
On your ranks page you have made that fits in with the rest of the website
Find where you want to put this big Iframe Box and insert this code into that space...
PHP Code:
<iframe name="I1" src="LINK TO RANKSPAGE HERE Example ranks/ranks.php" width="674" height="897" style="color: #000000; border: 1px solid #000000; padding: 0" border="0" frameborder="0">
        
Type here what people will see if there browser doesnt support irframes only if there useing a windows 95 computer tbh tho lol. )
        </
iframe
And thats it.
Note: I will be updating this to show Nobility Ranks and Koboard once i get round to needing it on my website.
Download: [Only registered and activated users can see links. Click Here To Register...]
03/12/2010 15:17 Luiz01#2
Nice.
03/12/2010 15:36 LegalConquer#3
Quote:
Originally Posted by Luiz01 View Post
Nice.
your very welcome ;)
03/15/2010 20:33 zaharelr#4
Hi , sorry , but how do i put it online ? how do i put it on my website ? Can u tell me pls ?
03/15/2010 20:51 LegalConquer#5
Quote:
Originally Posted by zaharelr View Post
Hi , sorry , but how do i put it online ? how do i put it on my website ? Can u tell me pls ?
everything u need is there all u need to know is how to make a website if u cannot put this into ur prebuilt website then i cant help you.