Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: ssi.php  (Read 7646 times)

0 Members and 1 Guest are viewing this topic.

alex

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
ssi.php
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
ssi.php
« Reply #1 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
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
ssi.php
« Reply #2 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
ssi.php
« Reply #3 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
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
ssi.php
« Reply #4 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
Logged
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

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
ssi.php
« Reply #5 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
Logged
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
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 14 queries.