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)

bluej 11-14-2009 06:13 PM

Quote:

Originally Posted by bluej (Post 1914195)
i am having the same problem, do you mind sharing what you did to fix it?

ok, got it, only need to enter the thread ID number and not the whole link to it :o

Dr.LoVe 11-15-2009 01:58 AM

Does it work with 3.8.X Versions ??

taffy056 11-15-2009 09:48 AM

This hack works with 3.8.x and happily it works with 4.0 also

Wired1 12-04-2009 06:40 AM

Quote:

Originally Posted by Total666 (Post 1536736)
Any ideas what would cause this ??

http://www.extremetesting.tv/weird.gif

Just figured out what it was and fixed it. It's an issue with the foreach loops that pulls the usergroup and location data. It doesn't clear out the temp array between loops, so it repeats the information from the preceding loops.

The database appears to be fine, although it was causing odd looping issues for me which I can't explain, but either way it works just fine for me now!

To fix it, you'll need to edit admincp\force_read_thread.php.

FIND:
Code:

print_cells_row($cell);

AFTER add:
Code:

                unset($usergroups);
                unset($forums);


MikeWarner 12-05-2009 09:22 AM

Am I missing something - a setting maybe? I've had this installed for a few months and used it for the first time today, but I'm having a problem with it.

It all appeared to work fine, but it keeps telling people to read the thread over and over, instead of only asking people once.

Any help would be much appreciated. Thanks

Wired1 12-07-2009 12:46 AM

Try my fix right above your post. Fixed the problem for me, although it really shouldn't have.

Fungsten 12-18-2009 04:46 PM

Quote:

Originally Posted by SVTOA (Post 1479932)

Other suggestion- Instructions are not clear, I think some people may be taking an entire thread URL and pasting it into the thread ID box. What goes there is only the number of the thread, nothing else. That's why some of you do not see the thread. Try just he thread id number...

:up: Thank you!!

Fungsten 12-19-2009 07:29 PM

