Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Filter Closed Threads Details »
Filter Closed Threads
Mod Version: 0.4, by Vitaly (Coder) Vitaly is offline
Developer Last Online: Jul 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (4 votes - 4.75 average) Installs: 30
Released: 19 Feb 2009 Last Update: 03 Jan 2010 Downloads: 159
Not Supported DB Changes Uses Plugins Auto-Template Re-usable Code  

vb 4.x version here

Description


This product allows to hide closed threads.

Features:
  • Settings are forum-based
  • Administrator can setup default state (hide or show)
  • Administrator can allow user to switch filter setting or make it mandatory
Setup

Just import product XML

Configuration

ACP -> Forums & Moderators -> Forum Manager -> edit forum
Find section "Filter Closed Threads settings" and do necessary changes (usually, all ON).

(!) By default, filtering is disabled.

This mod is developped here: http://github.com/rcdesign/vb-filter_closed_threads . Patches are welcome.

history

v0.4
- hope that fixes unserialisation bug, reported by some members

v0.3
- small fixes for guests
- refactoring
- developnent moved to vb3.8

v0.2
- first public release

Download Now

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

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	fc_settings.gif
Views:	439
Size:	7.4 KB
ID:	95149   Click image for larger version

Name:	fc_user.gif
Views:	675
Size:	14.9 KB
ID:	95150  

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.
Similar Mod
Mod Developer Type Replies Last Post
Forum Display Enhancements Filter Closed Threads Vitaly vBulletin 3.7 Add-ons 2 21 Feb 2009 16:00

Comments
  #2  
Old 21 Feb 2009, 04:25
ppmfic ppmfic is offline
 
Join Date: Jun 2007
It's a very useful mod but I have the problem after installed this product. It showed the below warning when opened forumdisplay pages.

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in [path]/forumdisplay.php(111) : eval()'d code on line 70

Unable to add cookies, header already sent.
File: .../includes/class_core.php
Line: 3254

Please help me. Thanks in advanced.
Reply With Quote
  #3  
Old 21 Feb 2009, 05:56
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Hm... no ideas. Works fine at my 3.8.1+VBSEO production site.

May be, conflicting with other mods?
Reply With Quote
  #4  
Old 22 Feb 2009, 00:29
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Question

Interesting Mod, Thank You For Sharing It.

Idea For Next Update: It'd be Great to Place some Option for Usergroups Allowed to Use this Mod.

Until then, what Plugins can Admins Edit to Allow Only Certain Usergroups to Use the Mod, and what Codelines should Admins Include?

Question: How can Admins Activate this Mod in All Forums? (It'd be Nice to Have Also a Global Options to Hide/Show Closed Threads on All Forums). For now, could you please share with us the Two (2) SQL Query Sentencen that Admins can Use to Activate the Options of the Mod (Set them to Yes) on All Forums?

Imagine Setting Yes to the Two (2) Mod's Options ("Show filter to user?" and "Hide closed threads by default?") for like 500 Forums or more, One by One.

My Best Regards.


Last edited by inciarco; 22 Feb 2009 at 00:39.
Reply With Quote
  #5  
Old 19 Jul 2009, 22:26
skYfIrE skYfIrE is offline
 
Join Date: Oct 2006
Hello,

I have this error on only one profile.
Warning: unserialize() expects parameter 1 to be string, array given in [path]/includes/class_userprofile.php(141) : eval()'d code(7) : eval()'d code on line 1

And, on the sub-forum where I use this mod, i have this error :
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in [path]/forumdisplay.php(111) : eval()'d code on line 45

After the error message, the forum is displayed without CSS.

I'm running 3.8.2, i deactivated all the mods, including vbseo. And, i still have the error.

For now, i deactivated this mod.

Thanks in advance if you can do something.

Regards,
Frederic
Reply With Quote
  #6  
Old 19 Jul 2009, 23:04
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Can't promis fast fix.

What php version and OS used on your server? Anyway, thanks for bug report, I've recorded it into buglist.
Reply With Quote
  #7  
Old 20 Jul 2009, 18:15
skYfIrE skYfIrE is offline
 
Join Date: Oct 2006
Hello,

Thanks for you reply.

My server is running under Freebsd7 with Apache22, & PHP5.2.10

Regards,
Fred.
Reply With Quote
  #8  
Old 28 Sep 2009, 20:29
bradbeattie bradbeattie is offline
 
Join Date: Feb 2009
Haven't narrowed down the why yet, but the
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

block can cause a nopermission_loggedin error to display. Just a heads up.

Edit:

More specifically, it seems to be this block:


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

Reply With Quote
  #9  
Old 07 Oct 2009, 03:14
whitetigergrowl whitetigergrowl is offline
 
Join Date: Jun 2004
I had to disable for much the same reasons. I kept getting an error in the member profiles that seemed to be coming from this mod. Errors went away when this mod was disabled.
Reply With Quote
  #10  
Old 07 Oct 2009, 17:56
Luke Carrier Luke Carrier is offline
 
Join Date: Jun 2009
Can this modification have the ability to order threads (not filter, but sort) the thread listings so that closed threads can be shown at the bottom of the list? If not, could you consider adding this feature please? Been looking everywhere for some way of doing this.

Thanks
Reply With Quote
  #11  
Old 03 Nov 2009, 00:16
Zarxrax Zarxrax is offline
 
Join Date: Mar 2009
I installed this mod and had some problems. It worked GREAT for me, but it caused some users to not be able to view my forums!

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

The users of my forum don't need this mod, but I desperately need it, so is there any way to limit it to only work for my account (administrator)?
Reply With Quote
  #12  
Old 30 Nov 2009, 23:04
Zarxrax Zarxrax is offline
 
Join Date: Mar 2009
This plugin has a bug in the way it stores the cookie. I don't know enough about the code to be able to fix it, but I found out what is causing the problem.

If you allow the plugin to show the setting to the user, then some users will have a problem where the page wont properly load (the error message in my previous post)
I'm not sure why it only effects some users, but I noticed that the problem didn't effect me. However, one day, without having made any changes to my forum, the problem started effecting me as well.

But anyways, I tried taking out the part of the code that sets the cookie. After I did that, it started working again (but obviously you can't change the setting).

This is the code I removed, so I guess something in this is causing the problem:


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

Reply With Quote
  #13  
Old 04 Dec 2009, 18:13
xorex's Avatar
xorex xorex is offline
 
Join Date: Jan 2008
in admin profile (id 1) error


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

другими словами если просматриваю профиль админа (c первым id ) вылазит эта ошибка ((

а в целом все работает
Reply With Quote
  #14  
Old 30 Dec 2009, 06:05
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Please, report if attached version solve problems. Note, that it will reset user filters.
Attached Files
File Type: xml product-filter_closed_threads.xml (8.8 KB, 5 views)
__________________
I no longer develop for vB. Use my vb addons/code as you wish, without limits & conditions. Latest versions @ github repo.
My new forum project is Nodeca. Node.js+MongoDB. If you wish to help with coding & design - feel free to join.

Last edited by Vitaly; 30 Dec 2009 at 06:14.
Reply With Quote
  #15  
Old 30 Dec 2009, 13:28
xorex's Avatar
xorex xorex is offline
 
Join Date: Jan 2008
problem solved
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 11:17.

Layout Options | Width: Wide Color: