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)

amroawad 03-18-2008 05:47 AM

Quote:

Originally Posted by Shawn Yue (Post 1467529)
Like I Imported The System Then I Go Vbulletion Option Force To read Thread

Then I Never Do AnyThing

Then I Go to HomePage

I Click On The Thread Why Never Force Me Read Thread

And I Running On vb 3.6.8

And I gO TO The Thread And Moderation I Click on the Thread icon And I force To read Thread When I Save Nothing Appear....

Same to me too.

Abe1 03-18-2008 11:20 AM

Quote:

Originally Posted by amroawad (Post 1467708)
Same to me too.

Do you have vbSEO installed?

mariocaz 03-18-2008 03:50 PM

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

AbercrombieAron 03-19-2008 04:30 AM

Outstanding mod this. Great work ;)

Abe1 03-19-2008 04:51 AM

Quote:

Originally Posted by mariocaz (Post 1467982)
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.

mariocaz 03-19-2008 05:10 AM

Hi Abe1,

What query I have to run in myphpadmin ?

Abe1 03-19-2008 05:31 AM

Quote:

Originally Posted by mariocaz (Post 1468454)
Hi Abe1,

What query I have to run in myphpadmin ?

PHP Code:

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



mariocaz 03-19-2008 05:39 AM

ok let me try that

BlackRabbit1971 03-19-2008 03:10 PM

Does anyone have the older version of this, so I can uninstall it removing the edits.

DannyITR 03-19-2008 07:06 PM

Quote:

Originally Posted by BlackRabbit1971 (Post 1468751)
Does anyone have the older version of this, so I can uninstall it removing the edits.

Here you go:

Quote:

Force Users to Read a Thread version 1.2

FOR UPGRADE AND FRESH INSTALLATIONS!

1) Import product-abe1_forceusersreadthread into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])

2) Do the template edits

in SHOWTHREAD:

find:
--------------------------------------------------------------------
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
--------------------------------------------------------------------

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



find:
--------------------------------------------------------------------
<option value="removeredirect">$vbphrase[remove_redirects]</option>
--------------------------------------------------------------------

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.

Done

Hornstar 03-20-2008 07:40 AM

I added a second thread view to the list, and only gave it to one usergroup, however it is saying that these usergroups will get it:
Moderators
Senior Moderators
Forum Helpers

I double checked and only Forum Helpers is selected, and even resaved it, but still the same.

The only thing I can think is that the thread above has these 2 usergroups: Moderators
Senior Moderators

So it is wanting to put those in the other one as well.

Thanks.

BlackRabbit1971 03-20-2008 09:18 AM

Many Thanks DannyITR

Digital Jedi 03-20-2008 07:08 PM

Quote:

Originally Posted by Shawn Yue (Post 1467529)
Like I Imported The System Then I Go Vbulletion Option Force To read Thread

Then I Never Do AnyThing

Then I Go to HomePage

I Click On The Thread Why Never Force Me Read Thread

And I Running On vb 3.6.8

And I gO TO The Thread And Moderation I Click on the Thread icon And I force To read Thread When I Save Nothing Appear....

Well, odds are if your the one who started the thread, you've already read it.

YLP1 03-21-2008 04:45 AM

Hi Abe..... I am having some trouble with my 3.6.8PL2 board when using this mod.

This is the error I am recieving when I have a added a forced topic and the mod is enabled:

Quote:

Warning: require_once(./includes/vba_global_error.php) [function.require-once]: failed to open stream: No such file or directory in \includes\functions.php(2658) : eval()'d code on line 2

Fatal error: require_once() [function.require]: Failed opening required './includes/vba_global_error.php' (include_path='.;C:\php5\pear') in c:\myisp\includes\functions.php(2658) : eval()'d code on line 2
Leave it to me to break something! LOL

This is how I setup my forced topic:

mariocaz 03-22-2008 05:30 AM

Hi,

I had a problem when I activated a Force read to a Thread (global) to all my users and they enter to my forum by the portal (vBAdvanced CMPS) then the announcement of the force read shows a wrong link because the url of my portal is:

http://www.myforum.com/index.php

And the URL of my forum is:

http://www.myforum.com/forums/index.php

So when the announcement(messages) of the Force Read showed it to my users in my portal showed the wrong link, like this:

http://www.myforum/showthread.php?t=xxxx

Instead of the correct link to the thread, like this:

http://www.myforum/forums/showthread.php?t=xxxx

So I did a temporal fix editing the product of the Mod, this part:

LINE 148
Code:

