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)

m002.p 02-20-2008 11:44 AM

Great Hack Abe!!

Love this, now there is no excuse for new registrants to say "i didnt find or read the rules" ;)

QUESTION;

I see the option to tick "new thread", which I take means if the user clicks to start a new thread, they get the message. However, I have a specific forum where I want this enforced, but I do not want them to get the "force thread" every time they click this forum. Is there a way to enable this only if they click "new thread" in that specific forum?

I hope I make sense :s

blind-eddie 02-20-2008 04:35 PM

I have read all post here, & still I get 404 not found page if I am not in the /forum/.
I to have vba pages & set force read for only forum related areas. If I login on test account on vba portal page, I get pop up, requesting I read thread. I have it set to only force read on forum pages. What is the Portal Output Global Variable for this mod to add to admincp/vbacmps/Portal Output Global Variables ?

mark|3 02-24-2008 12:04 PM

is there anyway to include the downloads and arcade section?

thanks

cjwinternet 02-25-2008 07:54 AM

Here's a snag.

We had two 'forced reads' on the forum, an FAQ and something else. One of these threads was deleted.

Users were then forced to read the first thread, the FAQ. They are then prompted to read the second thread. As it doesn't exist, they are stuck in a loop getting the 'you must read this thread' notification over and over again.

The product had to be removed and reinstalled.

That's a PITA.

Digital Jedi 02-25-2008 07:28 PM

Quote:

Originally Posted by cjwinternet (Post 1450561)
Here's a snag.

We had two 'forced reads' on the forum, an FAQ and something else. One of these threads was deleted.

Users were then forced to read the first thread, the FAQ. They are then prompted to read the second thread. As it doesn't exist, they are stuck in a loop getting the 'you must read this thread' notification over and over again.

The product had to be removed and reinstalled.

That's a PITA.

That's a known bug, that's been repeatedly mentioned in this thread. There's no fix for it at the moment. Just out of curiosity, why did you delete the other thread, rather then just turning the Force Read off for that thread?

Gooner 02-25-2008 09:52 PM

i get this error message while using your mod with a paid mod from www.joomlaworks.gr

but your mod is very important to me, the error is:

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 = '2')
WHERE force_read_read.force_read_userid IS NULL
AND force_read_thread.force_read_usergroupid IN (0,14)
AND (force_read_thread.expire_date = 0 OR force_read_thread.expire_date > '1203966869')
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 : Monday, February 25th 2008 @ 02:14:29 PM
Script : http://www.e********.net/
Referrer :
IP Address : 77.101.215.207
Username : Gooner
Classname : vB_Database

how do i fix this so i can use both mods enabled at the same time? at the moment i can only have one of the mods enabled or i get that error, please help, i really need your mod

AussieHolden 02-26-2008 02:18 AM

I like the sound of this mod but I would only want it for new registered members when they log in for the first time so they will be taken to the rules section.

Digital Jedi 02-26-2008 04:27 AM

Quote:

Originally Posted by AussieHolden (Post 1451133)
I like the sound of this mod but I would only want it for new registered members when they log in for the first time so they will be taken to the rules section.

You can do that with this mod. It's permission based.

AussieHolden 02-26-2008 05:35 AM

I have the mod installed now but I am at a lost as to were to make the edits ? as what is in the instructions.

Quote:

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

mariocaz 02-28-2008 05:16 AM

Only the error(conflict) of this mod is when I delet a thread that I set to force to read ?

Or the conflict is when I unset a thread that it was force to read to unforce it ??

Thank you!

DannyITR 02-28-2008 11:50 AM

I installed it an tested it however I had 2 complaints from users who were always being forced to read the thread even after having clicked on the link. They were still able to send me a PM however so I don't know what was going on. I wasn't able to re-produce this in my trials. What could be causing this?

Also...If I expire the forced reading for a thread and then re-activate it later will all the users who have already read the thread be forced to read it again?

maidos 02-28-2008 01:27 PM

while ur on the way updating for 3.7 can you finally take my suggestion into consideration?

Please have a count down on every forced read threads. this feature has no use otherwise imho since ppl just click the thread and move one.

maidos 02-28-2008 02:29 PM

Quote:

Originally Posted by AussieHolden (Post 1451212)
I have the mod installed now but I am at a lost as to were to make the edits ? as what is in the instructions.

admincp-->Styles & Templates-->Style Manager-->your forum skin-->Edit templates-->showthread

mariocaz 02-28-2008 03:16 PM

Hi,

I also want to know how I can translate this Hack??, because I search the phrases in the ACP but I can“t find it.

Is there another way to translate it ??

Please help me!

Digital Jedi 02-28-2008 11:17 PM

Quote:

Originally Posted by mariocaz (Post 1452960)
Hi,

I also want to know how I can translate this Hack??, because I search the phrases in the ACP but I can?t find it.

Is there another way to translate it ??

Please help me!

What did you try searching for specifically? Because the phrases are in there. You just have to search for them one at a time.

mariocaz 02-29-2008 02:45 AM

I searched in all the pages of my phrases and nothing.

I want to translate all the phrase that appears to the users to read the force thread.

Digital Jedi 02-29-2008 03:35 AM

Quote:

Originally Posted by mariocaz (Post 1453353)
I searched in all the pages of my phrases and nothing.

I want to translate all the phrase that appears to the users to read the force thread.

Their in there, your just using the wrong search terms. Try searching for force with the Phrase Variable Name Only ticked and you'll find what your looking for.

Ava-Kyrillos 02-29-2008 07:00 PM

