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)

tobias_t 12-12-2007 09:51 AM

I can only second the request to make this mod admin-only. I have installed it, but had to ask our moderators to *steer clear* of this feature ;)

When looking into the .xml, I see this line:

PHP Code:

    // check forum permissions for this forum
    
if (!can_moderate($threadinfo['forumid'], 'canmanagethreads')) 

Wouldn't it be sufficient to simply adjust the "if" condition to make it check on admin status instead? Any hints?

taydu 12-12-2007 09:13 PM

I accidentally delete (physically remove) the thread that I enforce everyone to read. And now everyone that havént read that thread got stuck at the message. How to fixe that problem other then uninstall the hack and reinstall it ?

maidos 12-15-2007 01:24 PM

so how about my suggestion regarding the countdown?

midweststreets 12-18-2007 03:58 AM

Quote:

Originally Posted by taydu (Post 1400109)
I accidentally delete (physically remove) the thread that I enforce everyone to read. And now everyone that hav?nt read that thread got stuck at the message. How to fixe that problem other then uninstall the hack and reinstall it ?

i ran into the same problem today.. is there a chance for an update that will fix this issue? i simply have it disabled for now

Tigur 12-18-2007 09:11 AM

How come I can not select the Unregistered/Not logged in usergroup? Yes I know it may seem silly, but I have it coupled with the limited viewing mod and have that set so they can only view 1 post. I pretty much want unregistered/not logged in users to be forced to go view this page. The reason I have it set like so is because I want to keep my thread content hidden, but the topic available, mostly for RSS feed and google indexing purposes.

Abe1 12-26-2007 02:12 AM

Quote:

Originally Posted by Tigur (Post 1403483)
How come I can not select the Unregistered/Not logged in usergroup? Yes I know it may seem silly, but I have it coupled with the limited viewing mod and have that set so they can only view 1 post. I pretty much want unregistered/not logged in users to be forced to go view this page. The reason I have it set like so is because I want to keep my thread content hidden, but the topic available, mostly for RSS feed and google indexing purposes.

Will be in next version.

dvbusuario 12-26-2007 02:44 AM

Don't Work for me

Delete options of moderation I just left the option to "delete thread"

Any help me?

Thanks

DannyITR 12-27-2007 01:20 AM

I can't find the second bit of code in the instructions. Is this hack still any good?

red-dna 12-30-2007 07:50 PM

Install and every thing is fine
Thanks

puertoblack2003 01-10-2008 03:57 PM

i like this hack but causing conflict with the vbrecycle Hack. I was getting a "Invalid Forum Specify" i tracked it down to this hack.

Hope this can be compatible.

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

jenai 01-18-2008 10:51 PM

A friend installed this but ive done something wrong! My forum has gone down and i have this error

Parse error: parse error, unexpected '{' in /home/virtual/site3/fst/var/www/html/forum/global.php on line 40

I know nothing about php and he doesnt either so we are pretty stuck!

Any help is appriciated

J

Auron 01-18-2008 11:03 PM

Quote:

Originally Posted by jenai (Post 1424072)
A friend installed this but ive done something wrong! My forum has gone down and i have this error

Parse error: parse error, unexpected '{' in /home/virtual/site3/fst/var/www/html/forum/global.php on line 40

I know nothing about php and he doesnt either so we are pretty stuck!

Any help is appriciated

J

what version of VB are you using? and lm assuming you did the PHP edits..

jenai 01-18-2008 11:11 PM

No my idiot of a friend did them! I tried deleting them and it made no difference, also tried disabling all plugins and still nothing.

