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
  #332  
Old 01-10-2008, 04:56 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PoetJA-1975 View Post
hmmm - for anyone interested - I made a little Attention Please graphic to use on the "error message" phrase and in the thread that you have the required read in... It's especially nice if you use the bbcode colors red and darkred

Enjoy!

Jacquii.

My phrase:


Again - Thanx for the modification
Nominated for HOTM

Jacquii.
KINDLY HELP COULD U GUIDE TO WHERE I PLACE IT...IN STEPS SO I CAN FOLLOW IT CORRECTLY THANKS SO FOR MUCH
Reply With Quote
  #333  
Old 01-10-2008, 04:58 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I Was Wondering..sorry For The Ingnorance On My Part...but Want To Know Does It Save A Cookie So When The Member Come Back They Don't Have To See The Forced Section Again
Reply With Quote
  #334  
Old 01-10-2008, 07:05 PM
Faltzer Faltzer is offline
 
Join Date: Feb 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is just what I've been looking for. Great!
Reply With Quote
  #335  
Old 01-10-2008, 08:49 PM
len backus len backus is offline
 
Join Date: May 2007
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mystic, yes, there is an option for showing a thread only once. I have been using that option.
Reply With Quote
  #336  
Old 01-11-2008, 12:45 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ooops = wrong thread....
Reply With Quote
  #337  
Old 01-13-2008, 04:20 AM
vNew vNew is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have vB 3.6.8 and after installation, I was able to force reading of a thread.

However, after the thread is read, if the user then clicks on home, the process is repeated, i.e. he/she has to read the thread yet again.

I've 6 other hacks installed, so I presume this is a compatibility issue.

If there is no simple solution, I'll uninstall this hack.

Fortunately, I backed up vB before installation.

This is supposedly, and theoretically, a great hack. But unfortunately, it doesn't work right in my system.

vNew.

P.S.: I waded through all 23 pages of discussions and found no solution.
Reply With Quote
  #338  
Old 01-13-2008, 05:23 PM
vNew vNew is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UN-installed.

Sorry, but the loop of repeatedly demanding that the user read a thread that was already read was simply not helpful. I think it is a compatibility issue on my system. As I said, I've 6 hacks installed before this, and don't have time to figure out the problem.

It was a great concept, though. A nice feature to have even if it is not absolutely essential. Unfortunately, it didn't work out.

Thanks for the efforts, no less.

P.S. After un-install, the feature and function are gone, but the non-functional radio-button remained in the drop down menu. Anyway to remove it?
Reply With Quote
  #339  
Old 01-13-2008, 10:23 PM
z0diac z0diac is offline
 
Join Date: Dec 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I imported the xml file fine - but after I go into the forum , create a thread, read the thread, then select Thread Tools dropdown menu, there's nothing new there. ??? (running v3.6.8)
Reply With Quote
  #340  
Old 01-16-2008, 06:41 PM
Auron Auron is offline
 
Join Date: Oct 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone mentioned earlier about having portal integration issues with this hack..

lm currently getting the following issue:

Warning: Unknown(./includes/vba_global_error.php): failed to open stream: No such file or directory in /includes/functions.php(2658) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required './includes/vba_global_error.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/anime/public_html/forum/includes/functions.php(2658) : eval()'d code on line 1

l know it has something to do with vbadvanced wanting to look for it in a place it doesnt exist but lm no coder so dont have the knowledge to edit more than one or two things that lm used to...

someone mentioned disabling custom pages or something but l couldnt find the settings that mentioned this hack and well we have custom pages that are needed hence if it can specifically be disabled for the portal, or work it would be useful...

on a side note l did work out how to hide the option from staff other than admins, its not perfect but it worked well enough which l saw mentioned so l thought l would add my template edits that removed the option from the thread tools and specifically only let ID6 (administrators) edit the thread settings of this hack

heres the code we used (its simple but worked without causing errors

Code:
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 -->
<if condition="$bbuserinfo['usergroupid'] == 6">
<div><label for="ao_mfr"><input type="radio" name="do" id="ao_mfr" value="forceread" />$vbphrase[manage_force_thread_reading]</label></div>
</if>
<!-- 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 -->
<if condition="$bbuserinfo['usergroupid'] == 6">
<option value="forceread">$vbphrase[manage_force_thread_reading]</option>
</if>
<!-- End Abe1 Force Users to Read a Thread -->
--------------------------------------------------------------------
Reply With Quote
  #341  
Old 01-18-2008, 03:43 PM
parash parash is offline
 
Join Date: Dec 2007
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THanks was simple to sort out..works very nice
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:30 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.05583 seconds
  • Memory Usage 2,311KB
  • 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
  • (1)bbcode_code
  • (1)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