[Bridge] Enhanced Simple PHP Gallery Bridge [Beta!] (1.1 RC2)

Started by Acf, February 02, 2006, 10:57:49 AM

Previous topic - Next topic

Acf

Enhanced Simple PHP Gallery Bridge


Introduction:
   I have build a bridge for Enhanced Simple PHP Gallery 1.7
   It currently still a beta.
   It had been made for 1.1 RC2 with the NDT theme.
   See it in action:**removed** (bridged + intergrated)

About ESPG:
   ESPG is a gallery based on Simple PHP Gallery by Paul Griffin.
   ESPG is made by Rich Pedley
   
   
   
ESPG Download and info:
www.quirm.net
|
|
ESPG Support:
skyzyx.com

   Pleas read the license of this script in the package downloaded at quirm.net.

   [Install]

   Before going any further Install ESPG.

   [Connection/Bridge]:
   
  • Download and edit the attached validate.php
  • Replace the validate.php in the main-directory and in the config-directory with the downloaded validate.php.
   now you can admin the gallery as smf admin.

   [Intergration]:

   intergration is optional, it will work with out the intergration. You can make your own design with the original files.
   
  • Download and edit the attached header.php
  • Download and edit the attached footer.php
  • Download sp_styles.css
  • Replace the files in the main-directory with the download ones.
   Now you have a intergrated ESPG.

   [Add a gallery tab] Coding knowledge is needed!
This is optional, you need intergration for this.
   Pleas read:   
   How to add tabs to Core (NDT)? by JayBachatero
   be sure to read all the pages!

   [Modify permissions] Coding knowledge is needed!
Pleas read:     
[README] SSI FAQ's  by Tomer
This code in validate.php needs to be changed...
if ($context['user']['is_admin'])

   [About/costum intergration] Information for Coders

This piece is written for people who wand to intergrate ESPG in there theme.
No step by step search and replace but just a simple story about how i did it. To give you inspiration to do it your self.

The footer and header files are made/copied from the index.template.php file. The functions  template_main_above() and template_main_below() to be more precise.
The head, body and title are removed from the original header. The content that was in the head section is pasted in the head of the copied template_main_below. And the remaining content is pasted below the copied template_main_below code.
The same style of changing things has been done in the footer.
The css was altered to make it look like NTD. Some parts of it where added to the header.
Sigh...

Advertisement: