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


I love YaBB 2.7!

Posts: 1939
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Creative
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: 724
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #16 - Nov 7th, 2016 at 11:17am
Mark & QuoteQuote  
perfect.........!!!!!!!!

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

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1939
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Creative
Zodiac sign: Virgo
Re: Must View Topic
Reply #15 - Nov 7th, 2016 at 11:17am
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 | 0 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: 724
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #14 - Nov 7th, 2016 at 11:17am
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.


  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1939
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Creative
Zodiac sign: Virgo
Re: Must View Topic
Reply #13 - Nov 7th, 2016 at 11:17am
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: 724
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #12 - Nov 7th, 2016 at 11:17am
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.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1939
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Creative
Zodiac sign: Virgo
Re: Must View Topic
Reply #11 - Nov 7th, 2016 at 11:17am
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 | 0 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: 724
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #10 - Nov 7th, 2016 at 11:17am
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) 



  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1939
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Creative
Zodiac sign: Virgo
Re: Must View Topic
Reply #9 - Nov 7th, 2016 at 11:17am
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 | 0 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: 1939
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Creative
Zodiac sign: Virgo
Re: Must View Topic
Reply #8 - Nov 7th, 2016 at 11:17am
Mark & QuoteQuote  
For 2.6.12 (changes in Post.template)
  

must_view_topic_2612.zip ( 5 KB | 1 Download )

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: 1939
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Creative
Zodiac sign: Virgo
Re: Must View Topic
Reply #7 - Nov 7th, 2016 at 11:17am
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: 724
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #6 - Nov 7th, 2016 at 11:17am
Mark & QuoteQuote  
German Files faulty. Please change through this.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1939
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Creative
Zodiac sign: Virgo
Re: Must View Topic
Reply #5 - Nov 7th, 2016 at 11:17am
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: 1939
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Creative
Zodiac sign: Virgo
Re: Must View Topic
Reply #4 - Nov 7th, 2016 at 11:17am
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: 724
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Must View Topic
Reply #3 - Nov 7th, 2016 at 11:17am
Mark & QuoteQuote  
fit for build 1611. No change necessary.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google Google+ LinkedIn reddit StumbleUpon 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