Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 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.7.x Rating:
Released: 03-04-2008 Last Update: 03-04-2008 Installs: 1468
DB Changes Uses Plugins
Additional Files  
No support by the author.

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 06-08-2009, 04:57 PM
Loki12 Loki12 is offline
 
Join Date: Jul 2004
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kobra Khan View Post
i have seen it on one site working on 3.8.2 version
wondering wut he did to make it work ??
It works on my 3.8.1.
Reply With Quote
  #333  
Old 06-09-2009, 03:21 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am upgrading a 3.6.8 version of this mod--Will a simple product overwrite upgrade this or will it cause problems?

Thanks
Reply With Quote
  #334  
Old 06-11-2009, 12:30 AM
adamskiii adamskiii is offline
 
Join Date: Oct 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working for 3.8.2. Does not save the thread you specify.
Reply With Quote
  #335  
Old 06-12-2009, 04:18 AM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This needs updated to 3.8.x with an added feature "force users to read and reply to a thread".
Reply With Quote
  #336  
Old 06-19-2009, 06:13 AM
captainbohica captainbohica is offline
 
Join Date: Sep 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kjdj View Post
I imported the xml through the admin panel, and then I went to FTP the files over, but I get an sql error, and I can't access the adminpanel or the site forums either.

Is there some way to reverse what I have done, or should we restore the latest backup (which is fairly old)

I guess what happened is the xml executed before the 2 folders were uploaded by FTP, so it didn't quite complete itself.

Is there a way to make the xml run again?

Thx
Quote:
Originally Posted by Total666 View Post
Do this

disable all plugins.

in includes / config.php

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

then you can disable the force thread in plug in manager ..

then remove the define('DISABLE_HOOKS', true);
Quote:
Originally Posted by kjdj View Post
Well it came back for a few minutes, I got back in with no plugins working.
I disabled this plugin, (removed the disable plugins code ) then I get a database error, then I just get a blank page when going to the forum page.

Any idea what file will still have remnants of the botched install?

Thanks
Quote:
Originally Posted by Total666 View Post
disable all the plugins ( with the code ) . then uninstall the force thread from the plug in manager ..

then re-enable the plugins (with the code )

then start again ..
I had a similar error and was able to disable the plugins through the config file, disabled/uninstalled the force read plugin....

but when I logged in again, im back to square one with my error msg:

Warning: Unknown([path]/madp/detection.php): failed to open stream: No such file or directory in [path]/includes/functions_login.php(185) : eval()'d code on line 3

any other ideas how I can fix this?
Reply With Quote
  #337  
Old 06-19-2009, 09:11 AM
captainbohica captainbohica is offline
 
Join Date: Sep 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HossMon View Post
It may have altered a table and currupted it on uninstall,
SSH into your server and run

mysqladmin flush-hosts
mysqladmin flush-tables
mysqladmin flush-threads

Then Stop mysqld
/etc/rc.d/init.d/mysql stop (may not be same on your server)

CD to your database dir
cd /var/lib/mysql/(yourdb)

And run
myisamchk -m *.MYI

Repair any tables that need so
myisamchk -B -r force_read_users.MYI
help a n00b out.. what does all this mean ? lol
Reply With Quote
  #338  
Old 07-05-2009, 03:52 PM
The Donkey Farm's Avatar
The Donkey Farm The Donkey Farm is offline
 
Join Date: Dec 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great for me in 3.8.1! Didn't work at first till I read replies made here and then made sure to enter in the thread ID. I was entering the post ID before. For any still having trouble make sure to just mouse over the thread title in your subforum and then use the last set of numbers shown in the url to enter into the first field of the force read then make sure to have your usergroups plus location highlighted then click save.
Reply With Quote
  #339  
Old 07-21-2009, 10:27 AM
spillage spillage is offline
 
Join Date: Feb 2009
Location: S. Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you use an Announcement ID in place of a Thread ID for the Force Read?
Reply With Quote
  #340  
Old 08-10-2009, 05:56 AM
ruger's Avatar
ruger ruger is offline
 
Join Date: Sep 2004
Location: Texas
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Had to remove since it was interfering with AWC Donations system.
Reply With Quote
  #341  
Old 08-20-2009, 12:53 AM
bluej bluej is offline
 
Join Date: Jan 2007
Location: U.S.A.
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

another great mod with no support, what a shame
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 02:51 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.09282 seconds
  • Memory Usage 2,318KB
  • 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
  • (1)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