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, 53 guest(s) and 1 member(s) that are online.

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

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Steve
Guest






PostPosted: Tue Apr 01, 2003 11:24 pm Reply with quoteBack to top

Hi,

This may not be possible but i'm hoping one of you guys knows the answer.

I have Gallery installed as a nuke module and have managed to hack a script i found to enable the last uploaded pic to be displayed. I then turned it into a block which works fine (see bottom middle of http://www.ukvsaus.com)

What i want to do is combine each of these files into one block to make the space usage more efficient.

Have tried the following

<?php
if (eregi("block-allgalleryupdates.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
include 'block-latestupdates.php';
include 'block-lasteurope.php';
include 'block-lastitaly.php';
include 'block-lastgermany.php';
include 'block-lastaustria.php';
include 'block-lastswiss.php';
include 'block-lastfrance.php';
include 'block-lastspain.php';
include 'block-lastfunny.php';
include 'block-lastzoomovies.php';
include 'block-lastzoopics.php';
include 'block-lastarty.php';
include 'block-lastplaces.php';
include 'block-lastpeople.php';
include 'block-lastlondon.php';
include 'block-lastfarewell.php';
?>


and

<?php
if (eregi("block-allgalleryupdates.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content="<a href=http://ukvsaus.com/blocks/block-lastarty.php</a>";
$content="<a href=http://ukvsaus.com/blocks/block-lastfarewell.php</a>";
?>


but neither work. Have tried the include statements both as above and like
include ("block-lastfarewell.php"); as i'm a bit new at this.

ie i need to be able to combine several blocks into one single block. feel free to email me at steve at burnitbaby.com

Thanks,
Steve Laughing
Find all posts by Anonymous
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Wed Apr 02, 2003 2:25 am Reply with quoteBack to top

there's a mod at http://www.nukescripts.net (what a site) that can group blocks.

AI
Find all posts by ArtificialIntelView user's profileSend private message
Steve
Guest






PostPosted: Wed Apr 02, 2003 5:12 pm Reply with quoteBack to top

Hi, thanks for the reply.

Have looked through all of the block on the site listed but no luck. Found a few combination blocks but they are simply rewrites of other blocks inserted into one.

Perhaps another way to explain it would be to insert php output into a table cell (ie each cell with a separate php file).

If you happen to remember where the block is a URL would be great, alternatively what about the above?

steve
Find all posts by Anonymous
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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.547 Seconds - 189 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::