vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - Force Users to Read a Thread (https://vborg.vbsupport.ru/showthread.php?t=241754)

max2008 08-03-2010 03:32 PM

Installed , thanks for the MOD , working on VB 4.0.4

surfer2124 08-05-2010 02:55 PM

EDIT: Scratch this my zip file didn't extract correctly and I missed a file upload

This doesn't appear after the install

https://vborg.vbsupport.ru/attachmen...hmentid=116614

I do see the option in the thread under the Admin drop down though and once set it does work.

Any suggestions?

X I Am Lethal X 08-09-2010 10:06 PM

I am having a little trouble. I keep hitting save and it saves but does not show up. I am not exactly show what I am suppose to put in the thread ID column?

Also where do you get the thread ID from on your boards?

Welshy2008 08-17-2010 11:44 AM

Is this working on vBs 4.0.5 and 4.0.6 please?

Sicilian 08-18-2010 05:36 PM

Anyone able to confirm that this works with 4.06?

DeathRS 08-18-2010 05:46 PM

No answer where to find the thread ID?

I have 4.0.5 and it's not working!

Falcon Capt 08-18-2010 09:32 PM

Is there a way to get rid of the "Force Read Thread" text link on the editors? (it is appearing down by the "Show your signature" and "Close this thread" checkboxes on the Quick Reply Editor)

I don't think that it is really necessary to have this option all over the place. This hack will probably be used for an occassional message, at which time setting it up in the AdminCP is sufficient. Adding that extra phrase on every editor doesn't look good and takes away from an otherwise very nice hack.

Falcon Capt 08-18-2010 09:41 PM

Quote:

Originally Posted by Falcon Capt (Post 2086005)
Is there a way to get rid of the "Force Read Thread" text link on the editors? (it is appearing down by the "Show your signature" and "Close this thread" checkboxes on the Quick Reply Editor)

I don't think that it is really necessary to have this option all over the place. This hack will probably be used for an occassional message, at which time setting it up in the AdminCP is sufficient. Adding that extra phrase on every editor doesn't look good and takes away from an otherwise very nice hack.

Figured it out, removed this code from the XML file and it seemed to do the trick.

Code:

                        <phpcode><![CDATA[require_once(DIR . '/includes/adminfunctions.php');

if (can_administer('canadminthreads'))
{
        $vbulletin->templatecache['SHOWTHREAD'] = str_replace('if ($show[\'openclose\'])', '$final_rendered .= \'<li><a href="\' . $vbulletin->config[\'Misc\'][\'admincpdir\']  . \'/force_read_thread.php?\' . $session[\'sessionurl\'] . \'do=edit&amp;threadid=\' . $threadid . \'" target="_blank">\' . vB_Template_Runtime::parsePhrase("force_read_thread") . \'</a></li>\'; if ($show[\'openclose\'])', $vbulletin->templatecache['SHOWTHREAD']);
}]]></phpcode>


thr45h3r 08-18-2010 10:21 PM

Quote:

Originally Posted by Sicilian (Post 2085880)
Anyone able to confirm that this works with 4.06?

Just installed it in 4.0.6 and yes it seems to be working just fine :up:

Falcon Capt 08-18-2010 11:32 PM

Quote:

Originally Posted by Sicilian (Post 2085880)
Anyone able to confirm that this works with 4.06?

I am also using it sucessfully on vB 4.0.6. I did implement the mod I mentioned a couple posts earlier. The links it was installing just didn't format nicely and were really unnecessary.


All times are GMT. The time now is 03:55 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.01325 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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
  • (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