Go Back   vb.org Archive > Community Central > vBulletin.org Site Feedback

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 01-21-2009, 08:17 AM
tmc tmc is offline
 
Join Date: May 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Allow us to *truly* ignore a user

The main problem (for me) is that I can still see all threads they create. Without pointing anything specific out, there are mods that exist here that are offensive to me (sometimes I even question why they are allowed here, even if not everyone shares my same opinions). I don't want to be subject to these mods, or these modders. And sadly for whatever reason, vBulletin has decided that we shouldn't be allowed to truly ignore a user.

I've tried coming up with a CSS rule (for AdBlock element hider) to hide all elements that contain a link to the user's profile, but I just don't think it's possible. Basically CSS needs the OPPOSITE selector to ">". You can read about it here if you'd like: http://www.shauninman.com/archive/20...fied_selectors

OK.. So the solution is to allow us the ability to block the entire TR easily.

HTML Code:
<!-- threadbit -->
<tr class="userid-XXXXXX">
    <!-- Table row code -->
</tr>
Or simply using the userid alone would do. And then, on the client side I can block any TR with that userid as the class.

This could even be turned into a NON-client side modification.. I don't know off the top of my head how vBulletin grabs an ignored users list, but I imagine it's available on every page load through $vbulletin->userinfo.

OK, looked it up just now, so you could do:

PHP Code:
if (trim($vbulletin->userinfo['ignorelist']))
{
    
$ignored_css '';
    
$ignorelist preg_split('/( )+/'trim($vbulletin->userinfo['ignorelist']), -1PREG_SPLIT_NO_EMPTY);
    foreach(
$ignorelist AS $ignoreduserid)
    {
       
$ignored_css .= "tr.userid-$ignoreduserid, "// in fact, remove the tr to use it anywhere.
    
}
    
$ignored_css substr($ignored_css0, -2); // Remove extra comma & space

    
if(strlen($ignored_css) > 0// mostly unnecessary check to avoid CSS errors...
    
{
        
$show['ignored_css'] = true;

        
$ignored_css .= ' {display: none;}';

        
// If you want to template it...
        //eval('$ignoredlist_css = "' . fetch_template('ignored_css') . '";');
    
}

And in headinclude:

HTML Code:
<if condition="$show['ignored_css']">
<style type="text/css" media="all">
    $ignored_css
</style>
</if>
And of course $show['ignored_css'] could be toggled through a UserCP option if needed. And the default could be "false" as to mimic default vBulletin behavior, but still give us the option of not being bombarded with modifications that are offensive to us.

P.S - Another option: Anyone interested in doing so immediately can use Greasemonkey to do it for them. For ease of coding you may embed jQuery into Greasemonkey also.

(I'm not sure if there's any interest but I can always hack it up for real, or share the Greasemonkey script.. But I tend to shy away from Greasemonkey)

--------------- Added 21 Jan 2009 at 05:33 ---------------

Confused why this was moved out of Site Feedback. But whatever.

--------------- Added 21 Jan 2009 at 05:36 ---------------

Actually, if you're going to simply not listen to my feedback at all on the matter, can you please delete it?

--------------- Added 23 Jan 2009 at 03:19 ---------------

Added the actual body of the message back in since this is back in Site Feedback where it was originally posted.
  #2  
Old 01-21-2009, 02:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe if you explain better what you are asking, then we can help you.
  #3  
Old 01-21-2009, 09:58 PM
tmc tmc is offline
 
Join Date: May 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Maybe if you explain better what you are asking, then we can help you.
I don't know what you're talking about

Can this thread be removed or not? I asked Marco via PM and he replied back to me without deleting this.

For whatever reason he moved this thread from Site Feedback to here. So I'm angry with him for ignoring my feedback and deleted said feedback from my post.

Therefore this thread is serving no purpose being here. Don't you agree?

Now if it could be moved back into Site Feedback I'll gladly restore the main body of my first post.
  #4  
Old 01-21-2009, 10:07 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So often people post in the site feedback forum when they are actually asking questions about how to do something on their own site. Marco probably thought you were asking a question regarding your own site and so he moved it. If you are asking a question about vb.org, then I'll move it back to the site feedback forum.
  #5  
Old 01-21-2009, 11:26 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont see the problem? If you place a user on ignore for whatever reason the only thing that shows up is a small box that informs you the ignored user has made a post and giving you the option to view the post or unignore the user
  #6  
Old 01-21-2009, 11:47 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats not true. If the member creates a bulk of threads, then those will be visible. To truly ignore the user, those threads need to be ignored as well.
  #7  
Old 01-23-2009, 06:20 AM
tmc tmc is offline
 
Join Date: May 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Thats not true. If the member creates a bulk of threads, then those will be visible. To truly ignore the user, those threads need to be ignored as well.
And this is what I would like to be addressed..

I added the actual body of my first post back since this was put back into Site Feedback. Sorry for anyone confused along the way as to what on earth this thread was about since there was no first post.

I think I provided a nice-enough client side way of hiding threads/modifications created by ignored users.. I think a server-side method would be far too messy..

--------------- Added [DATE]1232699178[/DATE] at [TIME]1232699178[/TIME] ---------------

I've decided though that I'm still going to try doing this in Greasemonkey.. Because most likely this won't be implemented here...
  #8  
Old 01-23-2009, 10:12 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tmc View Post
Because most likely this won't be implemented here...
You assume correctly.
  #9  
Old 01-23-2009, 10:31 AM
nexialys
Guest
 
Posts: n/a
Default

hum, https://vborg.vbsupport.ru/showthread.php?t=181626 is the answer... but i think it would be pointless to be installed on vb.org... but you can install it on your site.
  #10  
Old 01-24-2009, 01:38 AM
tmc tmc is offline
 
Join Date: May 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys View Post
hum, https://vborg.vbsupport.ru/showthread.php?t=181626 is the answer... but i think it would be pointless to be installed on vb.org... but you can install it on your site.
How is it pointless?

I don't want to see religious modifications on here.

And while not exactly as "offensive" as religious modifications, I don't want to see modifications that are aimed solely to Vietnamese vB users, or Turkish vB users, for example.

--------------- Added 23 Jan 2009 at 22:39 ---------------

Quote:
Originally Posted by Paul M View Post
You assume correctly.
What a great response. Glad you really went in depth as to why we can't ignore modifications/modders here. It all makes sense now.
Closed Thread

Thread Tools
Display Modes

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 11:44 AM.


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.06242 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)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_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