UBB.Dev
Posted By: JoshPet Teaser Forums for UBB 7 - 01/05/2007 6:43 AM
Mod Name / Version: Teaser Forums for 7.0

Description: This forces hidden forums to display on the main index. This way users will know
that they exist.

Working under: 7.0.2

Any pre-requisites: none

Author: JoshPet www.JoshuaPettit.com
for discussion and bugs go to www.ubbdev.com

Date: 1/4/07

Credits: One of my clients for commissioning it

Files Altered: /scripts/cfrm.inc.php, /scripts/postlist.inc.php, /languages/english/generic.php, /admin/viewboard.php, /templates/default/admin/viewboard.tmpl, /admin/doeditboard.php

Database Altered: FORUM_TEASER added to ubbt_FORUMS table

Info: If a forum is tagged as a teaser forum, everyone will see it on the main index.
Users won't be able to view inside unless they have "read" permissions.
They will receive a message stating that they do not have permission to view this forum.

Admin Instructions: When editing a forum, click the checkbox next to "Teaser Forum" and the forum will be listed to all. They will not be able to view inside the forum without proper permissions.


Attached File
2335-TeaserForums7.txt  (62 downloads)
Posted By: Gizmo Re: Teaser Forums for UBB 7 - 01/05/2007 9:05 AM
Thanks Josh, looks great smile
Posted By: AllenAyres Re: Teaser Forums for UBB 7 - 01/07/2007 2:51 AM
very nice, thanks smile
Posted By: MitchellP Re: Teaser Forums for UBB 7 - 05/13/2007 6:23 AM
I assume this works for 7.1.1?
Posted By: sirdude Re: Teaser Forums for UBB 7 - 06/04/2007 9:49 PM
no it doesn't. you can't just copy paste from his readme. you have to take into account the captcha (sp) field as well.

other than that, it works wink
Posted By: drkknght Re: Teaser Forums for UBB 7 - 06/18/2007 9:17 PM
im not even sure how one makes hidden forums anymore! frown
Posted By: Ian_W Re: Teaser Forums for UBB 7 - 06/18/2007 10:38 PM
Teaser forums are included in 7.2 (which is currently in beta)
Posted By: drkknght Re: Teaser Forums for UBB 7 - 06/19/2007 8:42 AM
are hidden forums also standard in 7.2?
Posted By: sirdude Re: Teaser Forums for UBB 7 - 06/19/2007 8:54 AM
hidden forums (as i interpret what you ask) have been standard all along.

you just have to setup the permissions for a particular group or groups to be allowed to read/read-reply/read write.

eg: having an admin and mods only forum would be hidden to all other groups.

2c
Posted By: drkknght Re: Teaser Forums for UBB 7 - 06/19/2007 9:02 AM
ahhhh... all this time, i thought that was the hack.

i guess the mod i had was just to hide the listing of the forum on the homepage, regardless of who has permissions to view it.

phew.

thanks for the clarification, sirdude, i got it workin now! smile
Posted By: Ian_W Re: Teaser Forums for UBB 7 - 06/19/2007 9:56 AM
Sorry - I mis-understood - hidden forums have been in existence since wwwthreads days wink
© UBB.Developers