I know a bit of php and im only using 3.6.1 as i dont really want to update for now. And from looking at this plugin i dont think it works on my version!? He has now gone offline due to shame and im left to pick up the pieces :(

Auron 01-18-2008 11:54 PM

well it looks like a tag issue, if you have a backup of files it might be worth redoing the edits altho l cannot see how one could mess up adding two lines..

l myself use 3.6.8 PLI2 (well not l, lm just the addition to access the members area as l update and install on his site as lm pretty much the server guy :D) and l know it works pretty well, however this mod doesnt seem to like working and gives an mysql error on the portal, altho lm assuming thats because its defaulting to looking within the portals plugin directory, lm sure adding something like a defining varible (my friend has the code somewhere) that points to the missing file might sort out the situation but theres more pressing issues to deal with elsewhere to worry (and well we are not using the mod yet anyways, was useful for future things like forum rules etc)

Alibass 02-01-2008 09:25 PM

Is this hack working on 3.7b ?

mastertek2000 02-02-2008 12:23 AM

Really nice mod - Thanx for sharing

mc0676 02-02-2008 04:45 PM

Hallo, i've a problem.
I've for error delete a post after that i inset the force read and now many users have to click in the link but can't navigate after in the forum.
Where is the table in the db where i need to clean the force read ?
Thanks.

mc0676 02-04-2008 09:26 AM

Quote:

Originally Posted by mc0676 (Post 1434702)
Hallo, i've a problem.
I've for error delete a post after that i inset the force read and now many users have to click in the link but can't navigate after in the forum.
Where is the table in the db where i need to clean the force read ?
Thanks.

Can someone help me ?

SNATCH3R 02-09-2008 10:31 AM

installed and its working like charm............ :) thanks

Digital Jedi 02-09-2008 11:53 AM

I've only used this a couple of times, but so far so good. I made a thread in the moderator forums warning everyone with deletion permissions not to delete Force Read threads. Then I forced them all to read the thread. Is that irony? I keep forgetting. ;)

Rideharder 02-09-2008 08:47 PM

wow Nice Love it.

thenutthouse 02-14-2008 01:25 AM

Can you make it work when people "Manage Attachments"?

princeedward 02-15-2008 03:39 PM

updated...thanks.... ;)

blind-eddie 02-15-2008 03:43 PM

Very Nice hack. Some of my members hate it, but they now read the threads that need their input. Good job.

Carmen27 02-16-2008 03:00 PM

yea im having the same issue as well. I set something for admin only and when I deleted that thread, they are stuck in show thread but it does't take them to the post cuz i deleted it and they can't see the forums or nothing.

Someone, is there a special thing you have to do when you delete a thread with this mod? Cuz we are stuck and can't view anything and the thread it's taking us to was deleted ... Carmen

Carmen27 02-16-2008 03:06 PM

Quote:

Originally Posted by midweststreets (Post 1403326)
i ran into the same problem today.. is there a chance for an update that will fix this issue? i simply have it disabled for now

was there a solution to this? I am having the same issue.. Carmen

Digital Jedi 02-16-2008 07:03 PM

Quote:

Originally Posted by Carmen27 (Post 1444487)
yea im having the same issue as well. I set something for admin only and when I deleted that thread, they are stuck in show thread but it does't take them to the post cuz i deleted it and they can't see the forums or nothing.

Someone, is there a special thing you have to do when you delete a thread with this mod? Cuz we are stuck and can't view anything and the thread it's taking us to was deleted ... Carmen

Nope, I don't think so. I warned all my mods not delete Force Read threads just to avoid the problem, and set that thread to Force Read so they wouldn't miss the warning.

I myself don't understand why folks are deleting these threads to begin with. Once they're read, they're read. You don't need to do anything else.

stwilson 02-18-2008 12:31 AM

Abe,

You planning on updating this to 3.7? When you do, I have a $Thank you heading your way.

Abe1 02-19-2008 11:57 PM

Quote:

Originally Posted by thenutthouse (Post 1442633)
Can you make it work when people "Manage Attachments"?

It's a small page.

Abe1 02-19-2008 11:57 PM

Quote:

Originally Posted by stwilson (Post 1445575)
Abe,

You planning on updating this to 3.7? When you do, I have a $Thank you heading your way.

Some time in the future. No exact date.


All times are GMT. The time now is 06:04 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.01676 seconds
  • Memory Usage 1,832KB
  • 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_php_printable
  • (9)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