Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > User Feedback > Site Suggestions > Ignore feature.
Pages (4): « 1 2 [3] 4 »   Last Thread   Next Thread
Share
Author
Thread    Post A Reply
noikeee
dubstep convert



Registered: Apr 2002
Location: lost and wandering looking for directions.

quote:
Originally posted by Arbiter
The only problem I see is that the algorithm probably retrieves a constant number of threads and displays them, so if you had ignored threads in the bunch it might display fewer threads on a page than it otherwise would. This could be avoided by repeating the querying process until threadsperpage threads have been displayed, but this would place additional stress on the database which may not be worth it.


both cases shouldn't be a problem i think? most users should have very few people (none even) in their ignore list, so the aditional stress to the database wouldn't be big. also it isn't a huge thing that less threads would show up. maybe the best solution should be some message like "ignored thread" in the place of it


___________________
sempre contra a corrente do jogo

Old Post Oct-07-2004 16:42  Portugal
Click Here to See the Profile for noikeee Click here to Send noikeee a Private Message Visit noikeee's homepage! Add noikeee to your buddy list Report this Post Reply w/Quote Edit/Delete Message
StereoPrincess
sassy one-piece



Registered: May 2001
Location: SPFRI

quote:
Originally posted by paranoik0
both cases shouldn't be a problem i think? most users should have very few people (none even) in their ignore list, so the aditional stress to the database wouldn't be big. also it isn't a huge thing that less threads would show up. maybe the best solution should be some message like "ignored thread" in the place of it


yes, that is what i want.

Old Post Oct-07-2004 18:17  Poland
Click Here to See the Profile for StereoPrincess Click here to Send StereoPrincess a Private Message Add StereoPrincess to your buddy list Report this Post Reply w/Quote Edit/Delete Message
DigiNut
You kids get off my lawn!



Registered: Dec 2002
Location: Toronto, Self-proclaimed Centre of the Universe

quote:
Originally posted by Arbiter
I don't think it should be that hard. Every time a thread or group of threads is retrieved from the database it must retrieve the username of the thread starter of each thread in order to display that column on the forum table.

So the each "row" result of the query probably contains a field like 'thread_starter.' It would be pretty easy to simply compare that field to the contents of the logged in user's ignore list and not echo the row of information if a match is found.

The only problem I see is that the algorithm probably retrieves a constant number of threads and displays them, so if you had ignored threads in the bunch it might display fewer threads on a page than it otherwise would. This could be avoided by repeating the querying process until threadsperpage threads have been displayed, but this would place additional stress on the database which may not be worth it.

Actually come to think of it, it's probably very easy to implement without putting any stress on the database.

If it's a SQL database, the threads are probably retrieved using an sproc that doesn't and can't take any user-specific parameters (just generic ones like forum ID and how far back to retrieve posts from), so changing the database itself to handle the issue would be nearly impossible. That's what I was originally thinking about but then I realized that there's no need to change the database at all.

Since the PHP script has to parse through all the returned records anyway to display them, all Del would have to do is stick an extra 2 or 3 lines in the PHP script with an "if" statement that checks against the ignore list and just doesn't display the record if the user is ignored. So we're not trying to modify the query's result set, just ignore some of the records inside it. I think that's essentially what the "in-thread" viewer script already does, it's just not implemented in the thread "list" script.

The thread count might end up being wrong, but in that case you could just add one more line to the if statement that decrements it for every record that gets ignored.

That should be pretty simple, right Del? I know you're a busy guy but I think this is actually a lot more straightforward than it seemed at first.


___________________
My party schedule:
2009-02-21 - DJ Attention @ I'm So Popular
2009-06-18 - DJ Annoying @ People Need To Know Where I'll Be
2012-11-32 - DJ Insufferable ɸ Or At Least the Stalkers I Complain About
2048-06-66 - Spastic & Whocares Although I'm Actually Flattered
9999-45-81 - Tweaker Gimp I Probably Won't Even Go To This But I Have To Make Sure I Fill Up All The Available Space Here

Old Post Oct-07-2004 23:26  Canada
Click Here to See the Profile for DigiNut Click here to Send DigiNut a Private Message Add DigiNut to your buddy list Report this Post Reply w/Quote Edit/Delete Message
StereoPrincess
sassy one-piece



Registered: May 2001
Location: SPFRI

he is back!!!


bastard.


anyways, yes, please change the whole site just for me Del. I won't care how many threads per page.

Old Post Oct-08-2004 11:40  Poland
Click Here to See the Profile for StereoPrincess Click here to Send StereoPrincess a Private Message Add StereoPrincess to your buddy list Report this Post Reply w/Quote Edit/Delete Message
StereoPrincess
sassy one-piece



Registered: May 2001
Location: SPFRI

why god?? why??

Old Post Oct-08-2004 17:52  Poland
Click Here to See the Profile for StereoPrincess Click here to Send StereoPrincess a Private Message Add StereoPrincess to your buddy list Report this Post Reply w/Quote Edit/Delete Message
j_spot
retired



