Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ignore Thread: Allow Users to Ignore Threads of Their Choosing Details »»
Ignore Thread: Allow Users to Ignore Threads of Their Choosing
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.1 Rating:
Released: 09-24-2006 Last Update: Never Installs: 160
DB Changes Uses Plugins Template Edits
 
No support by the author.

As originally described, this hack adds an "Ignore Thread" option to the thread tools menu and generates a list of threads you have ignored in your UserCP. Basically it allows your users to ignore threads of their choosing, preventing said threads from showing up in forumbit, forumdisplay, and search results.

Import one product and edit two templates. Fully phrased. No PHP file edits. Tested on vB 3.6.1. Ported with permission. The original is here.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 06-16-2007, 09:42 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by David Lama View Post
update?
Update what? or on what? If you're going to ask a question, at least provide a bit of information so someone can answer it.
Reply With Quote
  #53  
Old 07-02-2007, 10:13 AM
harley_m harley_m is offline
 
Join Date: Feb 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by harley_m View Post
Lovely hack - well done!

Moderators upwards being able to set a thread to be ignored by a certain user. Obviously that thread would not appear in their ignored threads list, but instead in some listing in the Mod panel. This would be rather like banning from a thread, but actually be much more effective because that user doesnt get the constant reminder they have been acted against.

Would this not be possible then?

I would be very grateful


Harley
Reply With Quote
  #54  
Old 08-28-2007, 04:31 AM
pcg pcg is offline
 
Join Date: May 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this, but one request. We have a notificatin of unread posts hack as well. When a usre ignores a thread, they still show up as unread. any way to fix this so ignored threads are not listed as unread threads??
Reply With Quote
  #55  
Old 10-01-2007, 05:07 AM
JadedSouls's Avatar
JadedSouls JadedSouls is offline
 
Join Date: May 2007
Location: Canada, eh?
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's funny, a member JUST inquired about a mod such as this this afternoon and I said "I'll try and find one!"

Lo and behold, here it is!

thanks

*installed*
Reply With Quote
  #56  
Old 10-05-2007, 06:49 AM
El Orans El Orans is offline
 
Join Date: Sep 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Clicks install *
Reply With Quote
  #57  
Old 11-25-2007, 02:19 AM
tikichick tikichick is offline
 
Join Date: Nov 2007
Location: Austin, Texas
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool mod. I'm using 3.6.8 and it only works for administrators. Can't figure out why and can't find any way to set permissions for registered users to use this. Any suggestions?
Reply With Quote
  #58  
Old 11-27-2007, 07:28 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For anyone who is interested, I wanted to add this to the forumdisplay as well. This way it could be ignored without having to go into the thread if the user wants, it also prompts them, just in case. Here's how I did it:

In the threadbit template find
Code:
<if condition="$show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
Add this just above it
Code:
		<span style="float:$stylevar[right]">
		&nbsp;<a href="javascript:decision('Are you sure you want to ignore this thread?',
'profile.php?$session[sessionurl]do=ignorethread&amp;threadid=$thread[threadid]&amp;forumid=$thread[forumid]')"><img class="inlineimg" src="$stylevar[imgdir_misc]/hide.gif" alt="Ignore this thread" border="0" /></a>
		</span>
Now add this to the header template at the very bottom
Code:
<!-- Confirm Ignore Thread -->
<SCRIPT LANGUAGE="Javascript">
<!---
function decision(message, url){
if(confirm(message)) location.href = url;
}
// --->
</SCRIPT>
<!-- /Confirm Ignore Thread -->
Add the attached hide.gif (x) image to your images/misc directory
Reply With Quote
  #59  
Old 11-29-2007, 05:40 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ericgtr View Post
For anyone who is interested, I wanted to add this to the forumdisplay as well. This way it could be ignored without having to go into the thread if the user wants, it also prompts them, just in case. Here's how I did it:

In the threadbit template find
Code:
<if condition="$show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
Add this just above it
Code:
        <span style="float:$stylevar[right]">
        &nbsp;<a href="javascript:decision('Are you sure you want to ignore this thread?',
'profile.php?$session[sessionurl]do=ignorethread&amp;threadid=$thread[threadid]&amp;forumid=$thread[forumid]')"><img class="inlineimg" src="$stylevar[imgdir_misc]/hide.gif" alt="Ignore this thread" border="0" /></a>
        </span>
Now add this to the header template at the very bottom
Code:
<!-- Confirm Ignore Thread -->
<SCRIPT LANGUAGE="Javascript">
<!---
function decision(message, url){
if(confirm(message)) location.href = url;
}
// --->
</SCRIPT>
<!-- /Confirm Ignore Thread -->
Add the attached hide.gif (x) image to your images/misc directory
Groovy.
Reply With Quote
  #60  
Old 01-09-2008, 07:12 PM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to ignot threads with vBadvanced?
Reply With Quote
  #61  
Old 02-13-2008, 01:57 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pcg View Post
I love this, but one request. We have a notificatin of unread posts hack as well. When a usre ignores a thread, they still show up as unread. any way to fix this so ignored threads are not listed as unread threads??
Same here... any solution to this?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:59 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.04476 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete