Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 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.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
  #262  
Old 10-18-2007, 11:47 PM
Meghwar's Avatar
Meghwar Meghwar is offline
 
Join Date: Apr 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Abe1

I did follow all the info and add's and when i import the product i get the Error below....

Any idea how can i solve that

index = VbPortal
Forum=Vbulletin 3.6.8

regards

Abe

Quote:
Database error in vBulletin 3.6.8:

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 = '1')
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 > '1192754513')
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
Date : Thursday, October 18th 2007 @ 05:41:54 PM
Script : http://www.****.com/forum/index.php
Referrer : http://www.****.com/forum/showthread.php?p=58933
IP Address : **********
Username : Meghwar
Classname : vb_database
Reply With Quote
  #263  
Old 10-19-2007, 11:29 AM
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Location: USA-Egypt-UAE
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it but never tried it as a user till today. Admins. a piece of advice. Don't over do this because when you get new members they will spend hours forced to read the threads you force them to. I think that's a good way to drive them away.
I am trying to figure out now what (reset) means. I am afraid if I reset, then users will be forced to see the threads again. What I want to do is cancel some of the threads I have users go to.
Reply With Quote
  #264  
Old 10-19-2007, 03:47 PM
Meghwar's Avatar
Meghwar Meghwar is offline
 
Join Date: Apr 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Meghwar View Post
Database error in vBulletin 3.6.8:

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 = '1')
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 > '1192754513')
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
Date : Thursday, October 18th 2007 @ 05:41:54 PM
Script : http://www.****.com/forum/index.php
Referrer : http://www.****.com/forum/showthread.php?p=58933
IP Address : **********
Username : Meghwar
Classname : vb_database
Please any help....
Reply With Quote
  #265  
Old 10-21-2007, 02:35 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 Schnee View Post
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.
Yes, all you have to do is when you make a force read, don't let it be active on 3rd party pages.




Quote:
Originally Posted by perfphysio View Post
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
It should make you view all 3. Just it would be in any order.







Quote:
Originally Posted by EragonSN View Post
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
Doesn't it work for subforums now?






Quote:
Originally Posted by Meghwar View Post
Hi Abe1

I did follow all the info and add's and when i import the product i get the Error below....

Any idea how can i solve that

index = VbPortal
Forum=Vbulletin 3.6.8

regards

Abe
All you have to do is when you make a force read, don't let it be active on 3rd party pages.
Reply With Quote
  #266  
Old 10-21-2007, 01:36 PM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

suggestion: can u set time of how long they must stay on the thread, since my user just click the link and go on
Reply With Quote
  #267  
Old 10-22-2007, 02:10 AM
too_cool_3's Avatar
too_cool_3 too_cool_3 is offline
 
Join Date: Sep 2007
Location: ON, Canada
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just merged a thread that used to be set as force read... and now my new members are getting an error...again, all memeber that alread viewed it are fine...
i'm having to delete it now, but i will try just disabling it first to see if it stops the error... when u come up with a fix, let me know... by the way im using vbadvanced too, if that makes a difference.
Reply With Quote
  #268  
Old 10-23-2007, 08:10 AM
chikkoo chikkoo is offline
 
Join Date: Mar 2005
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this in 2 test forums, 1 with vbadvanced one without vbadvanced.

The one without vbadvanced works fine.

The one with vbadvaced gives error while login from vbadvanced, it's searching for the thread without the forum path (sub folder).

Can somebody tell me where to add the correct path?
Reply With Quote
  #269  
Old 10-25-2007, 12:40 PM
777connect 777connect is offline
 
Join Date: Apr 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was very easy to install. But I can't seem to get it work. I go to the setting and manage it and set it for uses in all locations, but yet it still works as if it is not set. If I go back to manage it, it is like nothing has been set. Like it did not save the settings.
Reply With Quote
  #270  
Old 10-26-2007, 07:51 AM
Direct Vision Direct Vision is offline
 
Join Date: Oct 2007
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It worked for me but the only problem is this.

when my members will try to enter their user name and password, they have 2 boxes to choose from to enter them the small normal one at the top and the other in the big box that come as vb mssage.

when i enter in the normal small one the message comes but it won't redirect to the thread it will have the /forums missing.

And when i enter in the user and pass in the vb message box in will work good

what do you think i should do??
Reply With Quote
  #271  
Old 10-26-2007, 08:17 AM
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Location: USA-Egypt-UAE
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to know all the threads that have been marked for forced reading so I can stop it or cancel it from threads of my choice? Moderators have been using this too much and now any new user has to spend ages trying to get into the forum as he is continuously redirected to read a thread...really annoying.
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 04:00 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.05460 seconds
  • Memory Usage 2,324KB
  • 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
  • (6)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