Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
damainman
Hangin' Around



Joined: Jul 10, 2004
Posts: 48

PostPosted: Wed Jul 14, 2004 7:59 pm Reply with quote

I've seen some sites that Have a Center Block split into two or more blocks with various information in each block.

Can anyone point me into the right direction on how I would go about accomplishing this?
 
View user's profile Send private message
GanjaUK
Life Cycles Becoming CPU Cycles



Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Wed Jul 14, 2004 9:20 pm Reply with quote

[ Only registered users can see links on this board! Get registered or login! ] - NSN Center blocks.

_________________
Image
Need a quality custom theme designed? PM me!
 
View user's profile Send private message Visit poster's website
damainman







PostPosted: Thu Jul 29, 2004 9:10 pm Reply with quote

Their website is down, does anyone know where i can get this?.. I really need it asap Sad
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Jul 29, 2004 9:11 pm Reply with quote

Bob will be on a little later. I'll let him know you need a copy.
 
View user's profile Send private message
damainman







PostPosted: Thu Jul 29, 2004 9:54 pm Reply with quote

Thank you Smile
 
damainman







PostPosted: Fri Jul 30, 2004 3:19 am Reply with quote

Sites back up, but i cant create an account.. the verification code image is not displaying.

Is there anyplace else i can get this module? I need it bad.

Thank you in advance
 
Raven







PostPosted: Fri Jul 30, 2004 4:27 am Reply with quote

I have emailed you a special link to the download Smile


Last edited by Raven on Fri Jul 30, 2004 6:58 am; edited 1 time in total 
GanjaUK







PostPosted: Fri Jul 30, 2004 6:57 am Reply with quote

Raven wrote:
I have emailed you a special link to the download Smile


How's that for service? RavensScripts
 
damainman







PostPosted: Fri Jul 30, 2004 10:50 am Reply with quote

Thats the type of service i would pay for lol.

Thank you.
 
damainman







PostPosted: Fri Jul 30, 2004 11:19 am Reply with quote

I'm getting errors with the script....

I got everything configured, then i setup cbconfig1 to hold two blocks.

After doing this, i went to the homepage to test it.. and i get this error:

Fatal error: Call to undefined function: cb_blocks() in /home/live305/public_html/includes/cblocks1.php on line 32

and all my right blocks disapeered.

- Also when i went back to admin, to try and change cbonfig1.. i now get this error:

Fatal error: Call to undefined function: cb_blocks() in /home/live305/public_html/admin/modules/cblocks.php on line 37


Anyone know what might have caused this?

Thank you in advance for your replies.
 
Raven







PostPosted: Fri Jul 30, 2004 11:27 am Reply with quote

I have never used this, but have you done the following steps?
Code:
3. Use

------
1) Open header.php in a text editor and find the following:
    if ($home == 1) {
        message_box();
        blocks(Center);
    }

   Add include("includes/cblocks1.php"); so that the above looks like:
    if ($home == 1) {
        message_box();
        include("includes/cblocks1.php"); // if you want this on all pages place it above if ($home
        blocks(Center);
    }


2) Open footer.php in a text editor and find the following:
    if ($home == 1) {
        blocks(Down);
    }

   Add include("includes/cblocks2.php"); so that the above looks like:
    if ($home == 1) {
        blocks(Down);
        include("includes/cblocks2.php"); // if you want this on all pages place it above if ($home
    }
 
damainman







PostPosted: Fri Jul 30, 2004 11:30 am Reply with quote

Yes i have, Sad
 
Raven







PostPosted: Fri Jul 30, 2004 11:33 am Reply with quote

The error seems indicative of missing the INCLUDE lines. Have you verified the spelling?
 
damainman







PostPosted: Fri Jul 30, 2004 11:34 am Reply with quote

I mean the admin for cbconfig1 was working until i activated it... i can still see cbconfig2, but its not activaed at the moment...
 
damainman







PostPosted: Fri Jul 30, 2004 11:40 am Reply with quote

I copied and pasted from the readme file.
 
damainman







PostPosted: Fri Jul 30, 2004 11:55 am Reply with quote

I fixed the errors, it looks like my modified mainfile.php didn't upload correctly.. i reuploaded it.. and it worked fine.

Thank you for your time and support Smile RavensScripts
 
Bigboy177
Worker
Worker



Joined: Jul 07, 2004
Posts: 192

PostPosted: Sat Oct 23, 2004 8:02 am Reply with quote

I installed NSN center blocks... But something is wrong... Top blocks are working OK... But when I want to add the modified footer.php so the bottom blocks are shown I get an error message:

Code:


Fatal error: Call to a member function on a non-object in /home/kowal/domains/info-gry.info/public_html/includes/cblocks2.php on line 19


I've added everything like it should be... Any suggestions ??
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

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 ©