Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-02-2000 Last Update: Never Installs: 0
 
No support by the author.

Let says Gon was in my ignore list and he posted a new thread, is there a way in the mian display to say like "Click here to bypass settings temporialy". Cause I don't want to see people's threads if they are ignored... cause there very stupid posts and that's why there ignored in the first place. <--- Redundent
Thanks.

Show Your Support

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

Comments
  #2  
Old 11-02-2000, 07:18 PM
Guest
 
Posts: n/a
Default

Thanks Shane.. That idea has already been circulating in my head. A few questions to help spec it out:

Say there are 2 threads that should be ignored on the screen. Will it be easier to have the forumdisplay show 38 threads, simply bypassing those two? Or is it easier to have it display the same number as normal, 40?

What do I do when the person was the last poster in a thread? Do I put "last post by (ignored user)"? I expect it would be a pain in the ass to count backwards in each thread and get the last poster before that (and if that's the same idiot, count back again).
Reply With Quote
  #3  
Old 11-03-2000, 03:03 PM
Guest
 
Posts: n/a
Default

thing is that the line "bypass settings temporarily" is going to take up the same amount of room as the thread. A better option would be to have the thread title in a different colour (a lighter one) which your eyes can just scate over. What do you think?
Reply With Quote
  #4  
Old 11-03-2000, 05:02 PM
Guest
 
Posts: n/a
Default

I hacked it a bit to show an announcement type-thing (called it ignored bit instead of announcement bit and changed the icon to a little X ) at the top saying "There are X hidden posts on this thread due to your ignore list. Click here to temporarily bypass your settings."

In order to remove all the posts I just had it skip over them if it was in your ignore list and increment a counter for the "ignored bit", however that is probably not the most efficient way to do that... I was thinking maybe another relation ignored_user which has 2 IDs in it:
userid, ignoreduserid

Then you could just join the SELECT statement on that.

Something like
Code:
SELECT whatever
FROM post p, ignored_user iu
WHERE iu.userid = $bbuserid 
AND p.userid != iu.ignoreduserid
AND whatever else is in there;
If the thread had a lot of ignored posts then the join might save some processor time (saving time because you don't need any conditional logic on EACH post to see if it is banned, but then you need to join on another table, which is always costly). Otherwise it would probably be overkill. I guess it might be beneficial to see how many people use it, and how many userIDs are hidden.
Reply With Quote
  #5  
Old 11-03-2000, 08:46 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Shane
Let says Gon was in my ignore list and he posted a new thread, is there a way in the mian display to say like "Click here to bypass settings temporialy". Cause I don't want to see people's threads if they are ignored...
lmfao, i love how he uses the most annoying user on my board as an example

my thoughts though, is that something like this should be an option under their prefs, because personally i'd rather pick and choose which threads to read (because although it might be started by an idiot, it might inspire relatively thoughtfull responces), but as he mentioned, a lot of people would probably use this.

And while im here, thx for the ignore hack - my community has been requesting it for almost half a year, and i couldnt do it with the UBB (it being just html files and all), so when we upgraded to vB, and i saw this was already done, i almost fell off my chair

good job
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 11:03 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.03743 seconds
  • Memory Usage 2,226KB
  • Queries Executed 18 (?)
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_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete