Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
  #1  
Old 05 Feb 2005, 06:43
Blue Moose Aaron's Avatar
Blue Moose Aaron Blue Moose Aaron is offline
 
Join Date: Sep 2002
Real name: Aaron
Mark Thread as News

For my site I have a number of forums and my users post news daily. Rather than post news everyday myself I decided it would be best to find a way to mark threads as news rather than move them into a forum for news.

The benefit of this is that you can leave the thread in the forum its in and nto have to worry about members not being able to find the thread.


In the Admin CP

Go to Post Icons > Post Icon Manager
Now click [Add New Post Icon Category].

Title: News
Display Order: 2

Save.

Now on the page where you are redirected (Edit Post Icon Categories) click Post Icon Permissions on the icon category you just created. Set the category so that is only accessible by admin, mods or whatever group you want to have the ability to put news on your vBa index page.

Now go to Post Icons > Upload Post Icon
If your icons folder isn't set to CHMODD 0777 you'll need to do so or just upload news.gif to your icons folder manually via FTP.

Now go to Add Post Icon

Title: News
Post Icon File Path: images/icons/news.gif
Post Icon Category: News
Display Order: 1

Save.

Getting the Thread Icon ID

Back in the Post Icon Manager click [view]
Then on your icon click [edit]

You should see your id number in the title of the box - "Post Icon: News (id: 57)" (number will vary)

File edits in modules/news.php

In modules/news.php find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with (updated on 2/24/05)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save and Upload.

Now return to AdminCP and under CMPS default settings and put your icon ID number in the field in your admin options that was once used for the news forum ID.


How to Display News
To display news you simply select the icon that was uploaded as the thread icon - not post icon! - meaning you have to select the icon when creating the thread OR via edit thread in the thread tools moderation menu. If you try to select the thread icon via the edit button it will not work.

Enjoy. I'll answer any questions you may have. I hope my instructions were clear.

2/24: Updated query. New query uses field in admin cp for News Forum ID rather than hardcoding it. Note this renders your news forum useless.

3/25: For best support visit this thread.
Attached Images
File Type: gif news.gif (254 Bytes, 164 views)
__________________
www.kryptonian.com/forum/

Last edited by Ted Varnson; 26 Mar 2005 at 04:35.
Reply With Quote
Comments
  #2  
Old 01 Mar 2005, 11:24
mrplow mrplow is offline
 
Join Date: Aug 2002
That's pretty excellent
__________________
clicka!
Reply With Quote
  #3  
Old 26 Mar 2005, 04:32
Blue Moose Aaron's Avatar
Blue Moose Aaron Blue Moose Aaron is offline
 
Join Date: Sep 2002
Real name: Aaron
Thanks
__________________
www.kryptonian.com/forum/
Reply With Quote
  #4  
Old 12 Jul 2007, 21:22
Apostolos-Pap Apostolos-Pap is offline
 
Join Date: Jan 2004
Sorry for bumping such an old thread, but is there any other similar mod for the newest versions of vbulletin & vbadvanced CMPS? Thanks
Reply With Quote
  #5  
Old 21 Jul 2007, 12:39
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Is there a way to create different news categories this way? I run a NFL forum and we have news for all 32 NFL teams and 18 other categories. Right now we are restricted to posting news in one forum and it gets filled up FAST.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 03:20.

Layout Options | Width: Wide Color: