![]() |
Ignore Thread
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! |
will this work for 3.0
if so, this is a wonderful hack :) |
Quote:
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. |
I can use it! Thanks.
|
Quote:
|
Thanks Tom! It's working in 3.0.0 for me like a charm!
|
Quote:
|
One thing my users noted...
Quote:
|
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: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
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 :(
|
Quote:
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. |
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!
Quote:
|
Quote:
-Raymond |
Quote:
I don't think this is right: Code:
<if condition="in_array($lastpostinfo[lastthreadid], $ignoredthreads)"> Code:
<if condition="in_array($lastpostinfo[lastthreadid], array($ignoredthreads))"> |
Anyone tried this on 3.5.x?
|
Quote:
|
Any updates? This would be great if I could have it for 3.5.4!
|
I haven't upgraded my forum to 3.5 yet :blush: but I'll be doing it within the next month or so. If someone hasn't beaten me to the punch I'll take a stab at porting this.
|
This is something that I am eagerly awaiting also.
|
Well folks...is this one a dead issue? Does anybody know of anything else like this?
Thanks, Don |
I'm also interested in a version for 3.5.x
|
Anyone? Bueller?
|
LOL. Seriously, folks.
|
I'm looking for this too for 3.5.4
|
this would be awesome for 3.5.4, and 3.6 (i'm using 3.6...), as well as for use here at vborg...i would love to be able to ignore all those hack threads that i'm never going to use...
|
Any updates on this for 3.6? Appears to be a dead issue. :(
|
Sorry folks, I haven't upgraded my own site to 3.5 yet, much less 3.6, largely because the coder who wrote this hack for us is no longer doing custom work. If I find someone else to port it for us (or get a chance to do it myself) before someone comes up with another solution, I'll be sure to update this thread.
|
|
Oops, sorry. I gave calorie permission to port this and forgot to post an update here.
|
All times are GMT. The time now is 01:06 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|