[ BACK TO INDEX ]

-------------------------

 This was tested on webSPELL 4.2.2a

 WebSPELL has no plugin system, integration requires editing core files.

 Backup files before editing, and before doing any webSPELL upgrades.

-------------------------

 - Get the Stand-Alone version of LGSL

 - Edit the lgsl_config.php and set your webSPELL database user and pass.

 - Upload the 'lgsl' folder into your webSPELL folder.

 - Create the 'lgsl' SQL table in your webSPELL database.

 - Add a server and check LGSL is working before moving on.

-------------------------

 Integrating the LGSL Zone aka Side Block


 - Edit the webSPELL index.php and add:

  
  <hr class="grey" />
  <!-- LGSL include -->
  <b><?php echo $myclanname.".".$index_language['server']; ?></b><br />
  <?php
    global $output, $lgsl_zone_number;
    $output = "";
    $lgsl_zone_number = 1;
    require "lgsl/lgsl_files/lgsl_zone.php";
    echo $output;
    unset($output);
  ?>
  <!-- end LGSL include -->
  

 - In the LGSL admin set your server to be in Zone 1.

 - Add more Zones by repeating with '= 1;' changed to another number.

-------------------------

 Integrating the LGSL List


 - Create a file called LGSL.php and add:

  
  <?php

  global $output, $lgsl_server_id;

  $output = "";

  $s = isset($_GET['s']) ? $_GET['s'] : "";

  if     (is_numeric($s)) { $lgsl_server_id = $s; require "lgsl_files/lgsl_details.php"; }
  elseif ($s == "add")    {                       require "lgsl_files/lgsl_add.php";     }
  else                    {                       require "lgsl_files/lgsl_list.php";    }

  echo $output;

  unset($output);

  ?>
  

 - Upload into your webSPELL folder, this should now work using /?site=LGSL

------------------------

 Adding Navigation Link


 - Edit the webSPELL /templates/navigation.html and add:

  
  <a href="index.php?site=LGSL">%servers%</a><br />
  

------------------------