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
  #492  
Old 03-20-2008, 07:40 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added a second thread view to the list, and only gave it to one usergroup, however it is saying that these usergroups will get it:
Moderators
Senior Moderators
Forum Helpers

I double checked and only Forum Helpers is selected, and even resaved it, but still the same.

The only thing I can think is that the thread above has these 2 usergroups: Moderators
Senior Moderators

So it is wanting to put those in the other one as well.

Thanks.
Reply With Quote
  #493  
Old 03-20-2008, 09:18 AM
BlackRabbit1971's Avatar
BlackRabbit1971 BlackRabbit1971 is offline
 
Join Date: Jun 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many Thanks DannyITR
Reply With Quote
  #494  
Old 03-20-2008, 07:08 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 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....
Well, odds are if your the one who started the thread, you've already read it.
Reply With Quote
  #495  
Old 03-21-2008, 04:45 AM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Abe..... I am having some trouble with my 3.6.8PL2 board when using this mod.

This is the error I am recieving when I have a added a forced topic and the mod is enabled:

Quote:
Warning: require_once(./includes/vba_global_error.php) [function.require-once]: failed to open stream: No such file or directory in \includes\functions.php(2658) : eval()'d code on line 2

Fatal error: require_once() [function.require]: Failed opening required './includes/vba_global_error.php' (include_path='.;C:\php5\pear') in c:\myisp\includes\functions.php(2658) : eval()'d code on line 2
Leave it to me to break something! LOL

This is how I setup my forced topic:
Reply With Quote
  #496  
Old 03-22-2008, 05:30 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I had a problem when I activated a Force read to a Thread (global) to all my users and they enter to my forum by the portal (vBAdvanced CMPS) then the announcement of the force read shows a wrong link because the url of my portal is:

http://www.myforum.com/index.php

And the URL of my forum is:

http://www.myforum.com/forums/index.php

So when the announcement(messages) of the Force Read showed it to my users in my portal showed the wrong link, like this:

http://www.myforum/showthread.php?t=xxxx

Instead of the correct link to the thread, like this:

http://www.myforum/forums/showthread.php?t=xxxx

So I did a temporal fix editing the product of the Mod, this part:

LINE 148
Code:
.........<a href="http://www.myforum/forums/showthread.php?t={1}">here</a>.]]></phrase>
		</phrasetype>
		<phrasetype name="vBulletin Settings" fieldname="vbsettings">
			<phrase name="setting_forcereadthread_disable_file_desc" date="1204521087" username="Abe" version="2.0"><![CDATA[If you would like to disable this hack for certain files, simply enter the name of the file(s) here. Separate each file name with a carriage return (new line).<br />
Like you saw I had to add the complete URL of my forum in that part to fix my problem.

So maybe Abe1 you can d a fix in the next release and you can add an option in the ACP for the users that have installed a portal like me.
Reply With Quote
  #497  
Old 03-25-2008, 03:17 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 hornstar1337 View Post
I added a second thread view to the list, and only gave it to one usergroup, however it is saying that these usergroups will get it:
Moderators
Senior Moderators
Forum Helpers

I double checked and only Forum Helpers is selected, and even resaved it, but still the same.

The only thing I can think is that the thread above has these 2 usergroups: Moderators
Senior Moderators

So it is wanting to put those in the other one as well.


Thanks.
Fixed for next version. Not a major bug. Just shows there but does not affect anything.
Reply With Quote
  #498  
Old 03-25-2008, 03:18 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 YLP1 View Post
Hi Abe..... I am having some trouble with my 3.6.8PL2 board when using this mod.

This is the error I am recieving when I have a added a forced topic and the mod is enabled:



Leave it to me to break something! LOL

This is how I setup my forced topic:
Disable the hack for vba
Reply With Quote
  #499  
Old 03-25-2008, 03: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 mariocaz View Post
Hi,

I had a problem when I activated a Force read to a Thread (global) to all my users and they enter to my forum by the portal (vBAdvanced CMPS) then the announcement of the force read shows a wrong link because the url of my portal is:

http://www.myforum.com/index.php

And the URL of my forum is:

http://www.myforum.com/forums/index.php

So when the announcement(messages) of the Force Read showed it to my users in my portal showed the wrong link, like this:

http://www.myforum/showthread.php?t=xxxx

Instead of the correct link to the thread, like this:

http://www.myforum/forums/showthread.php?t=xxxx

So I did a temporal fix editing the product of the Mod, this part:

LINE 148
Code:
.........<a href="http://www.myforum/forums/showthread.php?t={1}">here</a>.]]></phrase>
		</phrasetype>
		<phrasetype name="vBulletin Settings" fieldname="vbsettings">
			<phrase name="setting_forcereadthread_disable_file_desc" date="1204521087" username="Abe" version="2.0"><![CDATA[If you would like to disable this hack for certain files, simply enter the name of the file(s) here. Separate each file name with a carriage return (new line).<br />
Like you saw I had to add the complete URL of my forum in that part to fix my problem.

So maybe Abe1 you can d a fix in the next release and you can add an option in the ACP for the users that have installed a portal like me.
All you have to do is disable the hack for vb advanced.
Reply With Quote
  #500  
Old 04-03-2008, 05:19 PM
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Location: Italy
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working!
Reply With Quote
  #501  
Old 04-04-2008, 01:24 PM
buurman's Avatar
buurman buurman is offline
 
Join Date: Apr 2002
Location: Amsterdam
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I always had 1.2 on my 3.6.4 forum and worked fine.
Uninstalled that one from templates and plugins, and installed 2.0.
Also editted the global.php and XML file.

I dont have the option to select "force this post" in the forum, the option isnt there!
It is in admincp and plugins.

Any idea?
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 04:41 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.05657 seconds
  • Memory Usage 2,327KB
  • 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
  • (2)bbcode_code
  • (5)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