News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

ssi.php

Started by alex, October 19, 2003, 03:48:15 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

alex

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

Joachim Müller

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

DJMaze

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.
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

lycanth

can't you make use of the code for producing the random image table? i think it's in include/functions.php

DJMaze

Yes if you use the second option i gave you and the block- needs the include path to your functions.inc.php
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

DJMaze

another option for Apache:
install CPG 1.2 for phpNuke and modify some .htaccess files that that correspond with the subdomain
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0