» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 75
0 members and 75 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 Recent Forum Posts Block. within the Purged Topics forums, part of the NM Staff category; I am using the Recent Forum Posts Block on my main page. I want it to display all the recent ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-16-2003, 09:41 PM
Junior Member
 
Join Date: Nov 2002
Posts: 38
Recent Forum Posts Block.
I am using the Recent Forum Posts Block on my main page.
I want it to display all the recent forum posts EXCEPT FOR 1 PARTICULAR FORUM.

How do I make the Recent Forum Posts Block ignore that particular forum....

Thanks in advance for your help
:wink:
__________________
The Hockey Board
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-17-2003, 09:23 AM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
It will. You first though, have to go into your Forum administration. And doa couple things.
Make the Particular forum hidden to only a certain group or users.
You do this by changing the Forums permissions and USer or Groups permissions. Play around with it to get an idea of what it will do.
Once you hide that Forum, no one will be able to see any posts from it in the recent center posts block.

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-18-2003, 12:25 PM
Junior Member
 
Join Date: Nov 2002
Posts: 38
Ya I thought of that...
Problem with that is, once inside the FORUMS I want that particular FORUM to be viewed, read by all..... If I make the forum hidden I wont be able to do that...
Was just wondering if in the recent forum posts code I could add a line to make it ignore a forum....
__________________
The Hockey Board
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-18-2003, 12:58 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
OK let me try something...

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-18-2003, 01:06 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
AHAHAHAH..man this works.

Ok open your Center posts block file for your theme.

Look for this
Code:
   if( $topic_moved_id != 0 )
   {
	  // Shadow Topic !!
      $skip_display = 1;
   }
add this right after
Code:
      if( $forum_id == 3 )
   {
	  // Shadow Topic !!
      $skip_display = 1;
   }
change the forum_id number to the id number for your Forum that you do not want the block to display messages from. You can find out your forum id# by mousing over that paticular Forum's link and you'll see this
http://yoursite.com/modules.php?name...abc970ee16e48f

f=3 is the ID to that forum in that example link.

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-19-2003, 10:57 PM
Junior Member
 
Join Date: Nov 2002
Posts: 38
Thanks mikem. You're Aces!
Great help here at nukemods.
Thanks a million
__________________
The Hockey Board
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
Recent Forum Posts Block? gabi Nuke 6.5 to 6.9 - Blocks 5 03-25-2005 06:29 AM
Forum Recent posts block - Private forums. IceColdFever Nuke 7.x - Blocks 0 02-16-2005 03:46 PM
block for recent forum posts in 6.5? tharow Open topics 2 05-14-2003 06:53 PM
Hide topics from Specific Forum in recent posts center block mikem FAQ/Fixes 0 04-15-2003 12:40 PM
Recent Posts Block Blayloc Purged Topics 9 11-20-2002 04:59 PM


All times are GMT -5. The time now is 08:24 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