| TFN Social | |
| The Recent Posts List really need to be changed. | |
| Board List | Topic List | Log In | Help | |
| Link Dude | Posted: 2/12/2009 5:47:31 PM UTC | Message Detail | Filter | Author Profile | # 001 |
| Level: 7 Provisional | It should put up the top 10 topics recently posted in, as it is not it's a load of crap. --- http://www.thebrink.us/boards/index.php Join the Brink today! |
| Kenri of the Yuri | Posted: 2/12/2009 11:32:29 PM UTC | Message Detail | Filter | Author Profile | # 002 |
| Level: 43 Editor | If you're gonna make it like that, might as well limit it to only 2 topics. Saves space. --- "I'm not perverted! I'm just immensely fascinated!" ~Lisa Yadomaru, Bleach "Speed is... weight. Have you ever been kicked at the speed of light?" ~Admiral Kizaru, One Piece "There's a pony in the shop, but don't buy it. It might do something unfortunate to you." ~from the first Summoner's Seal topic |
| Ogordemir99 | Posted: 2/13/2009 12:30:07 AM UTC | Message Detail | Filter | Author Profile | # 003 |
| Level: 49 Liberal Arts Major | The intelligent thing to do would be to simply remove duplicate topics from the list (which is, really, what you mean). Unfortunately if I remember the code correctly it's also the hard thing to do. ___ ~ Ogordemir ~ "The sciences have hitherto harmed us little; but some day the piecing together of dissociated knowledge will open up such terrifying vistas of reality that we shall either go mad from the revelation or flee from the light into the peace and safety of a new dark age." ~ H.P Lovecraft, The Call of Cthulhu |
| Tengu Ghost | Posted: 2/13/2009 12:40:49 AM UTC | Message Detail | Filter | Author Profile | # 004 |
| Level: 37 Advanced | The simple an lazy thing to do would be to just leave it be an not bother with it. --- This space for rent!!!!!!!! |
| Kodan | Posted: 2/13/2009 12:47:29 AM UTC | Message Detail | Filter | Author Profile | # 005 |
| Level: 49 Liberal Arts Major | Who the fuck are you and why should we care what the fuck you think? <-> Violence is like duct tape; it fixes everything. Currently playing: C&C Red Alert, Fallout 3. Recently completed games: Fallout 3, Tales of Vesperia. |
| The Tiger | Posted: 2/13/2009 6:09:08 AM UTC | Message Detail | Filter | Author Profile | # 006 |
| Level: 49 Liberal Arts Major | I believe that's either Nick or Nick's friend. Also, it's not too hard - I wrote the code that will do this that I used for the lexicon 'recent edits'. I'll send that over next week when I'm done with this pile of bullshit they call biology. --- Alestra77: you seem to have glossed over the fact that you treat all women like prostitutes Alestra77: "k, so, I bought you coffee... when do I get my handjob?" Goddammit, I hate you so much. ~ Kenri to me (3 times) Alestra77: who the fuck is porky |
| Link Dude | Posted: 2/14/2009 1:32:55 AM UTC | Message Detail | Filter | Author Profile | # 007 |
| Level: 7 Provisional | Not Nick or Nick's friend, just an old but usually inactive user. And cool Tiger. --- http://www.thebrink.us/boards/index.php Join the Brink today! |
| The Tiger | Posted: 2/14/2009 4:30:28 AM UTC | Message Detail | Filter | Author Profile | # 008 |
| Level: 49 Liberal Arts Major | Ah. Wasn't Nick running the Brink? Or was it something else? Also, that place has more traffic than TFN. TFN now officially fails at life too. --- Alestra77: you seem to have glossed over the fact that you treat all women like prostitutes Alestra77: "k, so, I bought you coffee... when do I get my handjob?" Goddammit, I hate you so much. ~ Kenri to me (3 times) Alestra77: who the fuck is porky |
| Ogordemir99 | Posted: 2/14/2009 7:18:06 AM UTC | Message Detail | Filter | Author Profile | # 009 |
| Level: 49 Liberal Arts Major | Also, it's not too hard - I wrote the code that will do this that I used for the lexicon 'recent edits'. I'll send that over next week when I'm done with this pile of bullshit they call biology. I don't think this is the same code. You have to filter within the query itself, otherwise you're going to end up with an arbitrary number of recent posts <= the maximum as opposed to the maximum itself. And the query, if I remember the table correctly, is significantly more complicated than anything in the lexicon. TFN now officially fails at life too. wut @ bold ___ ~ Ogordemir ~ "The sciences have hitherto harmed us little; but some day the piecing together of dissociated knowledge will open up such terrifying vistas of reality that we shall either go mad from the revelation or flee from the light into the peace and safety of a new dark age." ~ H.P Lovecraft, The Call of Cthulhu |
| The Tiger | Posted: 2/14/2009 6:09:38 PM UTC | Message Detail | Filter | Author Profile | # 010 |
| Level: 49 Liberal Arts Major | a = query(get all posts ordered by date desc) b = array total = number of recent posts that you want count = 0 while(c = fetchShitFrom(a)){ if(count != total){ if(c is not in b){ add c to b print out c count++ } else break; } --- Alestra77: you seem to have glossed over the fact that you treat all women like prostitutes Alestra77: "k, so, I bought you coffee... when do I get my handjob?" Goddammit, I hate you so much. ~ Kenri to me (3 times) Alestra77: who the fuck is porky Message last edited by The Tiger on 2/14/2009 at 01:11:52 PM |
| Ogordemir99 | Posted: 2/14/2009 8:20:21 PM UTC | Message Detail | Filter | Author Profile | # 011 |
| Level: 49 Liberal Arts Major | total = number of recent posts that you want Fuck, now I look like a retard. =( ___ ~ Ogordemir ~ "The sciences have hitherto harmed us little; but some day the piecing together of dissociated knowledge will open up such terrifying vistas of reality that we shall either go mad from the revelation or flee from the light into the peace and safety of a new dark age." ~ H.P Lovecraft, The Call of Cthulhu |
| Ogordemir99 | Posted: 2/14/2009 8:21:02 PM UTC | Message Detail | Filter | Author Profile | # 012 |
| Level: 49 Liberal Arts Major | I mean, more than I usually do. ___ ~ Ogordemir ~ "The sciences have hitherto harmed us little; but some day the piecing together of dissociated knowledge will open up such terrifying vistas of reality that we shall either go mad from the revelation or flee from the light into the peace and safety of a new dark age." ~ H.P Lovecraft, The Call of Cthulhu |
| Link Dude | Posted: 2/26/2009 6:25:32 PM UTC | Message Detail | Filter | Author Profile | # 013 |
| Level: 7 Provisional | I was about to say... --- http://www.thebrink.us/boards/index.php Join the Brink today! |
There are no users currently viewing this topic. | |
| Board List | Topic List |