Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 53
2 members and 51 guests
buynm6ymobcha8b, cliaw9cckhereto
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
minimize/restore blocks?
Old
  (#1 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
minimize/restore blocks? - 12-02-2002, 07:10 AM

Has anyone heard of this: (I have not tested!)
CrossNuke564b.zip
Description: The PostNuke emulator for phpNuke. Now you may use modules and blocks developed for PostNuke Mutant and Rogue releases in phpNuke environment without any modifications. PostNuke emulation is based on Rogue .712 release.
Features:
Admin:
- Advanced Admin system (PostNuke Mutant and Rogue compatible)
- Enhanced Modules management:
- automatically and intelligently installs tables if founds modulename.sql file in module/modulename/includes dir
- automatically installs modules with install.php
- Advanced Block System (PostNuke Mutant and Rogue compatible)
- Convenient block positioning and movement
- Message Block became regular centerblock
- Headlines moved to separate module
Users:
- Enhanced blocks: Registered users may minimize/restore blocks
Version: 5.64b Filesize: 300.04 Kb
Added on: 06-Jun-2002 Downloads: 129
HomePage | Rate Resource | Details
Category: phpNUKE/Addons-Module/Sonstige-Misc
************************************************** *
I found it at warpspeed.
The thing that interests me is the concept of minimizing/restore blocks.
If anyone is interested, post here and I will supply a link to download. :!:
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
dar63's Avatar
 
Status: Offline
Posts: 473
Join Date: Oct 2002
Location: UK
12-02-2002, 07:38 AM

If the block thing is all that interests you why not try the trashbin theme addon which does it. http://www.trashbin.net/index.php
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
12-02-2002, 07:46 AM

Hay that's cool dar63! Thanks for showing me that. I'm going to look in to it. Looks like some fun little experimenting ahead.
(nice clock there too, lol!)

Well after looking in to the concept I have decided that it's more trouble than it's worth!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Member
 
Status: Offline
Posts: 359
Join Date: Nov 2002
Location: Michigan, USA
12-02-2002, 06:00 PM

yeah that does look pretty cool...never seen that before

martin, more trouble in what way? installing?
  Send a message via AIM to ReNeGaDe  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
12-02-2002, 06:35 PM

Well, I downloaded the trashbin theme and read the instructions. It includes:
Code:
Installation:
This theme requires some additional installation steps other then extracting the files in a theme folder.
In order to fully utilize this theme, please follow the steps:

1. Extract these files to your /themes folder
2. Add this code to the end of your mainfile.php:

			//Code Added for showing and hiding blocks!!
			if ($userinfo[theme] == "Trashbin") {
				require_once("themes/Trashbin/block_show_hide.php");
			}
			//End Code added

3. In mainfile.php, change all occurences (it should be 5) of:

		themesidebox($title, $content);
		
	 into:
	 
	  	//Code Change - added $bid
		themesidebox($title, $content, $bid);
		//End Code Change
		
	Change the render_blocks function into:
	
		function render_blocks($side, $blockfile, $title, $content, $bid, $url) {
		    if ($url == "") {
			if ($blockfile == "") {
			    if ($side == "c") {
				themecenterbox($title, $content);
			    } else {
				themesidebox($title, $content, $bid);
			    }
			} else {
			    if ($side == "c") {
				blockfileinc($title, $blockfile, 1);
			    } else {
				blockfileinc($title, $blockfile, -1, $bid);
			    }
			}
		    } else {
			if ($side == "c") {
			    headlines($bid,1);
			} else {
		    	    headlines($bid);
			}
		    }
		}	

	And change the blockfileinc function into:
	
		function blockfileinc($title, $blockfile, $side=0, $bid=-1) {
		    $blockfiletitle = $title;
		    $file = @file("blocks/$blockfile");
		    if (!$file) {
			$content = _BLOCKPROBLEM;
		    } else {
			include("blocks/$blockfile");
		    }
		    if ($content == "") {
			$content = _BLOCKPROBLEM2;
		    }
		    if ($side == 1) {
			themecenterbox($blockfiletitle, $content);
		    } else {
			themesidebox($blockfiletitle, $content, $bid);
		    }
		}	
		
4. In the themes.php file of all the other themes, change the following line:

		function themesidebox($title, $content) {		
		
	 into:
	 
		function themesidebox($title, $content, $bid = -1) {	 
	
	 If this step is not done, the other themes will give errors!!!!
I don't want to take a chance on messing something up is all I meant.
I'm still going to look into the CrossNuke564b.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
swh
Junior Member
 
Status: Offline
Posts: 20
Join Date: Nov 2002
12-03-2002, 08:32 AM

And this guy has come up with a novel way of allowing the user to float the block in a seperate window. The block/module is downloadable at his site as well if you want to take a look at the code.

http://www.just4me.nl/
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Restore? MrMakealotofsmoke Nuke 7.x - General 1 01-29-2006 05:58 PM
Cannot add new blocks jib_intelli Nuke 7.x - General 0 07-23-2004 09:57 AM
Right blocks Blood Nuke 7.x - General 2 07-19-2004 12:51 PM
Pic of the Day Blocks? Maniax_Man Nuke 6.5 to 6.9 - Blocks 3 06-03-2003 10:44 PM
Blocks SD12 Open topics 13 01-28-2003 01:33 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31