vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Hide Quoting of Ignored Members (https://vborg.vbsupport.ru/showthread.php?t=268202)

kh99 02-19-2013 06:47 PM

Quote:

Originally Posted by sypher_04 (Post 2405262)
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.


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>
<div id="kh99_iqts_message_{vb:raw containerid}_{vb:raw quoteid}" class="message kh99_iqts_message_{vb:raw userid}">{vb:raw message}</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.

huskermax 05-20-2013 04:28 PM

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.

kh99 05-20-2013 06:14 PM

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.

Spangle 05-20-2013 06:51 PM

Does anyone know if this works on 4.2.1 ?

Kat-2 06-09-2013 07:00 PM

Yes, I just updated, and tested it on 4.2.1, and it works.

Bozza 12-22-2013 11:02 PM

Seems to work well - thanks very much!

Barcham 02-17-2014 09:42 PM

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!

DemOnstar 02-23-2014 04:01 PM

Testing this one too...

Quite a flurry on ignore related mods of late..

ozzy47 02-23-2014 04:05 PM

This one is not new, it was released in Aug of 2011 :)

Nirjonadda 02-23-2014 04:13 PM

Its Still Is in Beta Stage ?


All times are GMT. The time now is 08:05 AM.

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.01113 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete