Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Completely disable Who Read a Thread on some forums Details »
Completely disable Who Read a Thread on some forums
Mod Version: 1.00, by semprot (Member) semprot is offline
Developer Last Online: May 2016 I like it Show Printable Version Email this Page

vB Version: 4.2.1 Rating: (0 vote - 0 average) Installs: 5
Released: 16 Dec 2013 Last Update: Never Downloads: 0
Not Supported Uses Plugins Re-usable Code  

Note :
if you set admincp > options > Thread Display Options (showthread) > "Enable Who Read a Thread" to "No", then you don't need this plugin.

This hack will completely disable "Who Read a Thread" on some forums.
This feature is different with "Display Who Read List" setting on editing a forum, which is just showing / hiding the list but actually vbulletin still save the "Who Read" data to the database.
So with this hack, you can reduce more queries on your forum if you decide to disable "Who Read a Thread" on some forums.

Tested on 4.2.2, should work on 4.2.x i think.

With this plugin, all other "Display Who Read List" on each forum is ignored.

How to install.

1. Go to your admincp.
2. open Plugins & Products >> Add New Plugin
3. Fill the form with this information :
Product : vBulletin
Hook Location :
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Title : Who Read Thread Fix (or whatever you want)
Execution Order : 1

Plugin PHP Code :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can add more sub forum by modifying the $_enable_forums value, for example

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Plugin is active : Yes

Press "Save".

Last step :
go to admincp >> settings >> options >> Thread Display Options (showthread)
Make sure "Enable Who Read a Thread" is set to "Yes"

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 18 Dec 2013, 23:00
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
If "Enable Who Read a Thread" = No and you want to kill the unnecessary queries, how do you do that without listing the forum IDs for every forum on your site?
Reply With Quote
  #3  
Old 25 Dec 2013, 04:52
semprot semprot is offline
 
Join Date: Mar 2010
Real name: Jeremy
Originally Posted by djbaxter View Post
If "Enable Who Read a Thread" = No and you want to kill the unnecessary queries, how do you do that without listing the forum IDs for every forum on your site?
if you choose "Enable Who Read a Thread" = No, then you don't need this plugin
__________________
Best regards,

Jeremy
Reply With Quote
  #4  
Old 25 Dec 2013, 05:48
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
OK. What confused me was what you said in the OP above:

This hack will completely disable "Who Read a Thread" on some forums.
This feature is different with "Display Who Read List" setting on editing a forum, which is just showing / hiding the list but actually vbulletin still save the "Who Read" data to the database.
So with this hack, you can reduce more queries on your forum if you decide to disable "Who Read a Thread" on some forums.
I thought you were implying that even with that setting off the database queries were occurring.
Reply With Quote
  #5  
Old 28 Dec 2013, 03:30
semprot semprot is offline
 
Join Date: Mar 2010
Real name: Jeremy
Originally Posted by djbaxter View Post
OK. What confused me was what you said in the OP above:



I thought you were implying that even with that setting off the database queries were occurring.
Thank you i've just edited the first post to make it clear when not to use my plugin
__________________
Best regards,

Jeremy
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:13.

Layout Options | Width: Wide Color: