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
  #362  
Old 02-20-2008, 11:44 AM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack Abe!!

Love this, now there is no excuse for new registrants to say "i didnt find or read the rules"

QUESTION;

I see the option to tick "new thread", which I take means if the user clicks to start a new thread, they get the message. However, I have a specific forum where I want this enforced, but I do not want them to get the "force thread" every time they click this forum. Is there a way to enable this only if they click "new thread" in that specific forum?

I hope I make sense :s
Reply With Quote
  #363  
Old 02-20-2008, 04:35 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have read all post here, & still I get 404 not found page if I am not in the /forum/.
I to have vba pages & set force read for only forum related areas. If I login on test account on vba portal page, I get pop up, requesting I read thread. I have it set to only force read on forum pages. What is the Portal Output Global Variable for this mod to add to admincp/vbacmps/Portal Output Global Variables ?
Reply With Quote
  #364  
Old 02-24-2008, 12:04 PM
mark|3 mark|3 is offline
 
Join Date: Oct 2007
Posts: 186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anyway to include the downloads and arcade section?

thanks
Reply With Quote
  #365  
Old 02-25-2008, 07:54 AM
cjwinternet cjwinternet is offline
 
Join Date: Oct 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a snag.

We had two 'forced reads' on the forum, an FAQ and something else. One of these threads was deleted.

Users were then forced to read the first thread, the FAQ. They are then prompted to read the second thread. As it doesn't exist, they are stuck in a loop getting the 'you must read this thread' notification over and over again.

The product had to be removed and reinstalled.

That's a PITA.
Reply With Quote
  #366  
Old 02-25-2008, 07:28 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cjwinternet View Post
Here's a snag.

We had two 'forced reads' on the forum, an FAQ and something else. One of these threads was deleted.

Users were then forced to read the first thread, the FAQ. They are then prompted to read the second thread. As it doesn't exist, they are stuck in a loop getting the 'you must read this thread' notification over and over again.

The product had to be removed and reinstalled.

That's a PITA.
That's a known bug, that's been repeatedly mentioned in this thread. There's no fix for it at the moment. Just out of curiosity, why did you delete the other thread, rather then just turning the Force Read off for that thread?
Reply With Quote
  #367  
Old 02-25-2008, 09:52 PM
Gooner Gooner is offline
 
Join Date: May 2007
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error message while using your mod with a paid mod from www.joomlaworks.gr

but your mod is very important to me, the error is:

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 = '2')
WHERE force_read_read.force_read_userid IS NULL
AND force_read_thread.force_read_usergroupid IN (0,14)
AND (force_read_thread.expire_date = 0 OR force_read_thread.expire_date > '1203966869')
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 : Monday, February 25th 2008 @ 02:14:29 PM
Script : http://www.e********.net/
Referrer :
IP Address : 77.101.215.207
Username : Gooner
Classname : vB_Database

how do i fix this so i can use both mods enabled at the same time? at the moment i can only have one of the mods enabled or i get that error, please help, i really need your mod
Reply With Quote
  #368  
Old 02-26-2008, 02:18 AM
AussieHolden AussieHolden is offline
 
Join Date: Jan 2008
Location: Australia, Victoria
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the sound of this mod but I would only want it for new registered members when they log in for the first time so they will be taken to the rules section.
Reply With Quote
  #369  
Old 02-26-2008, 04:27 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AussieHolden View Post
I like the sound of this mod but I would only want it for new registered members when they log in for the first time so they will be taken to the rules section.
You can do that with this mod. It's permission based.
Reply With Quote
  #370  
Old 02-26-2008, 05:35 AM
AussieHolden AussieHolden is offline
 
Join Date: Jan 2008
Location: Australia, Victoria
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the mod installed now but I am at a lost as to were to make the edits ? as what is in the instructions.

Quote:
2) Do the template edits

in SHOWTHREAD:

find:
--------------------------------------------------------------------
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
--------------------------------------------------------------------

AFTER place this:
--------------------------------------------------------------------
<!-- Start Abe1 Force Users to Read a Thread -->
<div><label for="ao_mfr"><input type="radio" name="do" id="ao_mfr" value="forceread" />$vbphrase[manage_force_thread_reading]</label></div>
<!-- End Abe1 Force Users to Read a Thread -->
--------------------------------------------------------------------



find:
--------------------------------------------------------------------
<option value="removeredirect">$vbphrase[remove_redirects]</option>
--------------------------------------------------------------------

AFTER place this:
--------------------------------------------------------------------
<!-- Start Abe1 Force Users to Read a Thread -->
<option value="forceread">$vbphrase[manage_force_thread_reading]</option>
<!-- End Abe1 Force Users to Read a Thread -->
--------------------------------------------------------------------
Reply With Quote
  #371  
Old 02-28-2008, 05:16 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only the error(conflict) of this mod is when I delet a thread that I set to force to read ?

Or the conflict is when I unset a thread that it was force to read to unforce it ??

Thank you!
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 05:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04887 seconds
  • Memory Usage 2,310KB
  • Queries Executed 28 (?)
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_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_postinfo_query
  • fetch_postinfo
  • 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