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.......

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

Meghwar 10-18-2007 11:47 PM

Hi Abe1

I did follow all the info and add's and when i import the product i get the Error below....

Any idea how can i solve that

index = VbPortal
Forum=Vbulletin 3.6.8

regards

Abe

Quote:

Database error in vBulletin 3.6.8:

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 = '1')
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 > '1192754513')
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
Date : Thursday, October 18th 2007 @ 05:41:54 PM
Script : http://www.****.com/forum/index.php
Referrer : http://www.****.com/forum/showthread.php?p=58933
IP Address : **********
Username : Meghwar
Classname : vb_database

haytham 10-19-2007 11:29 AM

I installed it but never tried it as a user till today. Admins. a piece of advice. Don't over do this because when you get new members they will spend hours forced to read the threads you force them to. I think that's a good way to drive them away.
I am trying to figure out now what (reset) means. I am afraid if I reset, then users will be forced to see the threads again. What I want to do is cancel some of the threads I have users go to.

Meghwar 10-19-2007 03:47 PM

Quote:

Originally Posted by Meghwar (Post 1363417)
Database error in vBulletin 3.6.8:

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 = '1')
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 > '1192754513')
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
Date : Thursday, October 18th 2007 @ 05:41:54 PM
Script : http://www.****.com/forum/index.php
Referrer : http://www.****.com/forum/showthread.php?p=58933
IP Address : **********
Username : Meghwar
Classname : vb_database

Please any help....

Abe1 10-21-2007 02:35 AM

Quote:

Originally Posted by Schnee (Post 1360712)
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.

Yes, all you have to do is when you make a force read, don't let it be active on 3rd party pages.




Quote:

Originally Posted by perfphysio (Post 1362997)
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 :)

It should make you view all 3. Just it would be in any order.







Quote:

Originally Posted by EragonSN (Post 1363225)
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

Doesn't it work for subforums now?






Quote:

Originally Posted by Meghwar (Post 1363417)
Hi Abe1

I did follow all the info and add's and when i import the product i get the Error below....

Any idea how can i solve that

index = VbPortal
Forum=Vbulletin 3.6.8

regards

Abe

All you have to do is when you make a force read, don't let it be active on 3rd party pages.

maidos 10-21-2007 01:36 PM

suggestion: can u set time of how long they must stay on the thread, since my user just click the link and go on

too_cool_3 10-22-2007 02:10 AM

Just merged a thread that used to be set as force read... and now my new members are getting an error...again, all memeber that alread viewed it are fine...
i'm having to delete it now, but i will try just disabling it first to see if it stops the error... when u come up with a fix, let me know... by the way im using vbadvanced too, if that makes a difference.

chikkoo 10-23-2007 08:10 AM

I just installed this in 2 test forums, 1 with vbadvanced one without vbadvanced.

The one without vbadvanced works fine.

The one with vbadvaced gives error while login from vbadvanced, it's searching for the thread without the forum path (sub folder).

Can somebody tell me where to add the correct path?

777connect 10-25-2007 12:40 PM

This was very easy to install. But I can't seem to get it work. I go to the setting and manage it and set it for uses in all locations, but yet it still works as if it is not set. If I go back to manage it, it is like nothing has been set. Like it did not save the settings.

Direct Vision 10-26-2007 07:51 AM

It worked for me but the only problem is this.

when my members will try to enter their user name and password, they have 2 boxes to choose from to enter them the small normal one at the top and the other in the big box that come as vb mssage.

when i enter in the normal small one the message comes but it won't redirect to the thread it will have the /forums missing.

And when i enter in the user and pass in the vb message box in will work good

what do you think i should do??

haytham 10-26-2007 08:17 AM

Is there a way to know all the threads that have been marked for forced reading so I can stop it or cancel it from threads of my choice? Moderators have been using this too much and now any new user has to spend ages trying to get into the forum as he is continuously redirected to read a thread...really annoying.

357Magnum 10-26-2007 09:46 AM

Quote:

Originally Posted by 777connect (Post 1368281)
This was very easy to install. But I can't seem to get it work. I go to the setting and manage it and set it for uses in all locations, but yet it still works as if it is not set. If I go back to manage it, it is like nothing has been set. Like it did not save the settings.

having the same problem. vb 3.6.8 patch1

virus9112002 10-27-2007 09:41 PM

Nice
Thanks Abe1.

for your contributions.

cjwinternet 10-28-2007 03:01 PM

Quote:

Only a member that has 'Can Manage Threads' permission will be able to use the options.
Where's that set please?

Abe1 10-28-2007 03:12 PM

Quote:

Originally Posted by maidos (Post 1365046)
suggestion: can u set time of how long they must stay on the thread, since my user just click the link and go on

No.
Quote:

Originally Posted by Direct Vision (Post 1368950)
It worked for me but the only problem is this.

when my members will try to enter their user name and password, they have 2 boxes to choose from to enter them the small normal one at the top and the other in the big box that come as vb mssage.

when i enter in the normal small one the message comes but it won't redirect to the thread it will have the /forums missing.

And when i enter in the user and pass in the vb message box in will work good

what do you think i should do??

I have no idea what you are talking about.
Quote:

Originally Posted by haytham (Post 1368964)
Is there a way to know all the threads that have been marked for forced reading so I can stop it or cancel it from threads of my choice? Moderators have been using this too much and now any new user has to spend ages trying to get into the forum as he is continuously redirected to read a thread...really annoying.

I am working on it.

richTV 10-29-2007 12:40 AM

Hello Abe.

i was thinking about a force users to read a pm

a pm sent by a Mod or Admin or perhaps configurable for other usergroups too via Admin Panel or something.

i have set up in my forum a flashing PM icon to get a member's attention but maybe that could be a nice idea too.

to be honest, i haven't checked to see if such a hack exists but i'm just tossing around some thoughts here. :)

tnx for reading.

richTV 10-29-2007 12:43 AM

Quote:

Originally Posted by haytham (Post 1368964)
Is there a way to know all the threads that have been marked for forced reading so I can stop it or cancel it from threads of my choice?.....

not the most efficient way, but u could register a test acct to see which threads they are. :)

Digital Jedi 10-29-2007 06:04 AM

Quote:

Originally Posted by Abe1 (Post 1370435)
I have no idea what you are talking about.

If I'm not mistaken, I think he's talking about the login page that comes up when you try to view an area that requires you to be logged in to access, and the login box in the navbar. When they login from the navbar, it doesn't always redirect to the thread.

Direct Vision 10-29-2007 06:14 AM

Quote:

Originally Posted by Digital Jedi (Post 1370918)
If I'm not mistaken, I think he's talking about the loging page that comes up when you try to view an area that requires you to be logged in to access, and the login box in the navbar. When they login from the navbar, it doesn't always redirect to the thread.

Yes thank you that's right, when members log in from home page (www.mypage.com),
it does'nt work the address of the thread will have the /forums missing,

and when members are in the forums (www.mypage.com/forums), it will work.

the thing is that from the homepage it won't work.

JohnBee 10-30-2007 07:46 PM

Lovely idea!
Doesn't work though.

I installed this on 3.6.8, edits etc etc.
The radio button appears but no text or otherwise. Button seems to work but the following page(settings) is filled with blanks.

Any updates on the horizon?

Roughnek29 10-30-2007 07:48 PM

The best hack on VB.org


All times are GMT. The time now is 12:47 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.01560 seconds
  • Memory Usage 1,873KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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