Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support
Author Message
Eduardo
Worker
Worker



Joined: Jul 20, 2004
Posts: 189
Location: Italy

PostPosted: Sat Oct 20, 2007 4:25 am Reply with quote

I need to activate the right blocks in the KISGB guestbook.

Please can you help me.

Regards.
 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sat Oct 20, 2007 5:02 am Reply with quote

Do you have any other blocks set to the right at the moment?
 
View user's profile Send private message
Eduardo







PostPosted: Sat Oct 20, 2007 6:26 am Reply with quote

Yes.

You can see at:

http://www.guitaronline.it
 
Eduardo







PostPosted: Sat Oct 20, 2007 6:32 am Reply with quote

At the following url there is the guestbook with the right blocks:

http://www.ravenphpscripts.com/kisgb.html

In my installation there are not.....
 
jakec







PostPosted: Sat Oct 20, 2007 9:20 am Reply with quote

So when you go to the KISGB guestbook the right side blocks disappear?
 
jakec







PostPosted: Sat Oct 20, 2007 9:26 am Reply with quote

Have a look at this post: http://www.ravenphpscripts.com/posts6193-highlight-hide+right+blocks+module.html

It's for the forums module, but you should be able to show right side blocks in any module by adding the line $index=1; to modules/MODULENAME/index.php

I don't use KISGB myself so I can't test it, but hopefully it works.
 
Eduardo







PostPosted: Sat Oct 20, 2007 12:42 pm Reply with quote

Not run.

Raven is able to make that modification.

In his installation all is with the right blocks.
 
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Oct 20, 2007 12:46 pm Reply with quote

I believe the new way to make right blocks appear is to

define('INDEX_FILE', true);

Put that in the index.php file of the module.

$index = 1;

was the pre-patch way of doing things (older themes still use it though).

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
Eduardo







PostPosted: Sun Oct 21, 2007 12:42 am Reply with quote

In the script there are 3 files with:

$index = 1;


They are:

config.php
preview.php
user.prefs.php
 
Gremmie







PostPosted: Sun Oct 21, 2007 10:16 am Reply with quote

In those 3 files, put

define('INDEX_FILE', true);

right below those $index = 1; lines.
 
Eduardo







PostPosted: Sun Oct 21, 2007 12:37 pm Reply with quote

BRAVO !!!!

The script run also with the right blocks.

Thank you very much.
 
jakec







PostPosted: Sun Oct 21, 2007 12:58 pm Reply with quote

Good point Gremmie, thanks for correcting me.

Eduardo, glad you got it working. Very Happy

RavensScripts
 
Eduardo







PostPosted: Sun Oct 21, 2007 1:18 pm Reply with quote

Gremmie wrote:
In those 3 files, put

define('INDEX_FILE', true);

right below those $index = 1; lines.


I have applied this to CZIframe and also run well.

Thanks.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©