PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  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
wobbly
New Member
New Member


Joined: Dec 04, 2005
Posts: 6

PostPosted: Sat Dec 03, 2005 11:52 pm Reply with quote Back to top

Is it possible to get this module working with 7.9?
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Sun Dec 04, 2005 12:39 am Reply with quote Back to top

Have you tried?
Are you getting any error messages?
View user's profile Send private message Send e-mail Visit poster's website
wobbly
New Member
New Member


Joined: Dec 04, 2005
Posts: 6

PostPosted: Sun Dec 04, 2005 2:24 am Reply with quote Back to top

I have yes. Ive got the admin bit working but the header and the footer do not contain the code it says to look for. as in.........


Quote:

#
#-----[ OPEN ]------------------------------------------
#
footer.php

#
#-----[ FIND ]------------------------------------------
#
if ($home == 1) {
blocks(Down);
}

#
#-----[ REPLACE WITH ]------------------------------------------
#
if ($home == 1) {
blocks(Down);
include("includes/cblocks3.php"); // if you want this on all pages, place it above if ($home == 1) {
} else {
include("includes/cblocks4.php"); // if you want this on all pages, place it above if ($home == 1) {
}



And


Quote:

************************************************************************/
/* This file is for instructional use. */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/*
Only registered users can see links on this board!
Get registered or login to the forums!
*/
/* Modifications Copyright © 2000-2005 by NukeScripts Network */
/************************************************************************/

#
#-----[ OPEN ]------------------------------------------
#
header.php

#
#-----[ FIND ]------------------------------------------
#
if ($home == 1) {
message_box();
blocks(Center);
}

#
#-----[ REPLACE WITH ]------------------------------------------
#
if($home == 1) {
message_box();
blocks(Center);
include("includes/cblocks1.php"); // if you want this on all pages, place it above if ($home == 1) {
} else {
include("includes/cblocks2.php"); // if you want this on all pages, place it above if ($home == 1) {
}



It seems the header and footer in 7.9 dont contain the code it says to look for, not in my case anyway.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Sun Dec 04, 2005 6:39 am Reply with quote Back to top

In your header.php you need to edit it something like this
Code:
include("includes/counter.php");
if(defined('HOME_FILE')) {
   message_box();
   blocks("Center");
include("includes/cblocks1.php"); // if you want this on all pages, place it above if ($defined('HOME_FILE)) {
} else {
include("includes/cblocks2.php"); // if you want this on all pages, place it above if ($defined('HOME_FILE)) {
}


In footer.php you would need to edit it to
Code:
function foot() {
   global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $name, $admin, $commercial_license;
   if(defined('HOME_FILE')) {
      blocks("Down");
include("includes/cblocks3.php"); // if you want this on all pages, place it above if (defined('HOME_FILE')) {
} else {
include("includes/cblocks4.php"); // if you want this on all pages, place it above if (defined('HOME_FILE')) {
}
View user's profile Send private message Send e-mail Visit poster's website
wobbly
New Member
New Member


Joined: Dec 04, 2005
Posts: 6

PostPosted: Sun Dec 04, 2005 12:59 pm Reply with quote Back to top

Thanks, that got the center blocks working at the top of the page. Any ideas how you get them to work at the bottom? Ive edited the footer but cant get it to work.

Many thanks for your help
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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum