vb.org Archive

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

Abe1 03-04-2008 10:00 PM

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

Hasann 03-05-2008 10:56 AM

wuhuuuuuuuuu thanks canimm benim :D:up:

KURTZ 03-05-2008 11:03 AM

TAGGED MOD, for future use :)

nice job Abe ;)

ry215 03-05-2008 11:14 AM

*Installed*, thanks a lot Abe1!

maidos 03-05-2008 11:24 AM

great hack but would stilll love to see a count down feature like 30 seconds before u can move on becaude my members will just click the thread and move on

Abe1 03-05-2008 11:29 AM

Quote:

Originally Posted by maidos (Post 1457514)
great hack but would stilll love to see a count down feature like 30 seconds before u can move on becaude my members will just click the thread and move on

Would be hard to implement.

maidos 03-05-2008 12:17 PM

if ucan make apoll and ask ppl what they think if u get positive feedback im sure its well worth to implement it

Abe1 03-05-2008 01:02 PM

Zip file updated. admincp/force_read_thread.php file updated to fix error for vb3.6.x users.

projectego 03-05-2008 01:39 PM

Great idea for a hack. Cheers! :D

mc0676 03-05-2008 01:44 PM

Quote:

Originally Posted by Abe1 (Post 1457590)
Zip file updated. admincp/force_read_thread.php file updated to fix error for vb3.6.x users.

Now i don't receive the admin panel error, but if i try to insert new thread force from admin panel and i save, after i can see it.
And the force read don't work.
If i try to manage the read from thread directly (like 1.2 versione) i see this, a blank field.

Zaiaku 03-05-2008 02:11 PM

This will definitely be useful for me later on, will keep an eye on this.

Abe1 03-05-2008 02:12 PM

Quote:

Originally Posted by mc0676 (Post 1457611)
Now i don't receive the admin panel error, but if i try to insert new thread force from admin panel and i save, after i can see it.
And the force read don't work.
If i try to manage the read from thread directly (like 1.2 versione) i see this, a blank field.

You should have removed the template edit. You can't use that way right now.

As for the adding via the ACP, can you explain to me what happens?

mc0676 03-05-2008 03:08 PM

Quote:

Originally Posted by Abe1 (Post 1457629)
You should have removed the template edit. You can't use that way right now.

As for the adding via the ACP, can you explain to me what happens?

Which template edit, excume me ?

For the ACP, i attach some file.

I add a new force thread, i insert thread id, i save but after i can see this force thread.

Abe1 03-05-2008 03:12 PM

Zip file updated (again). admincp/force_read_thread.php file updated to fix error of not adding the force read.

Abe1 03-05-2008 03:14 PM

Quote:

Originally Posted by mc0676 (Post 1457687)
Which template edit, excume me ?

For the ACP, i attach some file.

I add a new force thread, i insert thread id, i save but after i can see this force thread.

Fixed. Search "force read" and removed the edit around it.

mc0676 03-05-2008 03:18 PM

FINE, now it works.

Can u tell me which template edit to toggle that blank field ? Thanks.

mc0676 03-05-2008 03:20 PM

OK a find it sorry:

Is only this ?

<!-- Start Abe1 Force Users to Read a Thread -->
<div><label for="ao_mfr"><input type="radio" name="do" id="ao_mfr" value="forceread" />$vbphrase[manage_force_thread_reading]</label></div>
<!-- End Abe1 Force Users to Read a Thread -->

AndyJensen 03-05-2008 05:12 PM

Installed, thanks!

mystic10 03-05-2008 05:13 PM

i have a question...like ur previous verison we can force thread from the thread itself...i believe u took that option away...as now we do it from acp..if i still want to put that option in should i put back the template edit u gave us to put in showthread in the last version

Abe1 03-05-2008 09:14 PM

Quote:

Originally Posted by mystic10 (Post 1457806)
i have a question...like ur previous verison we can force thread from the thread itself...i believe u took that option away...as now we do it from acp..if i still want to put that option in should i put back the template edit u gave us to put in showthread in the last version

Sorry, there is only the option from the ACP. No way to do it from the thread. The location of the settings is just not there any more. I totally re-wrote the who settings and did it in a way that you can see all in one place. I may make a link from the thread again, but just not now.

Hornstar 03-06-2008 05:51 AM

great, as soon as i upgrade to 3.7 i'll be installing this again, and hopefully this time it wont have a conflict with vbplaza and expired items.

Barakat 03-06-2008 10:18 AM

Code:

Warning: require_once() [function.require-once]: Unable to access ./includes/vba_global_error.php in /includes/functions.php(2713) : eval()'d code on line 2

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