:(

Any ideas?

Leo Brazil 01-06-2010 09:43 AM

Quote:

Originally Posted by taffy056 (Post 1914519)
This hack works with 3.8.x and happily it works with 4.0 also

I've been using this one from a long time and I can confirm it works perfectly on 3.8.4

But are you sure this one can work good on 4.0 ? That would be great !!

absy 01-13-2010 02:53 PM

was working tillthe upgrade 4.0.1 :(

SemperFideles 01-14-2010 01:04 AM

Quote:

Originally Posted by absy (Post 1954506)
was working tillthe upgrade 4.0.1 :(

Ditto.

absy 01-14-2010 12:18 PM

Can anyone fix ?

absy 01-16-2010 12:49 AM

Is anyone working to update this mid it is really useful for my forum

Covert-OPs_ 01-27-2010 02:24 AM

Damn this was one of my favorite apps...it sucks that it isn't working anymore.

Forum Lover 02-01-2010 09:16 AM

Ah.. I am gonna miss it. :(

scahoy 02-02-2010 10:38 PM

Can some one tell me where to find how to install this ? I am really new at this.
cheers

Jdm Ej1 Coupe 02-03-2010 11:10 PM

working on 4.0.1 removed it all previous downloaded it again and installed with no issues!

Supramania 02-08-2010 01:31 PM

Quote:

Originally Posted by Jdm Ej1 Coupe (Post 1974265)
working on 4.0.1 removed it all previous downloaded it again and installed with no issues!

Same here - this works on 4.0.1

karnevil 02-08-2010 08:45 PM

Is there an update for 3.8 at all?

The option of force read does not appear in Threads & Post tab in ACP

KevinGupta 02-09-2010 12:26 PM

waiting for vB 4.0.x version :D

Supramania 02-13-2010 04:14 PM

Quote:

Originally Posted by Supramania (Post 1977436)
Same here - this works on 4.0.1

I take that back - I had to disable it - it works 100% fine on the forum, but it makes the CMS have a "white page" error.

I hope someone takes this on for 4.0.X - it's a valuable tool for us and we really miss it.

Edit: Here's what shows (anonymized) in the error log when this plugin is enabled in 4.0.1 and you try to access the main content.php page if it helps at all:

[Sat Feb 13 11:43:37 2010] [error] [client xx.xx.xx.xx] PHP Fatal error: Call to a member function query_first() on a non-object in /path/to/my/site/htdocs/forums/packages/vbcms/controller/content.php(256) : eval()'d code on line 61

RedHacker 02-18-2010 10:37 AM

Can be update to the version 4....?

Reef Man 02-19-2010 08:16 PM

Does this work with Version 4.0.2?

tiengnhat 02-21-2010 01:44 AM

Hello
Can you update this mod to VBB 4.x?
Thanks you!

Supramania 02-21-2010 05:43 AM

Guys, if you look at everything in Abe's sig, everything he's done is version 3.

I suspect he's not running 4 on his board - once he does I'm sure we'll get a 4.x version.

mgurain 02-22-2010 08:06 AM

This need to be ported to 3.8.x right ?

Supramania 02-25-2010 02:10 AM

It ran fine on 3.8 for me. I need one that works on 4.0.2pl1

LifeAndDoctrine 02-26-2010 10:51 AM

Anyone using it on 4.0.2. pl 1 and getting it working ?

Freddy BdV 02-27-2010 07:14 PM

We run the vBulletin V 3.7.3 together with "Force a user to read a thread" V2.0

I can't find any possibilty in the ACP for editing the text of the announcement. This is really needed because we run a German forum and users need to understand the content.

Any useful hint is welcome. TXS in advance.

Supramania 02-27-2010 08:42 PM

Quote:

Originally Posted by Freddy BdV (Post 1993140)
We run the vBulletin V 3.7.3 together with "Force a user to read a thread" V2.0

I can't find any possibilty in the ACP for editing the text of the announcement. This is really needed because we run a German forum and users need to understand the content.

Any useful hint is welcome. TXS in advance.

It's a phrase - you can find it in the ACP, or you can just edit the product-abe1_forceusersreadthread.xml and reupload it (and check overwrite):

Code:

- <phrase name="forceusersreadthread_read_thread" date="1204605671" username="Abe" version="">
- <![CDATA[
The administrators want you to view a thread before you continue to browse the forum.<br />
<br />
You can view the thread <a href="showthread.php?t={1}">here</a>.

  ]]>
  </phrase>


Supramania 02-28-2010 03:28 PM

Update: I just turned this back on in 4.0.2 and it's working fine. Both blogs & articles seem to work now.

maidos 03-03-2010 02:07 PM

using 4.0.2 aswell but members are having issues of constantly being force read the same thread over and over again

Leo Brazil 03-03-2010 07:10 PM

It cracks down vBCMS when it's on. On forums works fine.

LifeAndDoctrine 03-05-2010 04:14 PM

Working on 4.0.2 well, so far.

Covert-OPs_ 03-07-2010 01:40 PM

Quote:

Originally Posted by Supramania (Post 1993781)
Update: I just turned this back on in 4.0.2 and it's working fine. Both blogs & articles seem to work now.

The blog does work but it DOES NOT work with CMS.

Supramania 03-07-2010 02:32 PM

Quote:

Originally Posted by Covert-OPs_ (Post 1999096)
The blog does work but it DOES NOT work with CMS.

The built in CMS? Do you mean it doesn't function? I actually like that it doesn't execute on the front page.

Or are you saying you get the CMS white screen error?

If so, you might want to try disabling all of your mods except this one, and then start turning them on one at a time until your CMS fails. If you're getting the white screen it's likely an incompatibility with another modification.

It works on my system with all 5 of my themes and the 37 other mods I have installed on my site.

Covert-OPs_ 03-07-2010 02:53 PM

Quote:

Originally Posted by Supramania (Post 1999132)
The built in CMS? Do you mean it doesn't function? I actually like that it doesn't execute on the front page.

Or are you saying you get the CMS white screen error?

If so, you might want to try disabling all of your mods except this one, and then start turning them on one at a time until your CMS fails. If you're getting the white screen it's likely an incompatibility with another modification.

It works on my system with all 5 of my themes and the 37 other mods I have installed on my site.

I get a white screen error, if I disable the force read mod then the CMS works again. I'm curious how you got it to work did you do anything differently then in the instructions? Also what version of VB are you running?

Supramania 03-07-2010 04:05 PM

Quote:

Originally Posted by Covert-OPs_ (Post 1999145)
I get a white screen error, if I disable the force read mod then the CMS works again.

Like I said above, try disabling your other mods. It's likely a conflict with another mod on your site.

Quote:

Originally Posted by Covert-OPs_ (Post 1999145)
I'm curious how you got it to work did you do anything differently then in the instructions?

Nothing special.

Quote:

Originally Posted by Covert-OPs_ (Post 1999145)
Also what version of VB are you running?

4.0.2pl1

Covert-OPs_ 03-07-2010 04:42 PM

Quote:

Originally Posted by Supramania (Post 1999194)
Like I said above, try disabling your other mods. It's likely a conflict with another mod on your site.

You might have skipped over where I said that it only crashes when I enable the Force Read mod. I believe the issue is that I'm not 4.0.2 yet. We just did a host migration and apparently I updated the old host site...doing now to test on the live server.

Supramania 03-07-2010 05:12 PM

Quote:

Originally Posted by Covert-OPs_ (Post 1999224)
You might have skipped over where I said that it only crashes when I enable the Force Read mod. I believe the issue is that I'm not 4.0.2 yet. We just did a host migration and apparently I updated the old host site...doing now to test on the live server.

Ah, ok in this case I'm sure that's it. On 4.0.1 I had problems. 4.0.2 fixed it.

However what I was saying is valid - in many cases I've found that it's two mods combined that cause a problem. In this case that's not it, but keep it in mind. I'm running a lot of mods plus a bunch of custom code - how things fit together in this 4 series isn't always intuitive or obvious.

Due to the SQL injection exploits in 4.0.1, you really need 4.0.2pl1 anyway.


All times are GMT. The time now is 01:22 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.01714 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
  • (3)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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