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)

forumrunt 09-29-2007 03:25 PM

what a great idea. Thanks

jmurrayhead 09-29-2007 06:22 PM

I just installed this and it's a great mod. Here's one suggestion, however:

Perhaps display a list of threads that the users have to view before they can continue normal browsing. The way it is now, users may get frustrated or confused when there are multiple required reads, but they receive the same error message. When they see a list of "required read" threads, then they will at least know they have more than one and it shows which threads they have left to read.

Don't know if this was already suggested or not, but regardless, this is a great mod. :up:

MiahBeSmokin420 09-29-2007 06:39 PM

Quote:

Originally Posted by jmurrayhead (Post 1349759)
I just installed this and it's a great mod. Here's one suggestion, however:

Perhaps display a list of threads that the users have to view before they can continue normal browsing. The way it is now, users may get frustrated or confused when there are multiple required reads, but they receive the same error message. When they see a list of "required read" threads, then they will at least know they have more than one and it shows which threads they have left to read.

Don't know if this was already suggested or not, but regardless, this is a great mod. :up:

that is a great idea

because i have members saying that they cant get past that message

they say after the view the thread they still get the need to read a thread message

so i basically have this mod disabled because i hate hearing all the complaints

if you can add that feature i will deffantly re install it and recomend it to others

jmurrayhead 09-29-2007 06:46 PM

Quote:

Originally Posted by MiahBeSmokin420 (Post 1349769)
that is a great idea

because i have members saying that they cant get past that message

they say after the view the thread they still get the need to read a thread message

so i basically have this mod disabled because i hate hearing all the complaints

if you can add that feature i will deffantly re install it and recomend it to others

Indeed, I figured this may be a problem for some. With a list of required reads, the mod would definitely be much more friendly for the users.

succo 09-30-2007 12:52 PM

i guess the last version doesn't work too well with vbadvanced, as i get a db error every time i go to the homepage, with
Code:

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 = '39')
                                WHERE force_read_read.force_read_userid IS NULL
                                        AND force_read_thread.force_read_usergroupid IN (0,2)
                                        AND (force_read_thread.expire_date = 0 OR force_read_thread.expire_date > '1191109471')
                                        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 & 1)
                                        );


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
Date        : Saturday, September 29th 2007 @ 07:44:32 PM
Script      : 'homepage'
Referrer    :
IP Address  : **.**.**.**
Username    : ********
Classname    : ***********

in the homepage, the forumid is null (of course) and the database call is
Code:

force_read_thread.force_read_forumid IN ()
wich of course gives error

it can be solved adding 'adv_index' to the excluded scripts in the plugin located at global_setup_complete but, what for all the other 'non standard' scripts?

Abe1 10-01-2007 05:31 AM

Quote:

Originally Posted by succo (Post 1350178)
i guess the last version doesn't work too well with vbadvanced, as i get a db error every time i go to the homepage, with
Code:

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 = '39')
                                WHERE force_read_read.force_read_userid IS NULL
                                        AND force_read_thread.force_read_usergroupid IN (0,2)
                                        AND (force_read_thread.expire_date = 0 OR force_read_thread.expire_date > '1191109471')
                                        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 & 1)
                                        );


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
Date        : Saturday, September 29th 2007 @ 07:44:32 PM
Script      : 'homepage'
Referrer    :
IP Address  : **.**.**.**
Username    : ********
Classname    : ***********

in the homepage, the forumid is null (of course) and the database call is
Code:

force_read_thread.force_read_forumid IN ()
wich of course gives error

it can be solved adding 'adv_index' to the excluded scripts in the plugin located at global_setup_complete but, what for all the other 'non standard' scripts?

Right now you have either all or non for non-vb pages.

Skitty 10-01-2007 02:12 PM

The upgrade didn't work for me, it now malfunctions and the page stays locked on the message page, clicking the link doesn't take you to the thread, just stays on the same message page , we were all effectively locked out of the forum until we disabled the feature.

Danisty 10-01-2007 02:28 PM

It says that using the forum settings overrides the above settings. Does that include the usergroup settings or is it just the other location settings?

Skitty 10-01-2007 09:42 PM

Quote:

Originally Posted by Skitty (Post 1350778)
The upgrade didn't work for me, it now malfunctions and the page stays locked on the message page, clicking the link doesn't take you to the thread, just stays on the same message page , we were all effectively locked out of the forum until we disabled the feature.

Okeedokee, it turns out one of our admin moved the thread after it was forced, I'm assuming this is what caused the problem. Will reinstall and test tonight.

ro_manuel 10-06-2007 12:06 AM

So where do you setup which form to read? PM me thanks.......


All times are GMT. The time now is 08:57 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.02573 seconds
  • Memory Usage 1,761KB
  • 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
  • (4)bbcode_code_printable
  • (4)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