Fatal error: require_once() [function.require]: Failed opening required './includes/vba_global_error.php' (include_path='.:/usr/local/lib/php') in /home/spideiui/public_html/forums/includes/functions.php(2713) : eval()'d code on line 2

even the vba_cmps_error.php file name is not located as vba_global_error.php


its works good on most of my groups ....

but the unlogin visitors .... when i choose it it gives me this error

Barakat 03-06-2008 10:31 AM

the error was when u choose the wide location.....

coz i have the vbadvanced .. so it seems not working on it ?!

Abe1 03-06-2008 10:59 AM

Quote:

Originally Posted by Barakat (Post 1458384)
the error was when u choose the wide location.....

coz i have the vbadvanced .. so it seems not working on it ?!

Go to your the force read thread settings and add vbadvaced to the list there.

KURTZ 03-06-2008 11:15 AM

it would be great if you improve your hack with something like the daily crons ... so everyday a user must be forced to read a thread for "x" days ... it's possible?

maidos 03-06-2008 01:41 PM

is it possible to make the hack notify how many threads left to force read, since many of my members thought they got lockedout because i force read the more than one thread

djr 03-06-2008 01:45 PM

Subscribed for future use. Nice mod!

odonel 03-06-2008 02:35 PM

that thing has some issues. It worked fine yesterday and stop working today. new thread are created, can't force... what's the deal here ?? i got the saved successfully message, but nothing saved. It did yesterday and I changed nothing since...

FOMSCU Forum 03-06-2008 04:14 PM

<font color="Red">it is a good mod

but some admins over use this mod that it makes forum Boring

anyway thanks for updating this mod
</font>

Abe1 03-06-2008 10:25 PM

Quote:

Originally Posted by odonel (Post 1458523)
that thing has some issues. It worked fine yesterday and stop working today. new thread are created, can't force... what's the deal here ?? i got the saved successfully message, but nothing saved. It did yesterday and I changed nothing since...

Anyway to check your ACP?

odonel 03-07-2008 11:03 AM

I would have to check with site owner first. What could possibly cause that?

jluerken 03-08-2008 12:01 PM

Quote:

Originally Posted by mc0676 (Post 1457687)
Which template edit, excume me ?

For the ACP, i attach some file.

I add a new force thread, i insert thread id, i save but after i can see this force thread.

I still have the same issue with v2.0 on vb3.7 beta 5

Alfa1 03-08-2008 05:46 PM

Can I use this hack to force members to read a thread, before posting in a specific forum? I do not want to bother readers with it. Just members that want to post in a selected forum.

maidos 03-09-2008 11:25 AM

hm any news about implement a display of the amounts of threads to read left

Abe1 03-09-2008 03:11 PM

Quote:

Originally Posted by odonel (Post 1459197)
I would have to check with site owner first. What could possibly cause that?

I really dont know.

Abe1 03-09-2008 03:12 PM

Quote:

Originally Posted by jluerken (Post 1459995)
I still have the same issue with v2.0 on vb3.7 beta 5

No clue what you mean.

Abe1 03-09-2008 03:13 PM

Quote:

Originally Posted by Alfa1 (Post 1460185)
Can I use this hack to force members to read a thread, before posting in a specific forum? I do not want to bother readers with it. Just members that want to post in a selected forum.

I guess you can disable this hack on the showthread, showpost, and forumdisplay pages.

Abe1 03-09-2008 03:14 PM

Quote:

Originally Posted by maidos (Post 1460635)
hm any news about implement a display of the amounts of threads to read left

Non right now.

maidos 03-10-2008 06:20 AM

These threads that are required for all members to read are difficult to even pull up.

When I log in, it tells me there is a message the Admin wants you to view. I click the link, and it just brings me to a "page cannot be found" link. I open it in a new tab (in BOTH IE and Firefox) and open in new window. I get the same thing. It takes multiple sign-off, sign-ins to get this to work. This is not the first time this has happened either. Previous admin messages have resulted in the same thing.

this is what i got from a members and i tried a new accoutn for test and it works out for me

jluerken 03-10-2008 01:17 PM

Quote:

Originally Posted by Abe1 (Post 1460769)
No clue what you mean.

Ok maybe I was not clear enough. I have the same problem that users described here. I entered a new threadid and saved the entry. It says that the entry was saved sucessfully but its not showing up.


All times are GMT. The time now is 06:16 AM.

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.01697 seconds
  • Memory Usage 1,823KB
  • 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
  • (1)bbcode_code_printable
  • (14)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