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)

mystic10 01-10-2008 04:56 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1289004)
hmmm - for anyone interested - I made a little Attention Please graphic to use on the "error message" phrase and in the thread that you have the required read in... It's especially nice if you use the bbcode colors red and darkred :)

Enjoy!

Jacquii.

My phrase:


Again - Thanx for the modification
Nominated for HOTM

Jacquii.

KINDLY HELP COULD U GUIDE TO WHERE I PLACE IT...IN STEPS SO I CAN FOLLOW IT CORRECTLY THANKS SO FOR MUCH

mystic10 01-10-2008 04:58 PM

I Was Wondering..sorry For The Ingnorance On My Part...but Want To Know Does It Save A Cookie So When The Member Come Back They Don't Have To See The Forced Section Again

Faltzer 01-10-2008 07:05 PM

This is just what I've been looking for. Great!

len backus 01-10-2008 08:49 PM

Mystic, yes, there is an option for showing a thread only once. I have been using that option.

PoetJA-1975 01-11-2008 12:45 AM

ooops = wrong thread....

vNew 01-13-2008 04:20 AM

I have vB 3.6.8 and after installation, I was able to force reading of a thread.

However, after the thread is read, if the user then clicks on home, the process is repeated, i.e. he/she has to read the thread yet again.

I've 6 other hacks installed, so I presume this is a compatibility issue.

If there is no simple solution, I'll uninstall this hack.

Fortunately, I backed up vB before installation.

This is supposedly, and theoretically, a great hack. But unfortunately, it doesn't work right in my system.

vNew.

P.S.: I waded through all 23 pages of discussions and found no solution.

vNew 01-13-2008 05:23 PM

UN-installed.

Sorry, but the loop of repeatedly demanding that the user read a thread that was already read was simply not helpful. I think it is a compatibility issue on my system. As I said, I've 6 hacks installed before this, and don't have time to figure out the problem.

It was a great concept, though. A nice feature to have even if it is not absolutely essential. Unfortunately, it didn't work out.

Thanks for the efforts, no less.

P.S. After un-install, the feature and function are gone, but the non-functional radio-button remained in the drop down menu. Anyway to remove it?

z0diac 01-13-2008 10:23 PM

I imported the xml file fine - but after I go into the forum , create a thread, read the thread, then select Thread Tools dropdown menu, there's nothing new there. ??? (running v3.6.8)

Auron 01-16-2008 06:41 PM

Someone mentioned earlier about having portal integration issues with this hack..

lm currently getting the following issue:

Warning: Unknown(./includes/vba_global_error.php): failed to open stream: No such file or directory in /includes/functions.php(2658) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required './includes/vba_global_error.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/anime/public_html/forum/includes/functions.php(2658) : eval()'d code on line 1

l know it has something to do with vbadvanced wanting to look for it in a place it doesnt exist but lm no coder so dont have the knowledge to edit more than one or two things that lm used to...

someone mentioned disabling custom pages or something but l couldnt find the settings that mentioned this hack and well we have custom pages that are needed hence if it can specifically be disabled for the portal, or work it would be useful...

on a side note l did work out how to hide the option from staff other than admins, its not perfect but it worked well enough which l saw mentioned so l thought l would add my template edits that removed the option from the thread tools and specifically only let ID6 (administrators) edit the thread settings of this hack

heres the code we used (its simple but worked without causing errors

Code:

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 -->
<if condition="$bbuserinfo['usergroupid'] == 6">
<div><label for="ao_mfr"><input type="radio" name="do" id="ao_mfr" value="forceread" />$vbphrase[manage_force_thread_reading]</label></div>
</if>
<!-- 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 -->
<if condition="$bbuserinfo['usergroupid'] == 6">
<option value="forceread">$vbphrase[manage_force_thread_reading]</option>
</if>
<!-- End Abe1 Force Users to Read a Thread -->
--------------------------------------------------------------------


parash 01-18-2008 03:43 PM

THanks was simple to sort out..works very nice


All times are GMT. The time now is 02:23 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.02348 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
  • (1)bbcode_code_printable
  • (1)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