PDA

View Full Version : Announcement Visibility Per-Forum


akanevsky
05-13-2005, 10:00 PM
/*================================================= =====================*\
|| Announcement Visibility Per-Forum
|| Author : Psionic Vision
|| Works on : vBulletin 3.0.7
\*================================================ ======================*/

Did you ever wonder why there is an option to add announcement to all forums, but no option to exclude them from certain forums? Well, this hack gives you such a function. Now you can switch announcement visilbility in any forum with just one click of your mouse. Invisible announcements are only accessible to administrators, super moderators and users with moderator abilities. For everyone else, when announcement is hidden from a certain forum, it will not be visible there, but it will be visibible from other forums.

If you like it, do not forget to click install.

Lionel
05-14-2005, 06:23 PM
Nicely done. That was kind of silly having only 2 choices: either select all forums or only one. That meant if I wanted to display announcement in all but 2, I had to select some 98 forums individually just to exclude the last 2.

Thanks.

bigcurt
05-15-2005, 02:33 AM
Nice hack bud ;).

ArabsLink
05-15-2005, 02:53 AM
nice hack thank you very much

akanevsky
05-15-2005, 03:31 PM
bigcurt8998
The click install dammit. :)

ArabsLink
I am glad you like it :)

----------------------------------
FIX: (forgot to include it)
----------------------------------

In forumdisplay.php, find:

ORDER BY startdate DESC
" . iif($vboptions['oneannounce'], "LIMIT 1"));

Replace with:

ORDER BY startdate DESC
");