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

Reply
 
Thread Tools
Hide Quoting of Ignored Members Details »»
Hide Quoting of Ignored Members
Version: 0.91, by kh99 kh99 is offline
Developer Last Online: Sep 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 08-08-2011 Last Update: 09-02-2011 Installs: 48
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

What is it?
----------------------------
This mod hides quotes of users in your ignore list. That is, if someone you're not ignoring quotes someone you are ignoring, the text of that quote will be hidden.

Option to enable/disable is under "Thread Display Options (showthread)".

Installation:
----------------------------
1) In the Product Manager in AdminCP, import the product XML file (product-kh99ignorequotes.xml).

2) Rebuild post cache (Maintenance -> Update Counters -> Rebuild Post Cache).

Uninstalling:
----------------------------
1) Uninstall the product from the Product Manager in the AdminCP.

2) Rebuild post cache (Maintenance -> Update Counters -> Rebuild Post Cache).

Notes:
----------------------------
1) Beta, has been tried out on version 4.1.5 but not extensively tested.

History:
----------------------------
0.91 (Sep 03, 2011) - Fixed issue with including usernames in SQL
0.90 (Aug 08, 2011) - Initial Release

Download Now

File Type: zip kh99IgnoreQuotes0_91.zip (36.5 KB, 249 views)

Screenshots

File Type: jpg sg1.jpg (61.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Bounce, TheLastSuperman

Comments
  #2  
Old 08-09-2011, 03:14 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea :up:
Reply With Quote
  #3  
Old 08-30-2011, 09:20 PM
Raul7 Raul7 is offline
 
Join Date: Mar 2005
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea, is there anyway to HIDE the ENITRE post if it has a quote from the user in your ignore list?

Thanks,
Reply With Quote
  #4  
Old 08-30-2011, 10:05 PM
Conehead555 Conehead555 is offline
 
Join Date: Oct 2010
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OMG. I've wanted this for years. Works in 4.1.4
Reply With Quote
  #5  
Old 08-31-2011, 02:19 PM
bfdzio bfdzio is offline
 
Join Date: Oct 2007
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh god my users had requested this for years. I thought they were nuts thinking it would happen easily. Nice.
Reply With Quote
  #6  
Old 09-01-2011, 05:55 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Raul7 View Post
Great idea, is there anyway to HIDE the ENITRE post if it has a quote from the user in your ignore list?
I'll look at making that an option in the next release. But then you will have the issue where someone will quote the hidden post (which isn't by someone you're ignoring). I don't think I'm going to try to deal with that.
Reply With Quote
  #7  
Old 09-01-2011, 09:15 PM
Raul7 Raul7 is offline
 
Join Date: Mar 2005
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I'll look at making that an option in the next release. But then you will have the issue where someone will quote the hidden post (which isn't by someone you're ignoring). I don't think I'm going to try to deal with that.
thanks alot, if we get to that point its ok. i understand nothing can be done about that. i think if you add these 2 features
  • hide the entire thread if the person started it is in your ignore list (there is one for 3.8, i can find the link if you think it will help
  • hide the post and posts that quote the person who is in your ignore list

thank you so much.
Reply With Quote
  #8  
Old 09-03-2011, 04:50 AM
SpankMe's Avatar
SpankMe SpankMe is offline
 
Join Date: Nov 2001
Location: New Zealand
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to escape usernames or you get a db error on usernames with single quotes in them.

PHP Code:
            if ($res $vbulletin->db->query_first("SELECT userid FROM " TABLE_PREFIX "user WHERE username = '" '" . $db->escape_string($username) . "' "' LIMIT 1")) 
Reply With Quote
  #9  
Old 09-03-2011, 12:10 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SpankMe View Post
You need to escape usernames or you get a db error on usernames with single quotes in them.
Thanks - I've updated the release with that fix.

(This update doesn't include the other changes discussed above).
Reply With Quote
  #10  
Old 09-10-2011, 01:43 AM
rollerman rollerman is offline
 
Join Date: Oct 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Freaking BRILLIANT!

Tagged to install as I embark on upgrades this weekend.


Sometimes the simplist things are the most wonderful.
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 06:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10189 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete