Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...
Author Message
wobbly
New Member
New Member


Joined: Dec 04, 2005
Posts: 6

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

Is it possible to get this module working with 7.9?

_________________
Cheers

Wobbly 
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

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

Have you tried?
Are you getting any error messages?
 
View user's profile Send private message Send e-mail
wobbly
PostPosted: Sun Dec 04, 2005 2:24 am Reply with quote

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! */
/* 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.
 
Guardian2003
PostPosted: Sun Dec 04, 2005 6:39 am Reply with quote

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')) {
}
 
wobbly
PostPosted: Sun Dec 04, 2005 12:59 pm Reply with quote

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
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...

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 ©