vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Moderators Functions - Force Users to Read a Thread (https://vborg.vbsupport.ru/showthread.php?t=151737)

Abe1 07-08-2007 10:00 PM

Force Users to Read a Thread
 
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.

badboyz 07-09-2007 02:03 AM

reserved
1st one!!

SaltedSlug 07-09-2007 02:04 AM

Haha, sneaky. I like it!

Barakat 07-09-2007 02:24 AM

wow seem interesting ... i will check it later ...

edenx 07-09-2007 02:26 AM

good.

RvG2 07-09-2007 02:40 AM

great i need this! :)

PoetJA-1975 07-09-2007 03:13 AM

Wow - Really nice mod - Thanx for sharing ;)

Jacquii.

RMS-Chef 07-09-2007 04:13 AM

Nice Abe.
Thanks again for your contributions.

SCRIPT3R 07-09-2007 04:50 AM

money!

Hornstar 07-09-2007 05:13 AM

very nice addition, I might have a need for this in the future. thanks.

Scooterpig 07-09-2007 06:07 AM

Quote:

Originally Posted by badboyz (Post 1286313)
reserved
1st one!!

Dunna what you've reserved a reply to as you ain't the coder!

Nice hack Abe and very useful I reckon and almost makes ya think if it should be standard in vb....thanks..:)

testebr 07-09-2007 07:03 AM

veryyyy nice and useful mod, thanks a lot

projectego 07-09-2007 08:22 AM

Perfect!

/me clicks install

imk 07-09-2007 08:43 AM

this is great for a site like mine for league sign ups etc...thanks man

thenewuser 07-09-2007 09:05 AM

nice!

imk 07-09-2007 09:14 AM

hm it's not working for me, i just did it on one of my threads, and asked my mate to log in and he didnt see anything...also i log'd back in as a normal member and sore nothing.....is there anything i missed doing? i uploaded the xml and did the template edits....

imk 07-09-2007 09:34 AM

does this work for everyone else?

Abe1 07-09-2007 10:16 AM

Quote:

Originally Posted by imk (Post 1286577)
does this work for everyone else?

Works on my forum. You set the settings on a thread but it didn;t ask all users to read it? Go check the settings again. I would need 2 user accounts on your forum to test it out. One of couse an admin one. If you still have trouble, send me a PM.

radarhunter 07-09-2007 10:16 AM

will this come everytime the users log in or jus` for one time......

I mean if the user has not read the rules and regulations of the forum(watever they might be) he is directed to that forum thread and when he reads the whole Rules and Thread thing and check the box below then only he/she gets access to the site........

Abe1 07-09-2007 10:18 AM

Quote:

Originally Posted by radarhunter (Post 1286595)
will this come everytime the users log in or jus` for one time......


I mean if the user has not read the rules and regulations of the forum(watever they might be) he is directed to that forum thread and when he reads the whole Rules and Thread thing and check the box below then only he/she gets access to the site........

This will only tell a user once to read the thread. Once they read it, it wont bother them again. Also, they can't do ANYTHING on your forum unless they go and read the thread.

radarhunter 07-09-2007 10:23 AM

k thank man nice one. Just wat i want.

imk 07-09-2007 10:36 AM

check your pms please still not working

radarhunter 07-09-2007 10:44 AM

Quote:

Originally Posted by imk (Post 1286607)
check your pms please still not working

did u edit ur showthread template ????

Hellboys 07-09-2007 10:47 AM

I misset this one, thanks a lot mate for make this available.

radarhunter 07-09-2007 10:48 AM

can the particular thread be unmanaged too ??? cause i didn`t see an option there ???

or if one goes other will have to take it`s place ???

imk 07-09-2007 10:53 AM

yes i did, the option is there also but it just doesnt come up.

Abe1 07-09-2007 11:09 AM

Quote:

Originally Posted by radarhunter (Post 1286615)
can the particular thread be unmanaged too ??? cause i didn`t see an option there ???


or if one goes other will have to take it`s place ???

If you go back to the thread, click to manage it, and remove all checkboxes, then save, no-one must see this thread again.

If you have more then one set, a user get info to read one, after he reads this one, he will get info to read the next one.

Mecho 07-09-2007 11:24 AM

sounds great ... i'll install it asap . btw who can see that option in thread tools ?

thanks

Mikecp421 07-09-2007 11:26 AM

I like it, thanks abe

Abe1 07-09-2007 11:29 AM

Quote:

Originally Posted by Mecho (Post 1286635)
sounds great ... i'll install it asap . btw who can see that option in thread tools ?

thanks

Only a member that has 'Can Manage Threads' permission will be able to use the options.

Mecho 07-09-2007 11:32 AM

is it possible that just Admins can see this ? maybe that would be great if u make it as a Xml file with : enable or disable option / Thread ID(s) / Usergroup setting / and a Phrase for the vb message error

thanks anyway for this great hack ..

chatzworld 07-09-2007 11:46 AM

love this script so much!

great if you have important info / rule updates you need all members to read

Abe1 07-09-2007 12:04 PM

Quote:

Originally Posted by Mecho (Post 1286642)
is it possible that just Admins can see this ? maybe that would be great if u make it as a Xml file with : enable or disable option / Thread ID(s) / Usergroup setting / and a Phrase for the vb message error

thanks anyway for this great hack ..

Plans for in a future release. I just wanted to get this out there already so I didn't make it's own permissions. It uses the permission of someone who can manage the thread.

imk 07-09-2007 12:09 PM

any ideas why it isnt working for me man?

im on aim again

Triky 07-09-2007 12:14 PM

Really great idea!
Installed.

NovemberRain 07-09-2007 12:47 PM

this will be useful :D thanks!

but is it possible to make it do the template edits automatically? I don't prefer mods with template edits i have a lot of skins and uprades are a pain :)

Abe1 07-09-2007 01:18 PM

Quote:

Originally Posted by NovemberRain (Post 1286675)
this will be useful :D thanks!

but is it possible to make it do the template edits automatically? I don't prefer mods with template edits i have a lot of skins and uprades are a pain :)

If there was a way, I would have dont it. There are no $template_hook variables in these locations yet.

radarhunter 07-09-2007 02:35 PM

Quote:

Originally Posted by Abe1 (Post 1286631)
If you go back to the thread, click to manage it, and remove all checkboxes, then save, no-one must see this thread again.

If you have more then one set, a user get info to read one, after he reads this one, he will get info to read the next one.


Sorry if i`m sounding like a no0b but could you please explain what u said in another words cause i am not able to understand wat u jus` said

Smoothie 07-09-2007 03:16 PM

Quote:

Originally Posted by radarhunter (Post 1286746)
Sorry if i`m sounding like a no0b but could you please explain what u said in another words cause i am not able to understand wat u jus` said

Simple, Abe says that if you no longer require users to read a thread you simply go back to the thread, use the tools drop down and remove all the check boxes from the usergroups you specified when first requiring users to read that thread. In other words, just the opposite of what you did when setting up that thread to require users to read it. :)

Rickeo 07-09-2007 04:24 PM

Am liking this a lot :)

Thank you

~Rick~


All times are GMT. The time now is 01:09 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.01838 seconds
  • Memory Usage 1,814KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete