Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 61
0 members and 61 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
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 Electric Choice

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - Blocks

Reply
 
LinkBack Thread Tools Display Modes
Forum block changes with theme-->here
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 35
Join Date: Nov 2002
Forum block changes with theme-->here - 04-02-2003, 06:45 PM

Yep all u have to do is copy the block into the Themes/$thattheme/ directory. of course fiblack block needs to go to fiblack theme directory. rename it to forums.php

Create a new block I named it block-Forums.php and add this code:

Code:
<?php

########################################################################
# PHP-Nuke Block: DarkBlue Center Forum Block v.1.0 		       #
# Made for PHP-Nuke 6.5     					       #
#                                                                      #
# Made by mikem http://www.nukemods.com                                #
# This block is made only to match the DarkBlue Theme pack             #
########################################################################
# This program is free software. You can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License.       # 
# If you modify this, let me know for fun. =)                          #
########################################################################  

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

include("themes/$ThemeSel/Forums.php");
?>
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 2
Join Date: Oct 2004
12-03-2004, 05:49 PM

Thanks, this helps me a lot and it works fine !
:wink:
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Moderator
 
Status: Offline
Posts: 260
Join Date: Oct 2004
12-03-2004, 06:40 PM

I've made a center forum block that works with CSS and uses only 2 sql queries, it's for xerocms but with minnor modification will work with phpnuke, if you want it just download a core pack from my site ( http://projectxero.org ) and get the block-Center-Forums.php file.
   
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
Your theme included forum block question! kbizzle Nuke 7.x - Blocks 1 08-20-2008 07:42 AM
[HELP]block forum Gribo Nuke 7.x - Blocks 4 04-14-2005 03:58 AM
Forum Block Block help kooky Site design 1 07-05-2003 04:24 PM
forum block, auto changing with theme bkr Theme packs 2 07-04-2003 03:20 PM
disable this theme right block when forum selected?? bingo Purged Topics 0 05-09-2003 09:00 AM




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