vb.org Archive

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

Abe1 05-02-2010 10:00 PM

Force Users to Read a Thread
 
1 Attachment(s)
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.

tomshawk 05-03-2010 01:51 AM

Tagged for future use.

This sounds awesome, Can't wait to check it out

TimberFloorAu 05-03-2010 02:23 AM

Quote:

This hack added one query to every page on your forum a member goes to.
Is this the case, AFTER they have read the thread also ???

Abe1 05-03-2010 02:37 AM

Yes. It checks always if there is a thread that must be read.

Khan_ 05-03-2010 02:52 AM

dosent works on 4.0.3.. i added the thread ID but it dosent works for any usergroups..

Abe1 05-03-2010 02:55 AM

What does it show? Are you sure you put in the write thread id? Maybe use the link in the thread.

Khan_ 05-03-2010 02:57 AM

Nothing shows up ..no reaction and Link dosent works, nothing shows up after saving ( if i add link instead of ID )..

Abe1 05-03-2010 03:07 AM

Quote:

Originally Posted by Khan_ (Post 2030915)
Nothing shows up ..no reaction and Link dosent works, nothing shows up after saving ( if i add link instead of ID )..

Can you PM me your ACP login details?

Khan_ 05-03-2010 03:17 AM

Sent ..

Abe1 05-03-2010 03:28 AM

Quote:

Originally Posted by Khan_ (Post 2030919)
Sent ..

I just PMed you that I found this hack working just as it should. You must have been on the thread and refreshed that page after you set the force read. Since you were on that page, it just got marked as viewed and never gave you the error screen.

Khan_ 05-03-2010 03:37 AM

great .. let me reset again and test it ..

But you know what .. i logged in as different user too but it didn't worked ..

Anyways let me login and test now . i will get back to you if i have any issues .

Thanks for you help.:)

uaewebmaster 05-03-2010 04:45 AM

1 Attachment(s)
Thank you for this Excellent Hack, I have installed it, and it worked perfectly, I have vb 4.0.3 running.

I have attached an arabic translation for those who need it.

ملاحظة : الترجمة العربية فقط للاعدادات المهمة

ADDED : you can change the administration msg that appears to users by editing the phrase : forceusersreadthread_read_thread.

Thanks. and rated.

UAEWebMaster

TimberFloorAu 05-03-2010 05:13 AM

Quote:

Yes. It checks always if there is a thread that must be read.
No I mean AFTER a user has READ the thread, does it still add One Query for that user to each thread they read?
i.e. is it constantly checking ?

sulasno 05-03-2010 05:33 AM

tagged for installation later
thanks

Skyrider 05-03-2010 05:34 AM

Ty! Installed and works perfectly! I've been waiting for this!

KEKforce 05-03-2010 07:17 AM

I got very strange error. When I add a topic to read (forced) the indexpage turns to archive stand.

Just like this: https://vborg.vbsupport.ru/archive/index.php/

When I disable the mod the indexpage of my forum is normal...
So this mods breaks the index of my forum. Please help?

marshal_ramdev 05-03-2010 07:19 AM

thanks ...

Skyrider 05-03-2010 07:40 AM

KEKforce, what version of vB you are using?

lovevn 05-03-2010 07:43 AM

I have tried it but when I add a forum id it and push "save" it said that it is saved but the setting is not saved. no forumid is added.

Edit: i solved the problem.

Rahstyles 05-03-2010 08:51 AM

Finally.. i been asking this for years.. man.. now you need to mmake it a post

maidos 05-03-2010 09:15 AM

this modhas been missed!
thanks alot for updating it

KEKforce 05-03-2010 09:17 AM

Quote:

Originally Posted by FF|Skyrider (Post 2030990)
KEKforce, what version of vB you are using?

I Use VB 4.03

my url: http://www.alfaforum.nl

Abe1 05-03-2010 10:28 AM

Quote:

Originally Posted by TimberFloorAu (Post 2030952)
No I mean AFTER a user has READ the thread, does it still add One Query for that user to each thread they read?
i.e. is it constantly checking ?

I'll repeat again,

Yes. It checks always if there is a thread that must be read.

Abe1 05-03-2010 10:30 AM

Quote:

Originally Posted by KEKforce (Post 2030982)
I got very strange error. When I add a topic to read (forced) the indexpage turns to archive stand.

Just like this: https://vborg.vbsupport.ru/archive/index.php/

When I disable the mod the indexpage of my forum is normal...
So this mods breaks the index of my forum. Please help?

I need to see the page the errors.

Hornstar 05-04-2010 07:45 AM

Excellent and thanks for this. Tagged for when I upgrade.

Asterix_ita 05-04-2010 01:59 PM

Thanks for addon

italian language file here

:bai