Registered: Mar 2001
Location: Calgary

Im with margs on this one.


___________________
Retired TA.

Old Post Oct-08-2004 17:56 
Click Here to See the Profile for j_spot Click here to Send j_spot a Private Message Visit j_spot's homepage! Add j_spot to your buddy list Report this Post Reply w/Quote Edit/Delete Message
StereoPrincess
sassy one-piece



Registered: May 2001
Location: SPFRI

quote:
Originally posted by j_spot
Im with margs on this one.


it has been really bad this past week, eh?

Old Post Oct-25-2004 21:57  Poland
Click Here to See the Profile for StereoPrincess Click here to Send StereoPrincess a Private Message Add StereoPrincess to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Vivid Boy
TA's GodFather



Registered: Sep 2001
Location: T.O

ok well this is what we gonna have to do. we as a community have to flame the fuck out of him till he runs away on fire. since im on his ignore list and rod rico is as well we need a team effort. since me and rod are the ones that flame him the hardest and he has us on ignore i say whenever we flame him you people should quote us so he can read it. disguise it too. when u quote us just add a lol so he doesnt think ur quoting on purpose. we need help from everyone tho. stp digi lkd, whoever

Old Post Oct-25-2004 23:52 
Click Here to See the Profile for Vivid Boy Click here to Send Vivid Boy a Private Message Add Vivid Boy to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Jocker
whatup homie



Registered: Feb 2001
Location: Pittsburgh, PA

quote:
Originally posted by DigiNut

That should be pretty simple, right Del? I know you're a busy guy but I think this is actually a lot more straightforward than it seemed at first.


it's simple to code... i can even tell what the code is (or what i'd write) but when you think that this additional database query will be run each(!) time every(!) user reloads a forumdisplay page, it adds yet another considerable bunch of load on the server.
but then again, ta has the "thread preview" thing, which is, i must say, the biggest rape of servers and waste of bandwidth seen from vb - or any php script for that matter - yet


___________________
writing lyrics aint what it used to be

Old Post Oct-26-2004 03:21  Russia
Click Here to See the Profile for Jocker Click here to Send Jocker a Private Message Add Jocker to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Jocker
whatup homie



Registered: Feb 2001
Location: Pittsburgh, PA

as for flaming the shit out of or banning someone just because somebody else is annoyed by his posts, i think, is rather immature and discriminatory.


___________________
writing lyrics aint what it used to be

Old Post Oct-26-2004 03:26  Russia
Click Here to See the Profile for Jocker Click here to Send Jocker a Private Message Add Jocker to your buddy list Report this Post Reply w/Quote Edit/Delete Message
StereoPrincess
sassy one-piece



Registered: May 2001
Location: SPFRI

quote:
Originally posted by Vivid Boy
ok well this is what we gonna have to do. we as a community have to flame the fuck out of him till he runs away on fire. since im on his ignore list and rod rico is as well we need a team effort. since me and rod are the ones that flame him the hardest and he has us on ignore i say whenever we flame him you people should quote us so he can read it. disguise it too. when u quote us just add a lol so he doesnt think ur quoting on purpose. we need help from everyone tho. stp digi lkd, whoever


dude, we tried that with you but you just got stronger. we have to think, what would get you to leave, and do that.

Old Post Oct-28-2004 14:43  Poland
Click Here to See the Profile for StereoPrincess Click here to Send StereoPrincess a Private Message Add StereoPrincess to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Swamper
Webmonstah



Registered: Jan 2000
Location: Toronto, Canada

quote:
Originally posted by Jocker
it's simple to code... i can even tell what the code is (or what i'd write) but when you think that this additional database query will be run each(!) time every(!) user reloads a forumdisplay page, it adds yet another considerable bunch of load on the server.
but then again, ta has the "thread preview" thing, which is, i must say, the biggest rape of servers and waste of bandwidth seen from vb - or any php script for that matter - yet


Thread Preview (surprisingly) seems intensive but isn't, when you retrieve all the thread info from the thread table there is also a left join on the icon table to obtain icons (if any) for that particular thread (within the same query) - a left join is also done on the post table to obtain the preview text of the first post (whose postid is already within the thread table). In order to handle the ignoring of users I would have to throw the user table into the fray and check that as well - it may slow things down a bit - and - I would try it, but, to handle the 0.0000001% of cases when it would matter - seems pointless to me.


___________________

"In a world of illusion you only see what you feel"

Old Post Oct-28-2004 16:26  Canada
Click Here to See the Profile for Swamper Click here to Send Swamper a Private Message Visit Swamper's homepage! Add Swamper to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > User Feedback > Site Suggestions > Ignore feature.
Post New Thread    Post A Reply

Pages (4): « 1 2 [3] 4 »  
Last Thread   Next Thread
Click here to listen to the sample!Pause playbackUnknown song looking for IDs [2005] [1]

Click here to listen to the sample!Pause playbackInterstate - I Found U [2005]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 01:15.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!