View Full Version : forum-wide user and admin news

07-05-2010, 07:36 PM
Hi, i made a small mod to news.php

this mod allows me to submit to front page any item on any forum changin its icon, OR show news posted my members on a specific forum

You should change both iconid
* the first one should be the iconid that only specific groups can select (like mods) (it will search for all threads with this iconid)

* the second one is a public icon, so the module will search for threads on specific forum with specific icon

FROM " . TABLE_PREFIX . "thread AS thread
WHERE visible = 1
AND open != 10
then added the first line and changed the next two ones:

AND iconid = 15
OR (thread.forumid IN(" . implode(',', $mods['inforums']) . ")
" . iif(!empty($newstids), ' OR threadid IN(' . implode(',', $newstids) . ')') . " AND iconid = 16

Yet, im not sure how nice this will play on the DD BB

This is bassed of: http://www.vbadvanced.com/forum/showthread.php?t=5193

im open to sugestions, specially adding this to the settings menu

08-02-2011, 11:44 PM
Thanks this is just what I need. It works great on vBulletin 4.1.3

I created the extra icon by following the instructions in the other post but I just need to use threads chosen by admins so in news.php below:

FROM " . TABLE_PREFIX . "thread AS thread
WHERE visible = 1
AND open != 10
I only added

AND iconid = 15

I didn't need to make any other changes.



I only got it to show one post. So couldnt get it to work properly..

THEN - I dicovered the News module feature that lets you go through and choose which threads you want to display.

Perfect for what I need.