Hello

I ask how I make this option for Admins only and remove it for modrators menu.

Thanks a lot
George

Abe1 03-02-2008 05:54 PM

Quote:

Originally Posted by Ava-Kyrillos (Post 1453887)
Hello

I ask how I make this option for Admins only and remove it for modrators menu.

Thanks a lot
George

No way right now.

mystic10 03-02-2008 10:03 PM

request: if you can put it in such a way where staff can monitor what post where force and what not...like a list of all forced thread so if we forget we can remove it especially the ones we without any date

also we can put an order for which threads need to be shown first and so on

dbtp 03-03-2008 01:42 PM

Nice! Thanks.

dancue 03-03-2008 02:45 PM

Another very useful mod!!

Thank you Abe!

If I would recommend something it would be the ability to remind a member after x-posts or x-visits.

Elenna 03-03-2008 04:43 PM

This is working wonderfully for me and my users!

I have a quick question - for the "location" section, I commonly use the same ones each time. Is there a way to edit the template or plugin to tell it which ones to automatically check (right now I think it's set for "Everywhere")?

dbtp 03-04-2008 12:58 AM

How do you test this out to make sure it is working properly? I had a moderator give this a try, but I am not sure if it work, because even I should have been forced to look at the thread.. right?

Dingo14 03-04-2008 01:50 AM

nice mod thanks

Elenna 03-04-2008 01:42 PM

Quote:

Originally Posted by dbtp (Post 1456386)
How do you test this out to make sure it is working properly? I had a moderator give this a try, but I am not sure if it work, because even I should have been forced to look at the thread.. right?

If he included Admins in the Force Read. It's possible that he didn't include you.

Since he would be forwarded to the thread after making it a forced-read, he wouldn't see. You could use a login hack like Cyb's "Login to User" to try it out from someone else's account.

maidos 03-04-2008 03:55 PM

please reply to this msg https://vborg.vbsupport.ru/showpost....&postcount=373

G-man561 03-04-2008 09:15 PM

Thanks a lot! One of the best mods ever!

360junkie 03-05-2008 02:24 AM

ok i removed a post that had this on it now when com onee forums come 2 the site the cent see the forumz cuz this posty that it taking them 2 thats not there

Digital Jedi 03-05-2008 08:11 AM

Quote:

Originally Posted by 360junkie (Post 1457215)
ok i removed a post that had this on it now when com onee forums come 2 the site the cent see the forumz cuz this posty that it taking them 2 thats not there

Yes, there's quite a few warnings in this thread that warn not to delete Force Read threads.

Abe1 03-05-2008 10:51 AM

Quote:

Originally Posted by Elenna (Post 1456071)
This is working wonderfully for me and my users!

I have a quick question - for the "location" section, I commonly use the same ones each time. Is there a way to edit the template or plugin to tell it which ones to automatically check (right now I think it's set for "Everywhere")?

Next version it will be an option in vb settings.

Abe1 03-05-2008 10:52 AM

Quote:

Originally Posted by 360junkie (Post 1457215)
ok i removed a post that had this on it now when com onee forums come 2 the site the cent see the forumz cuz this posty that it taking them 2 thats not there

Bug fixed in next version.

Abe1 03-05-2008 10:52 AM

Quote:

Originally Posted by maidos (Post 1456821)

No template edits in next version. Will be released today.

Abe1 03-05-2008 11:02 AM

Version 2.0 (03/05/08):
  • First Release of this Hack for vb3.7
  • MAJOR update. Hack totally re-writen. You must uninstall old version before upgrading.
  • Fixed just about all bugs. (like if you delete a thread...)
  • No more template edit. Everything done in ACP.
  • Permissions for by who ever has ACP access with threads and posts
  • Force Guests to read a thread now.
  • Works for BOTH vb3.6 AND vb3.7

vB 3.7 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=172155

pipin 03-05-2008 11:31 AM

Quote:

Originally Posted by Abe1 (Post 1457493)
Version 2.0 (03/05/08):
  • First Release of this Hack for vb3.7
  • MAJOR update. Hack totally re-writen. You must uninstall old version before upgrading.
  • Fixed just about all bugs. (like if you delete a thread...)
  • No more template edit. Everything done in ACP.
  • Permissions for by who ever has ACP access with threads and posts
  • Force Guests to read a thread now.
  • Works for BOTH vb3.6 AND vb3.7

Great work and very good new Features.

mc0676 03-05-2008 11:35 AM

Versione 2.0 don't work for me.
I've 3.6.8.
I can see vbulletion option in admin panel.
But in thread, i see this.
And after if i choose the manage force vbulletin tell me
"The action is not specificated".

Abe1 03-05-2008 11:36 AM

Quote:

Originally Posted by mc0676 (Post 1457528)
Versione 2.0 don't work for me.
I've 3.6.8.
I can see vbulletion option in admin panel.
But in thread, i see this.
And after if i choose the manage force vbulletin tell me
"The action is not specificated".

Please read everything in the update then ask the question again.

mc0676 03-05-2008 11:45 AM

I've read che txt attached and make all step.
Version 1.2 worked fine, this no.

Ejecutor Hanzo 03-05-2008 11:55 AM

Hack shows me an database error, I follow all steps in instructions =/ (I have vb 3.6.8)

BluePen 03-05-2008 11:55 AM

I have same problem too .. "Database Error"


All times are GMT. The time now is 01:08 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.02050 seconds
  • Memory Usage 1,835KB
  • 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
  • (15)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