![]() |
Hide Quoting of Ignored Members
1 Attachment(s)
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 |
Great idea :up:
|
Great idea, is there anyway to HIDE the ENITRE post if it has a quote from the user in your ignore list?
Thanks, |
OMG. I've wanted this for years. Works in 4.1.4 :)
|
Oh god my users had requested this for years. I thought they were nuts thinking it would happen easily. Nice.
|
Quote:
|
Quote:
thank you so much. |
You need to escape usernames or you get a db error on usernames with single quotes in them.
PHP Code:
|
Quote:
(This update doesn't include the other changes discussed above). |
Freaking BRILLIANT!
Tagged to install as I embark on upgrades this weekend. Sometimes the simplist things are the most wonderful. :) |
Quote:
Thanks for all the effort, just wondering if the changes above will be implemented soon? Cheers, |
Quote:
|
Quote:
|
Quote:
Thank you, |
Quote:
|
^ oh sorry to hear that, no rush , really appreciate you doing this.
|
fyi, there appears to be an uncached template. I don't remember seeing it before 4.1.7. Template is kh99_iqts_bbcode_quote_ignore
|
Thanks, I'll try to fix that in the next release.
|
In the meantime, if anyone wants to resolve the cached template issue, here is what I did.
Add a new plugin under Plugins and Products with the following info Product: Ignore Quotes Hook Location: cache_templates Title: Ignore Quotes - cache template PHP Code: Code:
if (THIS_SCRIPT == 'showthread') |
When this mod is disabled, the text "This quote is hidden because you are ignoring this member. Show Quote" appears in every quote.
|
Quote:
In the next version I think I'm going to make it clear the post cache automatically when needed. The next version should be coming soon, I apologize to those who have been waiting for new features. |
Quote:
cheers, |
Quote:
|
Quote:
I apologize to Raul7 and anyone else who's been waiting patiently for this, but I won't be able to add these features any time soon. And if I ever do, it will probably be a separate mod since the existing code in this mod to hide quotes doesn't help much toward those features. |
Quote:
Cheers, |
Not working right on 4.1.12, for some reason treats everyone like they are on my ignore list but also shows their quote.
|
Thanks, I'll take a look at it.
|
Quote:
Please vote if you also need such a change to be made :) |
Is there a similar mod for 3.8 that hides quotes by ignored users? I can't find one.
|
I wish the ignore features weren't so easily overridden. I've recently installed a forced ignore mod onto my board but haven't yet found a way to disable the ability to View Post, or in the case of this mod View Quote. So, it doesn't actually stop the posters from reading each others posts, just makes it a nuisance to do so.
|
Quote:
Well, you could modify the kh99_iqts_bbcode_quote_ignore template so that the option to show it isn't available, like maybe: Code:
<div id="kh99_iqts_toggle_{vb:raw containerid}_{vb:raw quoteid}" class="kh99_iqts_hidden kh99_iqts_hidden_{vb:raw userid}">{vb:rawphrase kh99_iqts_ignored}</div> but then someone could still view the html source of the page to see it. Because of the way it works, there was no way to actually leave out the quote (well, of course it's possible but it would be a lot harder and probably couldn't be done with plugins). It works by assigning a separate CSS class to each quoted user on a page, and whether the class displays the quote or the "hidden" message isn't determined until after the template is rendered. But this is good enough for a lot of people who just don't want to have to look at anything posted by certain members. |
Do I have to Rebuild post cache? Won't that effect my post count. We had to purge threads and posts due to it filling up our server so my users care about their post count. So if this still will work for all future posts then that works for me. but if I have to rebuild the post cache just to get it to work then I can't use it.
|
The post cache doesn't affect the user post count. It's a temporary database table that saves the displayed text for posts, so that less processing has to be done to display threads. When you install this product you don't have to rebuild the post cache, but if you don't, quotes in existing posts won't be hidden until the cache expires (I think the default is 7 days). When uninstalling this mod, I believe the cache must be deleted or rebuilt or else the quotes won't be displayed correctly.
When I wrote the instructions I said to use the "Rebuild Post Cache" because it's the only good way to handle it via the admincp. But another way to do it would be to use Execute SQL Query under Maintenance (if it's enabled in the config.php for your user), or use phpMyAdmin, to truncate the "postparsed" table. If I were going to release an update, I would just add code to the mod to truncate that table when installing/uninstalling, but I didn't think of that at the time. |
Does anyone know if this works on 4.2.1 ?
|
Yes, I just updated, and tested it on 4.2.1, and it works.
|
Seems to work well - thanks very much!
|
Installed on 4.2.2 and it seems to work fine. This is a great mod that members on most boards would probably love to see installed. In fact, it should be part of Vbulletin to begin with!
Thanks a lot for this one! |
Testing this one too...
Quite a flurry on ignore related mods of late.. |
This one is not new, it was released in Aug of 2011 :)
|
Its Still Is in Beta Stage ?
|
All times are GMT. The time now is 02:44 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:
|