Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Force Users to Read a Thread Details »»
Force Users to Read a Thread
Version: 2.0, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.6.x Rating:
Released: 07-08-2007 Last Update: 03-04-2008 Installs: 1020
DB Changes Uses Plugins
Additional Files  
No support by the author.

vB 3.7 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=172155


Force Users to Read a Thread 2.0


About this hack:
This hack allows you to set a thread as 'must read' by your members. Right now, if you make a post and want all your members to read it, you have no way of enforcing it. This hack will give an error message similar to the one you get when you need to change you password, saying that the admins want you to read a certain thread before they continue using the forum.

Once a user reads a thread, they wont be bugged to read it again.

You can set all usergroups or just certain onces that must read a thread.

You can set to site wide or just some forums.

Option to Force Guests

This hack added one query to every page on your forum a member goes to.
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 2 (1 via ACP, 2 via FTP)
  • Time to install: 1 minute
Updates:

Version 2.0 (03/05/08):
  • First Release of this Hack for vb3.7
  • MAJOR update. Hack totally re-writen. You must uninstall old version before upgrading.
  • Fixed just about all bugs. (like if you delete a thread...)
  • No more template edit. Everything done in ACP.
  • Permissions for by who ever has ACP access with threads and posts
  • Force Guests to read a thread now.
  • Works for BOTH vb3.6 AND vb3.7
Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

Pictures:
  • The error message.
  • The universal options.
  • Where you go to set the settings.
  • The list of forums that have force read settings.
  • The edit/add screen.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #242  
Old 09-29-2007, 03:25 PM
forumrunt forumrunt is offline
 
Join Date: Sep 2007
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what a great idea. Thanks
Reply With Quote
  #243  
Old 09-29-2007, 06:22 PM
jmurrayhead's Avatar
jmurrayhead jmurrayhead is offline
 
Join Date: Sep 2006
Location: Washington, D.C.
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this and it's a great mod. Here's one suggestion, however:

Perhaps display a list of threads that the users have to view before they can continue normal browsing. The way it is now, users may get frustrated or confused when there are multiple required reads, but they receive the same error message. When they see a list of "required read" threads, then they will at least know they have more than one and it shows which threads they have left to read.

Don't know if this was already suggested or not, but regardless, this is a great mod. :up:
Reply With Quote
  #244  
Old 09-29-2007, 06:39 PM
MiahBeSmokin420 MiahBeSmokin420 is offline
 
Join Date: May 2007
Location: Ohio
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jmurrayhead View Post
I just installed this and it's a great mod. Here's one suggestion, however:

Perhaps display a list of threads that the users have to view before they can continue normal browsing. The way it is now, users may get frustrated or confused when there are multiple required reads, but they receive the same error message. When they see a list of "required read" threads, then they will at least know they have more than one and it shows which threads they have left to read.

Don't know if this was already suggested or not, but regardless, this is a great mod. :up:
that is a great idea

because i have members saying that they cant get past that message

they say after the view the thread they still get the need to read a thread message

so i basically have this mod disabled because i hate hearing all the complaints

if you can add that feature i will deffantly re install it and recomend it to others
Reply With Quote
  #245  
Old 09-29-2007, 06:46 PM
jmurrayhead's Avatar
jmurrayhead jmurrayhead is offline
 
Join Date: Sep 2006
Location: Washington, D.C.
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MiahBeSmokin420 View Post
that is a great idea

because i have members saying that they cant get past that message

they say after the view the thread they still get the need to read a thread message

so i basically have this mod disabled because i hate hearing all the complaints

if you can add that feature i will deffantly re install it and recomend it to others
Indeed, I figured this may be a problem for some. With a list of required reads, the mod would definitely be much more friendly for the users.
Reply With Quote
  #246  
Old 09-30-2007, 12:52 PM
succo succo is offline
 
Join Date: Sep 2003
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i guess the last version doesn't work too well with vbadvanced, as i get a db error every time i go to the homepage, with
Code:
Database error in vBulletin 3.6.7:


