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!


All times are GMT. The time now is 07:54 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.01679 seconds
  • Memory Usage 1,748KB
  • 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_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