Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ignore Thread Details »
Ignore Thread
Mod Version: 1.00, by zetetic (Member) zetetic is offline
Developer Last Online: May 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.1 Rating: (0 vote - 0 average) Installs: 5
Released: 09 Sep 2004 Last Update: Never Downloads: 12
Not Supported Is in Beta Stage  

This hack adds an "Ignore Thread" option to the thread tools menu and generates a list of threads you have ignored in your UserCP. This code was part of a larger customization job we paid to have written for us, and I did the best I could to cull out this single component for release here.

Yes, I did make sure the author was cool with me releasing the code before we paid for it, and he said we could do whatever we want with it. I'd give him credit here but I'm not sure he wants anyone to know lest they bug him for support.

IMPORTANT: I am new to php and did not write this hack, so don't expect much help if you have problems.

The hack consists of:

1 db modification
3 new phrases
3 new templates
3 templates to edit
7 files to edit

I particularly hope that you expert coders will have a look and make sure I didn't leave anything out or keep anything superfluous in, and/or suggest any possible ways to improve it or make it work with newer vB versions. I have tested it with a clean 3.0.1 install and had no issues.

Good luck!

Download Now

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

Screenshots

Click image for larger version

Name:	ignoredlist.jpg
Views:	203
Size:	20.9 KB
ID:	20591   Click image for larger version

Name:	ignorethread.jpg
Views:	219
Size:	26.3 KB
ID:	20592  

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
End-User Options Ignore Thread: Allow Users to Ignore Threads of Their Choosing calorie vBulletin 3.6 Add-ons 115 06 Dec 2013 19:32

Comments
  #2  
Old 09 Sep 2004, 22:47
Osterling Osterling is offline
 
Join Date: Jan 2004
will this work for 3.0

if so, this is a wonderful hack
Reply With Quote
  #3  
Old 09 Sep 2004, 23:03
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Real name: Tom
Originally Posted by exasko
will this work for 3.0

if so, this is a wonderful hack
The only way to know is to try.

I've only tested it on 3.0.1, but I don't know of any reason why it wouldn't work on 3.0.0. Just make sure you have good backups.
Reply With Quote
  #4  
Old 10 Sep 2004, 01:28
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
I can use it! Thanks.
Reply With Quote
  #5  
Old 10 Sep 2004, 02:11
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Real name: Tom
Originally Posted by Bryan Ex
I can use it! Thanks.
I hope it works out for you.
Reply With Quote
  #6  
Old 10 Sep 2004, 07:05
Taco John Taco John is offline
 
Join Date: Nov 2002
Thanks Tom! It's working in 3.0.0 for me like a charm!
Reply With Quote
  #7  
Old 10 Sep 2004, 14:21
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Real name: Tom
Originally Posted by Taco John
Thanks Tom! It's working in 3.0.0 for me like a charm!
Excellent. Glad to hear it.
Reply With Quote
  #8  
Old 10 Sep 2004, 23:11
Taco John Taco John is offline
 
Join Date: Nov 2002
One thing my users noted...

Good job on the ignore thread feature -- however, it doesn't work when you do a "new posts" search -- I put a few of the political threads on iggy & they're still coming up when I pull up new threads...But when I go to the forum, they're not there...
Reply With Quote
  #9  
Old 10 Sep 2004, 23:33
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Real name: Tom
Good catch, TJ. See, the problem is that I have no way of knowing what templates and files were modified (and how) without doing a side-by-side compare. So everytime an issue pops up that's what I have to do. Okay, this seems to fix it (I'll update the text file in the OP next):


open /forum/search.php

find the first instance of:

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

add, after:

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

find:


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

add, before:


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

Reply With Quote
  #10  
Old 03 Apr 2005, 04:12
Casparian Casparian is offline
 
Join Date: Dec 2003
Don't suppose there's any such thing as an "ignore forum" option? We have a chit-chat forum and some of our users *hate* it, when they hit New Posts they can see a dozen OT posts. This hack would be useful if there was only the occasional one but I don't think it'll be enough
Reply With Quote
  #11  
Old 03 Apr 2005, 18:07
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Real name: Tom
Originally Posted by Casparian
Don't suppose there's any such thing as an "ignore forum" option? We have a chit-chat forum and some of our users *hate* it, when they hit New Posts they can see a dozen OT posts. This hack would be useful if there was only the occasional one but I don't think it'll be enough
That's a good idea, Casparian. The logic is simple enough: Provide users with a way to select which forums they want to ignore, modify search.php to ignore those forums when returning "new posts", etc.

Unfortunately I'm not knowledgeable enough about hacking (yet) to say exactly how to do it. Maybe you should start a new thread in the modification requests forum.
Reply With Quote
  #12  
Old 09 Apr 2005, 08:02
sross sross is offline
 
Join Date: Mar 2004
I have it up and running on 3.0.7 seems really good so far. I did get an error trying to save the forumhome_lastpostby template, but I ignored it, yikes, but i see no errors anywhere on my site. Does anyone know if there is something wrong with the below template code? Thanks!

forumhome_lastpostby:

At the very top, add:
--------------------------------------------------------
<if condition="in_array($lastpostinfo[lastthreadid], $ignoredthreads)">
Ignored Thread

<else />
--------------------------------------------------------

At the very bottom, add:
--------------------------------------------------------
</if>
--------------------------------------------------------
Reply With Quote
  #13  
Old 16 May 2005, 16:12
popowich popowich is offline
 
Join Date: Jun 2004
Originally Posted by Casparian
Don't suppose there's any such thing as an "ignore forum" option? We have a chit-chat forum and some of our users *hate* it, when they hit New Posts they can see a dozen OT posts. This hack would be useful if there was only the occasional one but I don't think it'll be enough
I am also looking for an "ignore forum" (that would exclude the forum posts from the new posts navbar) and an "ignore user" that does not display any posts by the user, both defined by my members in their user cp and not a system wide setting.

-Raymond
Reply With Quote
  #14  
Old 19 Aug 2005, 05:43
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Originally Posted by sross
I have it up and running on 3.0.7 seems really good so far. I did get an error trying to save the forumhome_lastpostby template, but I ignored it, yikes, but i see no errors anywhere on my site. Does anyone know if there is something wrong with the below template code? Thanks!
I got the same error...

I don't think this is right:

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

I think it is supposed to be more like:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #15  
Old 14 Jan 2006, 04:33
Fofer Fofer is offline
 
Join Date: Aug 2005
Anyone tried this on 3.5.x?
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 13:43.

Layout Options | Width: Wide Color: