Integrating the Digiex JJ2 "Games in Progress Script" into your site.

Discussion in 'Guides and Tutorials' started by Nimrod, Dec 27, 2007.

  1. Nimrod

    Nimrod Exotic Vendor

    Joined:
    Jun 1, 2007
    Messages:
    1,991
    Likes Received:
    533
    Location:
    London, United Kingdom
    Intergrating the Digiex JJ2 "Games in Progress Script" into your site.



    As you may know, Digiex plays a big part in the community of an old Epic Game called "Jazz Jackrabbit 2"
    Part of Digiex's work in the community is providing a Games in Progress script which is used on the majority of Community sites.
    An example being Jazz2Online.com

    The script is free to use on any site, and can be easily customized to fit into any colour scheme.

    There are three ways to achieve this:




    Method 1:


    To insert the script into your website without any HTML knowledge is to just copy and paste this line of code into your website.

    HTML:
    <iframe src="http://jazz.digiex.net/sl.php?lightcolor=EEEEEE&darkcolor=DDDDDD&fontcolor=000000&backgroundcolor=FFFFFF&bordercolor=FFFFFF" frameborder="0" height="400" width="500"></iframe>
    
    You can change the colours by changing the HTML colour codes in the URL like "DDDDDD" and "FFFFFF"

    To view the Digiex HTML Colour Chart click here
    .


    Method 2:



    If your web server supports PHP is to include the Digiex GIP PHP Retrival Script which allows you to enter the colour codes then automatically connects to the Games in Progress with the colours enabled.
    The file for that is attached at the bottom of this page.

    HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    
    <head>
        <title>Games in Progress</title>
            <!-- The title of the page -->
    </head>
    
    <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" scroll="no">
    
    <?php
        /* JazzJackrabbit 2 "Games in Progress" Retrieval Script */
         
        /* These colours are used for the table */
       $fontcolor = "000000";
       $backgroundcolor = "FFFFFF";
       $lightcolor = "EEEEEE";
       $darkcolor = "DDDDDD";
       $bordercolor = "AAAAAA";
       $backgroundcolor = "FFFFFF";
    
       /* Do not alter anything below. */
    
    $string = "sl.php?lightcolor=".$lightcolor."&darkcolor=".$darkcolor."&fontcolor=".$fontcolor."&backgroundcolor=".$backgroundcolor."&bordercolor=".$bordercolor;
    include("http://jazz.digiex.net/".$string);
    ?>
    
    </body>
    </html>
    
    You can either copy and paste this into a PHP file, or download it at the bottom of this page

    An example of it in use can be found at:
    Digiex GIP



    Method 3:



    Code your own HTML or PHP and "grab" the following URL:
    HTML:
    http://jazz.digiex.net/sl.php?lightcolor=
    [*]&darkcolor=
    [*]&fontcolor=
    [*]&backgroundcolor=
    [*]&bordercolor=
    [*]&backgroundcolor=
    [*]
    Replacing
    [*] with HTML Colour Codes without "#".


    To view the Digiex HTML Colour Chart click here
    .
     

    Attached Files:

    • gip.zip
      File size:
      539 bytes
      Views:
      751
  2. GamingRealm

    GamingRealm Active Member

    Joined:
    Apr 29, 2010
    Messages:
    30
    Likes Received:
    6
    I was wondering if there is a way to change the look of the GIP? Like the one on JJ.net. With the JJ2 chars.
     

Share This Page