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.
It is strange I thought that I don?t have problems with this great mod.
But yesterday I received by email this error:
Code:
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT *
FROM vbthread AS thread
LEFT JOIN vbforce_read_users AS force_read_users ON (thread.threadid = force_read_users.force_read_threadid AND force_read_users.force_read_userid = '741')
WHERE thread.force_read = '1' AND (thread.force_read_expire_date = '0' OR thread.force_read_expire_date > '1205821298') AND (force_read_usergroups = '' OR force_read_usergroups LIKE '%-2-%') AND (force_read_forums = '') AND force_read_users.force_read_userid IS NULL
ORDER BY force_read_order ASC;
MySQL Error : Sort aborted
Error Number : 1028
Date : Tuesday, March 18th 2008 @ 12:21:38 AM
Script : http://www.all-reefs.com/inicio/index.php
Referrer : http://www.all-reefs.com/inicio/showthread.php?t=3929
IP Address : 189.146.183.17
Username : jpluna
Classname : vb_database
It is strange I thought that I don?t have problems with this great mod.
But yesterday I received by email this error:
Code:
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT *
FROM vbthread AS thread
LEFT JOIN vbforce_read_users AS force_read_users ON (thread.threadid = force_read_users.force_read_threadid AND force_read_users.force_read_userid = '741')
WHERE thread.force_read = '1' AND (thread.force_read_expire_date = '0' OR thread.force_read_expire_date > '1205821298') AND (force_read_usergroups = '' OR force_read_usergroups LIKE '%-2-%') AND (force_read_forums = '') AND force_read_users.force_read_userid IS NULL
ORDER BY force_read_order ASC;
MySQL Error : Sort aborted
Error Number : 1028
Date : Tuesday, March 18th 2008 @ 12:21:38 AM
Script : http://www.all-reefs.com/inicio/index.php
Referrer : http://www.all-reefs.com/inicio/showthread.php?t=3929
IP Address : 189.146.183.17
Username : jpluna
Classname : vb_database
Please help !!
Can you run this query in mysql and see if you still get the error. It's a select query so it wont affect anything.
SELECT * FROM vbthread AS thread LEFT JOIN vbforce_read_users AS force_read_users ON (thread.threadid = force_read_users.force_read_threadid AND force_read_users.force_read_userid = '741') WHERE thread.force_read = '1' AND (thread.force_read_expire_date = '0' OR thread.force_read_expire_date > '1205821298') AND (force_read_usergroups = '' OR force_read_usergroups LIKE '%-2-%') AND (force_read_forums = '') AND force_read_users.force_read_userid IS NULL ORDER BY force_read_order ASC;
AFTER place 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 -->
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Abe1 Force Users to Read a Thread -->
<option value="forceread">$vbphrase[manage_force_thread_reading]</option>
<!-- End Abe1 Force Users to Read a Thread -->
--------------------------------------------------------------------
Done.
Click 'install' in the thread you downloaded this from.