.........<a href="http://www.myforum/forums/showthread.php?t={1}">here</a>.]]></phrase>
                </phrasetype>
                <phrasetype name="vBulletin Settings" fieldname="vbsettings">
                        <phrase name="setting_forcereadthread_disable_file_desc" date="1204521087" username="Abe" version="2.0"><![CDATA[If you would like to disable this hack for certain files, simply enter the name of the file(s) here. Separate each file name with a carriage return (new line).<br />

Like you saw I had to add the complete URL of my forum in that part to fix my problem.

So maybe Abe1 you can d a fix in the next release and you can add an option in the ACP for the users that have installed a portal like me. :)

Abe1 03-25-2008 03:17 AM

Quote:

Originally Posted by hornstar1337 (Post 1469434)
I added a second thread view to the list, and only gave it to one usergroup, however it is saying that these usergroups will get it:
Moderators
Senior Moderators
Forum Helpers

I double checked and only Forum Helpers is selected, and even resaved it, but still the same.

The only thing I can think is that the thread above has these 2 usergroups: Moderators
Senior Moderators

So it is wanting to put those in the other one as well.


Thanks.

Fixed for next version. Not a major bug. Just shows there but does not affect anything.

Abe1 03-25-2008 03:18 AM

Quote:

Originally Posted by YLP1 (Post 1470430)
Hi Abe..... I am having some trouble with my 3.6.8PL2 board when using this mod.

This is the error I am recieving when I have a added a forced topic and the mod is enabled:



Leave it to me to break something! LOL

This is how I setup my forced topic:

Disable the hack for vba

Abe1 03-25-2008 03:20 AM

Quote:

Originally Posted by mariocaz (Post 1471354)
Hi,

I had a problem when I activated a Force read to a Thread (global) to all my users and they enter to my forum by the portal (vBAdvanced CMPS) then the announcement of the force read shows a wrong link because the url of my portal is:

http://www.myforum.com/index.php

And the URL of my forum is:

http://www.myforum.com/forums/index.php

So when the announcement(messages) of the Force Read showed it to my users in my portal showed the wrong link, like this:

http://www.myforum/showthread.php?t=xxxx

Instead of the correct link to the thread, like this:

http://www.myforum/forums/showthread.php?t=xxxx

So I did a temporal fix editing the product of the Mod, this part:

LINE 148
Code:

.........<a href="http://www.myforum/forums/showthread.php?t={1}">here</a>.]]></phrase>
                </phrasetype>
                <phrasetype name="vBulletin Settings" fieldname="vbsettings">
                        <phrase name="setting_forcereadthread_disable_file_desc" date="1204521087" username="Abe" version="2.0"><![CDATA[If you would like to disable this hack for certain files, simply enter the name of the file(s) here. Separate each file name with a carriage return (new line).<br />

Like you saw I had to add the complete URL of my forum in that part to fix my problem.

So maybe Abe1 you can d a fix in the next release and you can add an option in the ACP for the users that have installed a portal like me. :)

All you have to do is disable the hack for vb advanced.

masterweb 04-03-2008 05:19 PM

Installed and working! :D

buurman 04-04-2008 01:24 PM

I always had 1.2 on my 3.6.4 forum and worked fine.
Uninstalled that one from templates and plugins, and installed 2.0.
Also editted the global.php and XML file.

I dont have the option to select "force this post" in the forum, the option isnt there!
It is in admincp and plugins.

Any idea?

Lovinmysailor 04-08-2008 02:33 PM

Quote:

Originally Posted by Sigilosa (Post 1461631)
Hi it's me again

http://img171.imageshack.us/img171/661/tresym3.jpg


I did it from ACP, but now, nobody is forced to read this thread. What am I doing wrong now?? :(


http://img513.imageshack.us/img513/9103/unozw1.jpg


Having the same problem as above poster but I have mine marked to have the location marked for the whole site. I dont have VBSEO. I do have VB advanced. Does it not work with VB advanced? Any help would be appreciated. Thank you!

Lovinmysailor 04-08-2008 02:36 PM

Wanted to add when I disabled VBa it still did not work.

Also I deleted the first thread I had (not the actual thread just delete it fro the force thread option) and tried to do a different thread to see if it would work and now the new thread wont show up on the list of forced threads even though it says saved when I do it.

Basit 04-08-2008 09:10 PM

Hello,

I installed it on www.hallagulla.com/urdu but after installation I found user get bit annoyed with a forced thread and majority of users requesting to have this feature a little enhanced if possible. What users on my forum suggesting is:

- Show little bit description of the thread (say 200 or 500 character) and allow users to click on click here to read with an option to [b]read later[b].

This will give some flexibility to users.

Just wondering if this is possible to have such a feature in future release if possible. If not, is it possible for you to give me some guidance/directions to work it out myself ?

SirDrahcir 04-08-2008 10:39 PM

My Guess is, we all have our own reasons why we want everyone forced to read something. In my case I want to know that every member reads the "Rules of the Forum". If all of our member follow the rules of the forum, we don't really have many problems with our membership. It's currently the only thing we are using it for and in my mind, if they are not willing to read the rules, then I am more than likely going to have cooperation problems with that member in the future.

Digital Jedi 04-08-2008 11:24 PM

It just seems to me that if there's an option to read the thread at their leisure, that it kind of defeats the purpose of the modification. The one thing I do know is that this mod should be used sparingly. Save it for the can't miss and priority announcements, and not for every multiple threads multiple times a day.

I could imagine, though, where this mod expanded, that one day it would encompass some notification features. Low priority reads for example, could just put a notification in the user bar, kind of like the Private Messages do with the little flashing letter. But until then, it should really be used judiciously.

LordDB 04-09-2008 01:50 PM

Quote:

Originally Posted by buurman (Post 1482822)
I always had 1.2 on my 3.6.4 forum and worked fine.
Uninstalled that one from templates and plugins, and installed 2.0.
Also editted the global.php and XML file.

I dont have the option to select "force this post" in the forum, the option isnt there!
It is in admincp and plugins.

Any idea?

Yes, it's in your ACP under:

Threads & Posts, then click Force Read Thread, then click Add New Thread > then get the ID of the thread (numbers) you've created, and type it into the ThreadID box, and save!

Hope that helps!;)

Lovinmysailor 04-10-2008 11:16 AM

Anyone?

bigevil 04-11-2008 03:58 PM

Could anyone tell me the name of the phrase that this mod uses when it redirects you to the point "Admins would like you to view this thread...... Blah, blah, blah?" I would like to edit it to help with some users that cant read and understand what this hack is trying to do.

EDIT: Nevermind I found it.

bada_bing 04-11-2008 07:33 PM

Is there anyway this have be altered to work with VB 3.5.x please

ronnie2112 04-19-2008 02:55 PM

Hi, what does the "Force Read Order" mean or do exactly?

ANd also, I want to set it to be SIte wide on my forum, but I want it to show the "YOu must read this thread first message" ALL the time and EVRYTIME a user signs in to my forum. Right now it works, but only the first a user logs in do they see the message. After they log out and back in they dont see the message anymore and I would like them to, and also for this to happen to ALL usergroups....

hope that question makes sense@!

Tahnks in advance for any info@! I luv this mod....installed clicked!

DannyITR 04-19-2008 03:04 PM

Quote:

Originally Posted by ronnie2112 (Post 1494523)
Hi, what does the "Force Read Order" mean or do exactly?

ANd also, I want to set it to be SIte wide on my forum, but I want it to show the "YOu must read this thread first message" ALL the time and EVRYTIME a user signs in to my forum. Right now it works, but only the first a user logs in do they see the message. After they log out and back in they dont see the message anymore and I would like them to, and also for this to happen to ALL usergroups....

hope that question makes sense@!

Tahnks in advance for any info@! I luv this mod....installed clicked!

If I may offer some friendly criticism...don't you think that may get annoying to have to read the same thread every time your return to a forum? I would stop coming. I know its none of my business but I thought another perspective might help out.

baymortgage99 04-20-2008 05:15 AM

Can you make forum members read the "Rules" not a particular thread

TrikkeTalk 04-20-2008 08:27 AM

Hi there,

Is there anyone who can provide me the old 1.2 version. I just liked that one better. This one, for some reasons, doesn't seem to work om my forums.

So please help me out.

apiasto 04-20-2008 11:07 AM

can u do an addition that admin can manually write what that thread is about instead of admin want you to read this.i think the first thing user gets in his mind is he did something wrong and he is getting a warning.but if we can manually mention like if the thread for voting or forum rules it will work better,its just a thought.i would love to have that option.thanks

TrikkeTalk 04-21-2008 10:34 AM

Hi,

Nobody? I know it sounds stupid but for some reason I didn't store the old version of this mod.

Please I need this old version.

Thanks

RDx321 04-21-2008 12:47 PM

Can I possibly add the option to force read to the thread tools menu on the forum also? Similar to how the old version was.

apiasto 04-21-2008 01:17 PM

Quote:

Originally Posted by TrikkeTalk (Post 1495694)
Hi,

Nobody? I know it sounds stupid but for some reason I didn't store the old version of this mod.

Please I need this old version.

Thanks

here u go man :D

TrikkeTalk 04-21-2008 05:07 PM

Quote:

Originally Posted by apiasto (Post 1495787)
here u go man :D


Hey Thanks,

You are a real pal!!!!

anoob 04-21-2008 06:50 PM

Is there a way, I can have new members be forced to read a thread, without bothering my existing members?

We have a thread where our rules are posted, and I'd like to force new members to have to read the rules first.
Thanks in advance!

TrikkeTalk 04-21-2008 10:07 PM

Hmmm,

Just reinstalled the old 1.2 version and it instantly works like a charm. Strange but true.


All times are GMT. The time now is 07:12 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.01982 seconds
  • Memory Usage 1,866KB
  • 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
  • (1)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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