View Full Version : Idea for the Ignore Hack (for vb 2.0 that is)
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. :D <--- Redundent :)
Thanks.
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).
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?
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
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.
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 (http://www.tribalwar.com/forums) 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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.