» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 64
0 members and 64 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on minimize/restore blocks? within the Purged Topics forums, part of the NM Staff category; Has anyone heard of this: (I have not tested!) CrossNuke564b.zip Description: The PostNuke emulator for phpNuke. Now you may ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-02-2002, 08:10 AM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
minimize/restore blocks?
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
  #2 (permalink)  
Old 12-02-2002, 08:38 AM
dar63's Avatar
Moderator
 
Join Date: Oct 2002
Location: UK
Posts: 473
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
  #3 (permalink)  
Old 12-02-2002, 08:46 AM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
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
  #4 (permalink)  
Old 12-02-2002, 07:00 PM
Member
 
Join Date: Nov 2002
Location: Michigan, USA
Posts: 359
Send a message via AIM to ReNeGaDe
yeah that does look pretty cool...never seen that before

martin, more trouble in what way? installing?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-02-2002, 07:35 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
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
  #6 (permalink)  
Old 12-03-2002, 09:32 AM
swh swh is offline
Junior Member
 
Join Date: Nov 2002
Posts: 20
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 06:58 PM
Cannot add new blocks jib_intelli Nuke 7.x - General 0 07-23-2004 10:57 AM
Right blocks Blood Nuke 7.x - General 2 07-19-2004 01:51 PM
Pic of the Day Blocks? Maniax_Man Nuke 6.5 to 6.9 - Blocks 3 06-03-2003 11:44 PM
Blocks SD12 Open topics 13 01-28-2003 02:33 PM


All times are GMT -5. The time now is 09:32 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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