DjEddie 05-04-2010 05:04 PM

Im using vb 4.02 at the moment and have installed correctly as per instructions.

Everything on the Admin side works fine it accepts the thread to be forced read with no errors. When refreshing the home/forum page .. I then get this error:

Fatal error: Call to undefined function fetch_online_status() in /home/******/public_html/******/includes/block/html.php(95) : eval()'d code on line 97

Any ideas?

Thanks

Eddie

Veer 05-04-2010 05:55 PM

Can you add an option to redirect automatically after X seconds?

sticky 05-04-2010 06:03 PM

This is brilliant, thank you!

Fungsten 05-04-2010 08:02 PM

Quote:

Originally Posted by Veer (Post 2031721)
Can you add an option to redirect automatically after X seconds?

Ditto!


Abe1,

Can you set a sticky thread to force read? I don't think one could do that with the old version.

Dr.osamA 05-04-2010 10:31 PM

1 Attachment(s)
thanxx for tis graet mod

Quote:

Originally Posted by KEKforce (Post 2030982)
I got very strange error. When I add a topic to read (forced) the indexpage turns to archive stand.

When I disable the mod the indexpage of my forum is normal...
So this mods breaks the index of my forum. Please help?

same error

after user read topic get this error

installed + translate to Arabic

Abe1 05-04-2010 10:51 PM

Quote:

Originally Posted by DjEddie (Post 2031692)
Im using vb 4.02 at the moment and have installed correctly as per instructions.

Everything on the Admin side works fine it accepts the thread to be forced read with no errors. When refreshing the home/forum page .. I then get this error:

Fatal error: Call to undefined function fetch_online_status() in /home/******/public_html/******/includes/block/html.php(95) : eval()'d code on line 97

Any ideas?

Thanks

Eddie

I dont have code that goes anywhere near this. I dont know why you would get it. Are u sure it is this hack? I would have to check your acp
Quote:

Originally Posted by Veer (Post 2031721)
Can you add an option to redirect automatically after X seconds?

I'll look into it.
Quote:

Originally Posted by Fungsten (Post 2031804)
Abe1,

Can you set a sticky thread to force read? I don't think one could do that with the old version.

Why not? It is a regular thread. You can't do an announcement.

Skyrider 05-05-2010 07:52 AM

Abe1, can you add a feature to force users to read a thread as well? So you can choose users & usergroups.

EG:

Quote:

ThreadID:
Force Read Order:
Expire:
Expire Date:
Usergroups:
UserID:
Location:
UserID = My idea which I think would be awesome to add! :)

Abe1 05-05-2010 11:22 AM

Quote:

Originally Posted by FF|Skyrider (Post 2031995)
Abe1, can you add a feature to force users to read a thread as well? So you can choose users & usergroups.

EG:



UserID = My idea which I think would be awesome to add! :)

I dont think so. If you have 1 user that you want a thread to read by, just PM him.

Dr.osamA 05-05-2010 09:33 PM

as you ignored my post man :confused:

Abe1 05-06-2010 11:09 AM

Quote:

Originally Posted by Dr.osamA (Post 2032320)
as you ignored my post man :confused:

My answer is the same as I gave the other person.

Skyrider 05-07-2010 07:56 PM

Quote:

Originally Posted by Abe1 (Post 2032065)
I dont think so. If you have 1 user that you want a thread to read by, just PM him.

People can choose to refuse PM's, forcing a specific person would be a great addition to this plugin. Especially if you have a mod forum and you want a specific team member or members to check out a thread without selecting the whole usergroup. Not everyone likes to be forced. And I've had complaints about a few users before about them being forced. Hence the idea to force ID's as an option.

dxds 05-10-2010 09:26 PM

I cant figure out were the option is to force read... www.aogamers.com

Skyrider 05-13-2010 02:58 AM

Quote:

Originally Posted by dxds (Post 2034761)
I cant figure out were the option is to force read... www.aogamers.com

Go to your AdminCP --> Threads & Posts --> Force Thread Read

xTa` 05-13-2010 08:34 AM

Hey,

I'm reporting a big problem for users who uses many db servers.. it crashed my servers several times :

the problem is :

Last_SQL_Error: Error 'Duplicate entry '238346-282075' for key 'PRIMARY'' on query. Default database: 'xTaZe_6'. Query: 'INSERT INTO v7_force_read_users
(force_read_userid, force_read_threadid)
VALUES
('238346', '282075')'
1 row in set (0.00 sec)

for users who got the same problem add the following to your mysql configuration files, this will ensure replication continues even when there is a duplicate record .

slave-skip-errors = 1146
slave-skip-errors = 1062


All times are GMT. The time now is 03:25 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.01777 seconds
  • Memory Usage 1,827KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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