Invalid SQL:


                                SELECT force_read_thread.force_read_threadid AS threadid
                                FROM force_read_thread AS force_read_thread
                                LEFT JOIN force_read_read AS force_read_read ON (force_read_thread.force_read_threadid = force_read_read.force_read_threadid AND force_read_read.force_read_userid = '39')
                                WHERE force_read_read.force_read_userid IS NULL
                                        AND force_read_thread.force_read_usergroupid IN (0,2)
                                        AND (force_read_thread.expire_date = 0 OR force_read_thread.expire_date > '1191109471')
                                        AND
                                        (
                                                force_read_thread.force_read_forumid IN ()
                                                OR force_read_thread.force_read_forumid = 0 AND (force_read_thread.force_read_location = 0 OR force_read_thread.force_read_location & 1)
                                        );


MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
                                                OR force_read_thread.force_read_forumid = 0 AND (force_read_thread.forc' at line 9
Error Number : 1064
Date         : Saturday, September 29th 2007 @ 07:44:32 PM
Script       : 'homepage'
Referrer     : 
IP Address   : **.**.**.**
Username     : ********
Classname    : ***********
in the homepage, the forumid is null (of course) and the database call is
Code:
force_read_thread.force_read_forumid IN ()
wich of course gives error

it can be solved adding 'adv_index' to the excluded scripts in the plugin located at global_setup_complete but, what for all the other 'non standard' scripts?
Reply With Quote
  #247  
Old 10-01-2007, 05:31 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by succo View Post
i guess the last version doesn't work too well with vbadvanced, as i get a db error every time i go to the homepage, with
Code:
Database error in vBulletin 3.6.7:


Invalid SQL:


                                SELECT force_read_thread.force_read_threadid AS threadid
                                FROM force_read_thread AS force_read_thread
                                LEFT JOIN force_read_read AS force_read_read ON (force_read_thread.force_read_threadid = force_read_read.force_read_threadid AND force_read_read.force_read_userid = '39')
                                WHERE force_read_read.force_read_userid IS NULL
                                        AND force_read_thread.force_read_usergroupid IN (0,2)
                                        AND (force_read_thread.expire_date = 0 OR force_read_thread.expire_date > '1191109471')
                                        AND
                                        (
                                                force_read_thread.force_read_forumid IN ()
                                                OR force_read_thread.force_read_forumid = 0 AND (force_read_thread.force_read_location = 0 OR force_read_thread.force_read_location & 1)
                                        );


MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
                                                OR force_read_thread.force_read_forumid = 0 AND (force_read_thread.forc' at line 9
Error Number : 1064
Date         : Saturday, September 29th 2007 @ 07:44:32 PM
Script       : 'homepage'
Referrer     : 
IP Address   : **.**.**.**
Username     : ********
Classname    : ***********
in the homepage, the forumid is null (of course) and the database call is
Code:
force_read_thread.force_read_forumid IN ()
wich of course gives error

it can be solved adding 'adv_index' to the excluded scripts in the plugin located at global_setup_complete but, what for all the other 'non standard' scripts?
Right now you have either all or non for non-vb pages.
Reply With Quote
  #248  
Old 10-01-2007, 02:12 PM
Skitty Skitty is offline
 
Join Date: May 2007
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The upgrade didn't work for me, it now malfunctions and the page stays locked on the message page, clicking the link doesn't take you to the thread, just stays on the same message page , we were all effectively locked out of the forum until we disabled the feature.
Reply With Quote
  #249  
Old 10-01-2007, 02:28 PM
Danisty Danisty is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It says that using the forum settings overrides the above settings. Does that include the usergroup settings or is it just the other location settings?
Reply With Quote
  #250  
Old 10-01-2007, 09:42 PM
Skitty Skitty is offline
 
Join Date: May 2007
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Skitty View Post
The upgrade didn't work for me, it now malfunctions and the page stays locked on the message page, clicking the link doesn't take you to the thread, just stays on the same message page , we were all effectively locked out of the forum until we disabled the feature.
Okeedokee, it turns out one of our admin moved the thread after it was forced, I'm assuming this is what caused the problem. Will reinstall and test tonight.
Reply With Quote
  #251  
Old 10-06-2007, 12:06 AM
ro_manuel ro_manuel is offline
 
Join Date: Sep 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So where do you setup which form to read? PM me thanks.......
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09387 seconds
  • Memory Usage 2,321KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete