Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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

Category: Moderators Functions - Version: 4.0.x Rating:
Released: 05-02-2010 Last Update: Never Installs: 1078
DB Changes Uses Plugins
Additional Files  
No support by the author.

Force Users to Read a Thread



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: 3 (1 via ACP, 2 via FTP)
  • Time to install: 1 minute
Updates:


Updates:
Version 2.10 (05/02/10):
  • First release of this hack for vb 4.0.
  • Added link in "Administrative" drop down on the showthread page to edit force read settings.

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.

Download Now

File Type: zip force_users_to_read_a_thread_2_10.zip (8.4 KB, 6155 views)

Screenshots

File Type: jpg 1.JPG (30.8 KB, 0 views)
File Type: jpg 2.JPG (85.6 KB, 0 views)
File Type: jpg 3.JPG (6.6 KB, 0 views)
File Type: jpg 4.JPG (20.5 KB, 0 views)
File Type: jpg 5.JPG (48.0 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
gamersplatoon, Insta-Gator

Comments
  #152  
Old 11-10-2011, 12:06 PM
DAC DAC is offline
 
Join Date: Jul 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



Sorry i have a mistake.

you can use this mod with 4.1.7 ?
Reply With Quote
  #153  
Old 11-11-2011, 06:14 PM
inigo inigo is offline
 
Join Date: May 2010
Location: Spain
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can`t. After updating to 4.1.7. the users see the thread, but it repeat to see it again, and another time,... so I had to disabled it.

No sql errors, but not working properly,
Reply With Quote
  #154  
Old 11-12-2011, 12:42 AM
AliMadkour's Avatar
AliMadkour AliMadkour is offline
 
Join Date: Dec 2004
Location: Egypt
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks ...
but sometimes I got that errors

Code:
Invalid SQL:

SELECT *
FROM thread AS thread
LEFT JOIN force_read_users AS force_read_users ON (thread.threadid = force_read_users.force_read_threadid AND force_read_users.force_read_userid = '150409')
WHERE thread.force_read = '1' AND (thread.force_read_expire_date = '0' OR thread.force_read_expire_date > '1320959203') AND (force_read_usergroups = '' OR force_read_usergroups LIKE '%-2-%') AND (force_read_forums = '' OR force_read_forums LIKE '%-72-%' OR force_read_forums LIKE '%-70-%') AND force_read_users.force_read_userid IS NULL
ORDER BY force_read_order ASC;

MySQL Error   : MySQL server has gone away
Error Number  : 2006
Request Date  : Thursday, November 10th 2011 @ 11:06:43 PM
Error Date    : Thursday, November 10th 2011 @ 11:07:21 PM
??
Reply With Quote
  #155  
Old 11-12-2011, 03:28 AM
DAC DAC is offline
 
Join Date: Jul 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so i cant install this in 4.1.7

Very sad, this is a very great hack
Reply With Quote
  #156  
Old 11-12-2011, 03:30 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AliMadkour View Post
thanks ...
but sometimes I got that errors

Code:
Invalid SQL:

SELECT *
FROM thread AS thread
LEFT JOIN force_read_users AS force_read_users ON (thread.threadid = force_read_users.force_read_threadid AND force_read_users.force_read_userid = '150409')
WHERE thread.force_read = '1' AND (thread.force_read_expire_date = '0' OR thread.force_read_expire_date > '1320959203') AND (force_read_usergroups = '' OR force_read_usergroups LIKE '%-2-%') AND (force_read_forums = '' OR force_read_forums LIKE '%-72-%' OR force_read_forums LIKE '%-70-%') AND force_read_users.force_read_userid IS NULL
ORDER BY force_read_order ASC;

MySQL Error   : MySQL server has gone away
Error Number  : 2006
Request Date  : Thursday, November 10th 2011 @ 11:06:43 PM
Error Date    : Thursday, November 10th 2011 @ 11:07:21 PM
??
That's an issue with your host, not vBulletin. Contact your host with that error
Reply With Quote
  #157  
Old 11-12-2011, 01:21 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DAC View Post
so i cant install this in 4.1.7

Very sad, this is a very great hack
yes it is sad, maybe later they will update
Reply With Quote
  #158  
Old 11-22-2011, 10:19 PM
Killer Squirrel Killer Squirrel is offline
 
Join Date: Jul 2008
Location: CT
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I am guessing it hasnt been updated for v4.1.8 either.
Reply With Quote
  #159  
Old 11-24-2011, 06:58 PM
AdrianH AdrianH is offline
 
Join Date: Sep 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Killer Squirrel View Post
So I am guessing it hasnt been updated for v4.1.8 either.

Developer Last Online: Jun 2010 ......... Abe1 gave up vbulletin.
Reply With Quote
  #160  
Old 12-16-2011, 10:28 PM
Killer Squirrel Killer Squirrel is offline
 
Join Date: Jul 2008
Location: CT
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AdrianH View Post
Developer Last Online: Jun 2010 ......... Abe1 gave up vbulletin.
:erm:
Reply With Quote
  #161  
Old 01-03-2012, 07:13 AM
Successfulsteps's Avatar
Successfulsteps Successfulsteps is offline
 
Join Date: Sep 2010
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AliMadkour View Post
thanks ...
but sometimes I got that errors

Code:
Invalid SQL:

SELECT *
FROM thread AS thread
LEFT JOIN force_read_users AS force_read_users ON (thread.threadid = force_read_users.force_read_threadid AND force_read_users.force_read_userid = '150409')
WHERE thread.force_read = '1' AND (thread.force_read_expire_date = '0' OR thread.force_read_expire_date > '1320959203') AND (force_read_usergroups = '' OR force_read_usergroups LIKE '%-2-%') AND (force_read_forums = '' OR force_read_forums LIKE '%-72-%' OR force_read_forums LIKE '%-70-%') AND force_read_users.force_read_userid IS NULL
ORDER BY force_read_order ASC;

MySQL Error   : MySQL server has gone away
Error Number  : 2006
Request Date  : Thursday, November 10th 2011 @ 11:06:43 PM
Error Date    : Thursday, November 10th 2011 @ 11:07:21 PM
??
I was getting same error after installing 4.1.9. It is on the host. I had my wait_timeout: set way too low. It's set at 120 now, but the default goes as high as 28800 on my host. I'd contact them. It caused me to have all kinds of db errors in a lot of mods. I don't know why with this upgrade there was such an issue, but after raising that, no more db errors at all, just like before 4.1.9. I hate upgrading due to all the problems it causes. Had I not installed vbseo and checked their specs, I would have never known. I had everything I needed except that one setting needing to be raised slightly. I don't know if I would have had ever figured it out with those specs though. It sure had me going nuts for awhile. I was not at all used to db errors. I am now db error free again and kept my mods too.
Reply With Quote
Reply


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 09:25 PM.


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.08307 seconds
  • Memory Usage 2,355KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete