coppermine-gallery.com/forum

Support => Older/other versions => cpg1.1d PHPnuke Support (deprecated) => Topic started by: alex on October 19, 2003, 03:48:15 PM

Title: ssi.php
Post by: alex on October 19, 2003, 03:48:15 PM
Hello everyone, i have a question abou ssi.php...

i have install gallery (vers. 1.2) in a sub subdomain... (http://gallery.mysite.com) in my primary domain i use phpnuke, so i'd like put in lateral block last picture add... i think ssi.php it's right, but i don't know how include the php code in a block  :roll:

Can you help me???

Thanks
Title: ssi.php
Post by: Joachim Müller on October 19, 2003, 09:08:59 PM
the usage of ssi.php is not recommended anymore (as it doesn't take into account any permission settings). I moved your posting from mods board here to phpnuke support, as I don't know block strutcure etc. of phpnuke. If hope somebody here can/will help you.

GauGau
Title: ssi.php
Post by: DJMaze on October 19, 2003, 09:49:48 PM
Your block-??.php must be made in one of 2 ways:

Coppermine tables in same database as nuke tables
Just download Coppermine for phpNuke and modify the blocks to connect to standalone tables.

Coppermine tables in seperate database
You need to create a database connection to your standalone Coppermine database. Run a query to it and echo the output in your way.
Title: ssi.php
Post by: lycanth on November 01, 2003, 06:45:00 PM
can't you make use of the code for producing the random image table? i think it's in include/functions.php
Title: ssi.php
Post by: DJMaze on November 01, 2003, 10:14:19 PM
Yes if you use the second option i gave you and the block- needs the include path to your functions.inc.php
Title: ssi.php
Post by: DJMaze on November 06, 2003, 03:44:48 AM
another option for Apache:
install CPG 1.2 for phpNuke and modify some .htaccess files that that correspond with the subdomain