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
  #252  
Old 10-06-2007, 11:33 AM
giovannicosta giovannicosta is offline
 
Join Date: Feb 2007
Location: London, England, UK
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed In 3.6.8 But Cant Configure Options, Where Do I Do That?
Reply With Quote
  #253  
Old 10-10-2007, 05:26 PM
Alphawolf83's Avatar
Alphawolf83 Alphawolf83 is offline
 
Join Date: Mar 2005
Location: Germany
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that nice hack. Just found it some minutes ago, after searching for hours.

But there seems to be a bug. Steps I made are:

- Created a thread in an internal forum (visible by the team only) for testing
- Made this thread being forced to read by the team
- Deleted the thread
--- Those who read it meanwhile, didnt have any problems
--- Those who didnt read it before the thread has been deleted, are being redirected to the message again and again... and so cant use the forum anymore

Can anyone apply this? I fixed that problem by deleting the contents in DB tables force_read_read and force_read_thread manually.

Somehow the contents in force_read_thread are not gonna be deleted on thread delete.
Reply With Quote
  #254  
Old 10-10-2007, 09:43 PM
lazserus's Avatar
lazserus lazserus is offline
 
Join Date: Mar 2004
Location: Planet Earth
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've run into the exact same problem, but I didn't delete the tables in the db, I just disabled the hack. Apparently when you delete a thread the hack doesn't know it's deleted and the information isn't updated, causing a user to get stuck on the page forcing them to read the thread.
Reply With Quote
  #255  
Old 10-10-2007, 10:57 PM
Alphawolf83's Avatar
Alphawolf83 Alphawolf83 is offline
 
Join Date: Mar 2005
Location: Germany
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lazserus View Post
I've run into the exact same problem, but I didn't delete the tables in the db, I just disabled the hack. Apparently when you delete a thread the hack doesn't know it's deleted and the information isn't updated, causing a user to get stuck on the page forcing them to read the thread.
So, is the author still updating that hack?
Reply With Quote
  #256  
Old 10-12-2007, 02:08 PM
amcd amcd is offline
 
Join Date: Oct 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting this error
Quote:
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 = '285')
WHERE force_read_read.force_read_userid IS NULL
AND force_read_thread.force_read_usergroupid IN (0,6)
AND (force_read_thread.expire_date = 0 OR force_read_thread.expire_date > '1192201380')
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 & 64)
);
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
Sorry, I didnt read the whole thread, will do now... but if someone knows why this comes once I install the product, please lemme know.
Reply With Quote
  #257  
Old 10-13-2007, 11:13 PM
Majest Majest is offline
 
Join Date: Apr 2006
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work on 3.6.5 and if so do I need to do the php and xml changes?
Reply With Quote
  #258  
Old 10-15-2007, 01:28 PM
Keesa Keesa is offline
 
Join Date: Oct 2007
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Before I proceed with this, does it work with vBadvanced?

I marked it as installed, got one error and quickly backed out the template changes.

Thanks if anyone knows the answer.
Reply With Quote
  #259  
Old 10-18-2007, 11:38 AM
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
Location: London, UK
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also in the drop down you can select to make users read this thread or to manage the thread viewing (expiry etc). Can we just have a simple remove force read for a thread that switches this off.

Also I made three to be viewed to see if on viewing on the user was forced to read a second and then a third in order. It seems this was so for the first two and the third was ignored. It this meant to be this way?

Many thanks
Reply With Quote
  #260  
Old 10-18-2007, 11:40 AM
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
Location: London, UK
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spika View Post
Hi, I need to know if is possible to force to read a diferent thread to diferents groups at the same time.
Example:
Usergroup Awaiting Moderation -> a thread about activation problem
Usergroup Affiliate --> a thread about quotas
Usergroup Registered -> a thread about how to affiliate in our club

Sorry for my english
Thanks
This is a FAB idea especially to be able to redirect users awaiting registration confirmation to an post abou that
Reply With Quote
  #261  
Old 10-18-2007, 05:33 PM
EragonSN EragonSN is offline
 
Join Date: Sep 2006
Location: Norway
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be nice to have this for subforums too, so here is what I want xD

I run a small forum, gaming servers, with several subforums, for different games, but players from the other games, ain't really interested in the rules from a different game...

So, would it be possible to have a "YOU MUST READ" Sign or error, when you enter a specific forum only, and the thread will be in that forum too, users who don't access that part are left out...

Hope you understand what I mean :P
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:27 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.10600 seconds
  • Memory Usage 2,313KB
  • 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
  • (3)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