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: [HACK] Show phpNuke Right Side Blocks  (Read 3717 times)

0 Members and 1 Guest are viewing this topic.

ryndog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
[HACK] Show phpNuke Right Side Blocks
« on: November 16, 2003, 11:48:31 pm »

I have installed CPG 1.2.0 for phpnuke, and I would like to ACTIVATE the RIGHT side blocks.  It looks by default, they are turned off.  I have tried adding the line '$index-1;' in the index.php file, but there was no change.

If there is anymore information you need to know, I would be happy to provide it.  Thanks.
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[HACK] Show phpNuke Right Side Blocks
« Reply #1 on: November 17, 2003, 03:37:43 am »

No we put the function hidden for a upcomming config feature.

Open include/init.inc.php and go the end of the file.
replace:
Code: [Select]
if (isset($home)) $index = $home;
else $index=0;


With
Code: [Select]
if (isset($home)) $index = $home;
else $index=1;
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

ryndog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
[HACK] Show phpNuke Right Side Blocks
« Reply #2 on: November 17, 2003, 06:03:58 pm »

Works, thanks for tyhe help!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 18 queries.