You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 52 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Custom Block Problems [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
ES-Phoenix
Nuke Cadet
Nuke Cadet


Joined: Mar 20, 2007
Posts: 1


PostPosted: Tue Mar 20, 2007 10:00 am Reply with quoteBack to top

Hi All

I am trying to create a custom block for the top centre of my website.

I have followed some tutorials here but have tied myself up in knots TBH .. Crying or Very sad

I am trying to create a server status block. I have one on my site at www.es-uk.co.uk on the left. If you click the link at the bottom of the block it takes you to a php file called serverliste.

Now what I want to do is to create a block for the top of my homepage to show what the serverliste.php file shows which is a list of my servers.

I really am a noob at this and desperatly need help as the help files tie me up in knots. I initially tried ..

Quote:
ob_start();
include("rvsslwebphp/serverliste.php");
$output = ob_get_contents();
ob_end_clean();
$content = $output;


Then I tried ..

Quote:
<?php

if (eregi("block-serverlist.php", $PHP_SELF)) {
Header("Location: index.php");
die();
}

ob_start();
include("rvsslwebphp/serverliste.php");
$output = ob_get_contents();
ob_end_clean();
$content = $output;

?>


With a few variations to each but all I get is THERE IS NO CONTENT FOR THIS BLOCK ... Rolling Eyes

Thx In Advance For Any Help .. Wink
Find all posts by ES-PhoenixView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.306 Seconds - 182 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::