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)

giovannicosta 10-06-2007 11:33 AM

Installed In 3.6.8 But Cant Configure Options, Where Do I Do That?

Alphawolf83 10-10-2007 05:26 PM

Thanks for that nice hack. Just found it some minutes ago, after searching for hours.

But there seems to be a bug. Steps I made are:

- Created a thread in an internal forum (visible by the team only) for testing
- Made this thread being forced to read by the team
- Deleted the thread
--- Those who read it meanwhile, didnt have any problems
--- Those who didnt read it before the thread has been deleted, are being redirected to the message again and again... and so cant use the forum anymore

Can anyone apply this? I fixed that problem by deleting the contents in DB tables force_read_read and force_read_thread manually.

Somehow the contents in force_read_thread are not gonna be deleted on thread delete.

lazserus 10-10-2007 09:43 PM

I've run into the exact same problem, but I didn't delete the tables in the db, I just disabled the hack. Apparently when you delete a thread the hack doesn't know it's deleted and the information isn't updated, causing a user to get stuck on the page forcing them to read the thread.

Alphawolf83 10-10-2007 10:57 PM

Quote:

Originally Posted by lazserus (Post 1357203)
I've run into the exact same problem, but I didn't delete the tables in the db, I just disabled the hack. Apparently when you delete a thread the hack doesn't know it's deleted and the information isn't updated, causing a user to get stuck on the page forcing them to read the thread.

So, is the author still updating that hack? :o :)

amcd 10-12-2007 02:08 PM

I am getting this error
Quote:

Database error in vBulletin 3.6.7:
Invalid SQL:
SELECT force_read_thread.force_read_threadid AS threadid
FROM force_read_thread AS force_read_thread
LEFT JOIN force_read_read AS force_read_read ON (force_read_thread.force_read_threadid = force_read_read.force_read_threadid AND force_read_read.force_read_userid = '285')
WHERE force_read_read.force_read_userid IS NULL
AND force_read_thread.force_read_usergroupid IN (0,6)
AND (force_read_thread.expire_date = 0 OR force_read_thread.expire_date > '1192201380')
AND
(
force_read_thread.force_read_forumid IN ()
OR force_read_thread.force_read_forumid = 0 AND (force_read_thread.force_read_location = 0 OR force_read_thread.force_read_location & 64)
);
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
OR force_read_thread.force_read_forumid = 0 AND (force_read_thread.forc' at line 9
Error Number : 1064
Sorry, I didnt read the whole thread, will do now... but if someone knows why this comes once I install the product, please lemme know.

Majest 10-13-2007 11:13 PM

Does this work on 3.6.5 and if so do I need to do the php and xml changes?

Keesa 10-15-2007 01:28 PM

Before I proceed with this, does it work with vBadvanced?

I marked it as installed, got one error and quickly backed out the template changes.

Thanks if anyone knows the answer.

perfphysio 10-18-2007 11:38 AM

Also in the drop down you can select to make users read this thread or to manage the thread viewing (expiry etc). Can we just have a simple remove force read for a thread that switches this off.

Also I made three to be viewed to see if on viewing on the user was forced to read a second and then a third in order. It seems this was so for the first two and the third was ignored. It this meant to be this way?

Many thanks :)

perfphysio 10-18-2007 11:40 AM

Quote:

Originally Posted by Spika (Post 1342573)
Hi, I need to know if is possible to force to read a diferent thread to diferents groups at the same time.
Example:
Usergroup Awaiting Moderation -> a thread about activation problem
Usergroup Affiliate --> a thread about quotas
Usergroup Registered -> a thread about how to affiliate in our club

Sorry for my english
Thanks

This is a FAB idea especially to be able to redirect users awaiting registration confirmation to an post abou that :)

EragonSN 10-18-2007 05:33 PM

Would be nice to have this for subforums too, so here is what I want xD

I run a small forum, gaming servers, with several subforums, for different games, but players from the other games, ain't really interested in the rules from a different game...

So, would it be possible to have a "YOU MUST READ" Sign or error, when you enter a specific forum only, and the thread will be in that forum too, users who don't access that part are left out...

Hope you understand what I mean :P


All times are GMT. The time now is 10:55 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.01284 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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