Page Index Toggle Pages: [1] 2  ReplyAdd Poll Send Topic
Hot Topic (More than 10 Replies) Must View Topic (Read 10304 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2249
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Must View Topic
Reply #17 - Nov 7th, 2016 at 11:17am
Mark & QuoteQuote  
Excellent.  Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #16 - Nov 7th, 2016 at 8:59am
Mark & QuoteQuote  
perfect.........!!!!!!!!

This is what such a mod must have.
Here the german files.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2249
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Must View Topic
Reply #15 - Nov 6th, 2016 at 12:02pm
Mark & QuoteQuote  
This is why bug testers are so valuable. New zip - this one has a timer (different language for it in Display.lng.)
  

must_view_topic_1_9.zip ( 6 KB | 274 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #14 - Nov 6th, 2016 at 3:43am
Mark & QuoteQuote  
@ Dandello



I checked again, also in the English language setting.
It is in the language files everything there where it must be. I have times the confirmation to 0 posed. If you try it, you are in an endless loop. You are always asked to read the post first and you will not go further. Only if the Mod is completely switched off, then it goes.


  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2249
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Must View Topic
Reply #13 - Nov 5th, 2016 at 5:57pm
Mark & QuoteQuote  
Sounds like you didn't find these:
Code
Select All
$display_txt{'confirm_view'} = 'Please confirm that you have viewed this topic';
 $display_txt{'confirm_view2'} = 'You will need to confirm that you have viewed this topic when the link appears'; 


in Display.lng.

I didn't do a count down timer (yet).

Edited:
One of the reasons for going to the strict pragma with warnings - Perl will complain when things are missing.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #12 - Nov 5th, 2016 at 5:02pm
Mark & QuoteQuote  
So far so good. But where can I find the link (or button) for confirmation?
After waiting for the given time this does not appear and one does not go further. This should actually appear or be present automatically in the topic that has to be viewed.

I've seen this once in a PHP forum. There is in the contribution, which one must read a button, in this runs a timer backwards. Only when this is 0, you can click on it.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2249
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Must View Topic
Reply #11 - Nov 5th, 2016 at 12:19pm
Mark & QuoteQuote  
Smiley In Admin/NewSettings.pm find
Code (Perl)
Select All
\$mustViewdelay = $mustViewexpire;          # delay time for link (set to 0 to disable) 

and replace it with
Code (Perl)
Select All
\$mustViewdelay = $mustViewdelay;          # delay time for link (set to 0 to disable) 



I'll get a new zip shortly.
  

must_view_topic_1_8.zip ( 6 KB | 266 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #10 - Nov 5th, 2016 at 5:46am
Mark & QuoteQuote  
@ Dandello

Unfortunately, the mod does not work.
After entering the time, this jumps back to 0 after saving.
Even a manual input in the Settings.pm brought no success.

Naturally, I had previously deleted the entry "mustviewtopic" in the profile and also all cookies.


Code
Select All
########## Must View Topic configuration ##########
 $mustViewEnabled = 1;                             # Set to 1 to enable Must View Topic
 $mustViewID = "1264357835\~admin";                # Set the thread ID of topic which users must view
 $mustViewGroups = "";                             # Member groups which must view the topic, '' == all members
 $mustViewGuests = 0;                              # Force guests to view the topic
 $mustViewBoards = "";                             # Boards which won't be viewable until the topic has been viewed, '' == all boards
 $mustViewInfo = "";                               # Additional information for the Must View Topic notice
 $mustViewexpire = "0";                            # expire date for Must View Topic (set to 0 to disable)
 $mustViewdelay = 0;                               # delay time for link (set to 0 to disable) 



  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2249
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Must View Topic
Reply #9 - Nov 4th, 2016 at 1:34pm
Mark & QuoteQuote  
Must View Topic 2 for 2.6.12
Includes a 'confirm you have viewed' link in the topic itself and a set-able timer.
  

must_view_topic_1_7.zip ( 6 KB | 260 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2249
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Must View Topic
Reply #8 - Mar 21st, 2016 at 11:38pm
Mark & QuoteQuote  
For 2.6.12 (changes in Post.template)
  

must_view_topic_2612.zip ( 5 KB | 268 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2249
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Must View Topic
Reply #7 - Feb 22nd, 2015 at 3:47pm
Mark & QuoteQuote  
New German zip in 1st post (includes UTF-8 versions)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #6 - Feb 22nd, 2015 at 11:00am
Mark & QuoteQuote  
German Files faulty. Please change through this.
  

Must_View_Topic_German_files_001.zip ( 2 KB | 262 Downloads )

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2249
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Must View Topic
Reply #5 - Jan 13th, 2015 at 7:57pm
Mark & QuoteQuote  
Minor fix for empty expire field. (new zip in 1st post)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2249
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Must View Topic
Reply #4 - Jan 2nd, 2015 at 3:10am
Mark & QuoteQuote  
New zips in 1st post - new template file.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 855
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #3 - Dec 6th, 2014 at 7:55am
Mark & QuoteQuote  
fit for build 1611. No change necessary.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Must View Topic

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry