PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Eduardo
Hangin' Around


Joined: Jul 20, 2004
Posts: 42

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

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
Moderator


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

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

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


Joined: Jul 20, 2004
Posts: 42

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

Yes.

You can see at:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Eduardo
Hangin' Around


Joined: Jul 20, 2004
Posts: 42

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

At the following url there is the guestbook with the right blocks:
Only registered users can see links on this board!
Get registered or login to the forums!


In my installation there are not.....
View user's profile Send private message
jakec
Moderator


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

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

So when you go to the KISGB guestbook the right side blocks disappear?
View user's profile Send private message
jakec
Moderator


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

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

Have a look at this post:
Only registered users can see links on this board!
Get registered or login to the forums!


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.
View user's profile Send private message
Eduardo
Hangin' Around


Joined: Jul 20, 2004
Posts: 42

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

Not run.

Raven is able to make that modification.

In his installation all is with the right blocks.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

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

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).
View user's profile Send private message
Eduardo
Hangin' Around


Joined: Jul 20, 2004
Posts: 42

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

In the script there are 3 files with:

$index = 1;


They are:

config.php
preview.php
user.prefs.php
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

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

In those 3 files, put

define('INDEX_FILE', true);

right below those $index = 1; lines.
View user's profile Send private message
Eduardo
Hangin' Around


Joined: Jul 20, 2004
Posts: 42

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

BRAVO !!!!

The script run also with the right blocks.

Thank you very much.
View user's profile Send private message
jakec
Moderator


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

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

Good point Gremmie, thanks for correcting me.

Eduardo, glad you got it working. Very Happy

RavensScripts
View user's profile Send private message
Eduardo
Hangin' Around


Joined: Jul 20, 2004
Posts: 42

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

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.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum