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
  #482  
Old 03-18-2008, 05:47 AM
amroawad amroawad is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shawn Yue View Post
Like I Imported The System Then I Go Vbulletion Option Force To read Thread

Then I Never Do AnyThing

Then I Go to HomePage

I Click On The Thread Why Never Force Me Read Thread

And I Running On vb 3.6.8

And I gO TO The Thread And Moderation I Click on the Thread icon And I force To read Thread When I Save Nothing Appear....
Same to me too.
Reply With Quote
  #483  
Old 03-18-2008, 11:20 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 amroawad View Post
Same to me too.
Do you have vbSEO installed?
Reply With Quote
  #484  
Old 03-18-2008, 03:50 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is strange I thought that I don?t have problems with this great mod.

But yesterday I received by email this error:

Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

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

MySQL Error  : Sort aborted
Error Number : 1028
Date        : Tuesday, March 18th 2008 @ 12:21:38 AM
Script      : http://www.all-reefs.com/inicio/index.php
Referrer    : http://www.all-reefs.com/inicio/showthread.php?t=3929
IP Address  : 189.146.183.17
Username    : jpluna
Classname    : vb_database
Please help !!
Reply With Quote
  #485  
Old 03-19-2008, 04:30 AM
AbercrombieAron AbercrombieAron is offline
 
Join Date: Mar 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Outstanding mod this. Great work
Reply With Quote
  #486  
Old 03-19-2008, 04:51 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 mariocaz View Post
It is strange I thought that I don?t have problems with this great mod.

But yesterday I received by email this error:

Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

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

MySQL Error  : Sort aborted
Error Number : 1028
Date        : Tuesday, March 18th 2008 @ 12:21:38 AM
Script      : http://www.all-reefs.com/inicio/index.php
Referrer    : http://www.all-reefs.com/inicio/showthread.php?t=3929
IP Address  : 189.146.183.17
Username    : jpluna
Classname    : vb_database
Please help !!
Can you run this query in mysql and see if you still get the error. It's a select query so it wont affect anything.
Reply With Quote
  #487  
Old 03-19-2008, 05:10 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Abe1,

What query I have to run in myphpadmin ?
Reply With Quote
  #488  
Old 03-19-2008, 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 mariocaz View Post
Hi Abe1,

What query I have to run in myphpadmin ?
PHP Code:
SELECT *
            
FROM vbthread AS thread
            LEFT JOIN vbforce_read_users 
AS force_read_users ON (thread.threadid force_read_users.force_read_threadid AND force_read_users.force_read_userid '741')
            
WHERE thread.force_read '1' AND (thread.force_read_expire_date '0' OR thread.force_read_expire_date '1205821298') AND (force_read_usergroups '' OR force_read_usergroups LIKE '%-2-%') AND (force_read_forums '') AND force_read_users.force_read_userid IS NULL
            ORDER BY force_read_order ASC

Reply With Quote
  #489  
Old 03-19-2008, 05:39 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok let me try that
Reply With Quote
  #490  
Old 03-19-2008, 03:10 PM
BlackRabbit1971's Avatar
BlackRabbit1971 BlackRabbit1971 is offline
 
Join Date: Jun 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone have the older version of this, so I can uninstall it removing the edits.
Reply With Quote
  #491  
Old 03-19-2008, 07:06 PM
DannyITR DannyITR is offline
 
Join Date: Jan 2002
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlackRabbit1971 View Post
Does anyone have the older version of this, so I can uninstall it removing the edits.
Here you go:

Quote:
Force Users to Read a Thread version 1.2

FOR UPGRADE AND FRESH INSTALLATIONS!

1) Import product-abe1_forceusersreadthread into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])

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 -->
--------------------------------------------------------------------

Done.

Click 'install' in the thread you downloaded this from.

Done
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: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.12161 seconds
  • Memory Usage 2,323KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_php
  • (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_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