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
  #62  
Old 08-03-2010, 03:32 PM
max2008 max2008 is offline
 
Join Date: Sep 2008
Location: SA
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed , thanks for the MOD , working on VB 4.0.4
Reply With Quote
  #63  
Old 08-05-2010, 02:55 PM
surfer2124 surfer2124 is offline
 
Join Date: Sep 2009
Location: NJ
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: Scratch this my zip file didn't extract correctly and I missed a file upload

This doesn't appear after the install



I do see the option in the thread under the Admin drop down though and once set it does work.

Any suggestions?
Reply With Quote
  #64  
Old 08-09-2010, 10:06 PM
X I Am Lethal X X I Am Lethal X is offline
 
Join Date: Jul 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a little trouble. I keep hitting save and it saves but does not show up. I am not exactly show what I am suppose to put in the thread ID column?

Also where do you get the thread ID from on your boards?
Reply With Quote
  #65  
Old 08-17-2010, 11:44 AM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working on vBs 4.0.5 and 4.0.6 please?
Reply With Quote
  #66  
Old 08-18-2010, 05:36 PM
Sicilian Sicilian is offline
 
Join Date: Apr 2010
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone able to confirm that this works with 4.06?
Reply With Quote
  #67  
Old 08-18-2010, 05:46 PM
DeathRS's Avatar
DeathRS DeathRS is offline
 
Join Date: Aug 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No answer where to find the thread ID?

I have 4.0.5 and it's not working!
Reply With Quote
  #68  
Old 08-18-2010, 09:32 PM
Falcon Capt Falcon Capt is offline
 
Join Date: May 2006
Location: U.S.
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to get rid of the "Force Read Thread" text link on the editors? (it is appearing down by the "Show your signature" and "Close this thread" checkboxes on the Quick Reply Editor)

I don't think that it is really necessary to have this option all over the place. This hack will probably be used for an occassional message, at which time setting it up in the AdminCP is sufficient. Adding that extra phrase on every editor doesn't look good and takes away from an otherwise very nice hack.
Reply With Quote
  #69  
Old 08-18-2010, 09:41 PM
Falcon Capt Falcon Capt is offline
 
Join Date: May 2006
Location: U.S.
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Falcon Capt View Post
Is there a way to get rid of the "Force Read Thread" text link on the editors? (it is appearing down by the "Show your signature" and "Close this thread" checkboxes on the Quick Reply Editor)

I don't think that it is really necessary to have this option all over the place. This hack will probably be used for an occassional message, at which time setting it up in the AdminCP is sufficient. Adding that extra phrase on every editor doesn't look good and takes away from an otherwise very nice hack.
Figured it out, removed this code from the XML file and it seemed to do the trick.

Code:
			<phpcode><![CDATA[require_once(DIR . '/includes/adminfunctions.php');

if (can_administer('canadminthreads'))
{
	$vbulletin->templatecache['SHOWTHREAD'] = str_replace('if ($show[\'openclose\'])', '$final_rendered .= \'<li><a href="\' . $vbulletin->config[\'Misc\'][\'admincpdir\']  . \'/force_read_thread.php?\' . $session[\'sessionurl\'] . \'do=edit&amp;threadid=\' . $threadid . \'" target="_blank">\' . vB_Template_Runtime::parsePhrase("force_read_thread") . \'</a></li>\'; if ($show[\'openclose\'])', $vbulletin->templatecache['SHOWTHREAD']);
}]]></phpcode>
Reply With Quote
  #70  
Old 08-18-2010, 10:21 PM
thr45h3r's Avatar
thr45h3r thr45h3r is offline
 
Join Date: Mar 2010
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sicilian View Post
Anyone able to confirm that this works with 4.06?
Just installed it in 4.0.6 and yes it seems to be working just fine :up:
Reply With Quote
  #71  
Old 08-18-2010, 11:32 PM
Falcon Capt Falcon Capt is offline
 
Join Date: May 2006
Location: U.S.
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sicilian View Post
Anyone able to confirm that this works with 4.06?
I am also using it sucessfully on vB 4.0.6. I did implement the mod I mentioned a couple posts earlier. The links it was installing just didn't format nicely and were really unnecessary.
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 01:53 AM.


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.04785 seconds
  • Memory Usage 2,347KB
  • 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
  • (1)bbcode_code
  • (3)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
  • (1)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