Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Must View Topic V0.1.2 for YaBB 2.5/2.5.2 (Read 1734 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Must View Topic V0.1.2 for YaBB 2.5/2.5.2
Feb 13th, 2013 at 12:21am
Print Post  
Must View Topic

Description:

This Mod will allow Admins and GMods (if allowed access) to force users to view a specified topic before any other topics can be viewed. You can either enter any thread ID in the Admin Center settings, or select the option when posting a Global Announcement. You can choose which boards can't be accessed until the topic has been viewed and which member groups must view the topic. You can also add additional information to the Must View Topic notice.

Notes:

If you allow Global Moderators to access the general forum settings in the Admin Center, then it is possible for them to force just the Administrator group to view a topic - some people might think this is a bad thing and others think it a good thing, but it is only the first release so I'll just see how it goes.

Also note that it is only the person who enables the topic to be viewed that will not be forced to view it, so if you have other Administrators on your board, then they can also force the default admin user to view the topic.

Credits:

Idea by Derek Bullock.

Screenshots:

Admin Center - Forum Settings - Members - Must View Topic:



Must View Topic Notice:



Global Announcement Posting Page:



Zip Package:

must_view_topic_012.mod

Installation:

1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Go into Admin Center => Forum Settings => Members tab => Must View Topic to configure the settings.

Files to edit:

Admin/ModList.pl
Admin/NewSettings.pl
Admin/Settings_Main.pl
Languages/English/Admin.lng
Languages/English/Display.lng
Languages/English/Post.lng
Sources/Display.pl
Sources/ModifyMessage.pl
Sources/Post.pl
Sources/System.pl

Version History:

V0.1 - First Release - 12th February 2013
0.1.1 - Fixed issue with username value being stored if field was empty - 13th February 2013
0.1.2 - Small change to make mod compatible with Guest Topic View Limit mod - 25th February 2013
« Last Edit: Feb 25th, 2013 at 5:52pm by Derek Barnstorm »  

must_view_topic_012.zip ( 4 KB | Downloads )
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Must View Topic V0.1.1 for YaBB 2.5/2.5.2
Reply #1 - Feb 13th, 2013 at 2:59am
Print Post  
V0.1.1 attached the above post.

Fixed an issue with the username value being stored even if the thread ID field was empty, which meant it would never truly be disabled.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Must View Topic V0.1.2 for YaBB 2.5/2.5.2
Reply #2 - Feb 25th, 2013 at 5:53pm
Print Post  
V0.1.2 attached to the first post - made small change to make it compatible with the Guest Topic View Limit mod.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint