|
Silkroad Online
|
Silkroad Forums
|
Affiliates
|



|
|
View unanswered posts | View active topics
Author |
Message |
Ryoko
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 3:56 pm |
|
Site Owner |
 |
 |
Joined: Dec 2005 Posts: 6390 Location:
|
Gaigemasta wrote: Ryoko wrote: Its 2 days old.
And partly unfinished in regards to admin, styling etc.
But its a pretty hardcore script I might say. did you make the whole php code? or copypasta? From scratch, minus the basic forum frame. As complex as the code gets, the logic driving is quite simple. Get users who qualify Parse the year, months of those users If have an avatar, bring it in using the GD functions Make some X, Y calculations and resize it with GD functs, then Add it to the current image strip Add the user name and info to the text strings New month? New year? Exceeded the strip? Save it, write the HTML and begin a new strip. The rest, formatting , CSS and error handling. Usually when creating something new, I jot down the logic on a notepad, and start breaking it into segments, functions and then finally real code. Followed by debugging, details and formatting. It took a couple evenings, I pulled a 4am-er the first night - the old "just one more thing" syndrome
|
|
Top |
|
 |
XMoshe
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 3:57 pm |
|
Ex-Staff |
 |
 |
Joined: Apr 2006 Posts: 17293 Location: Ghosting around
|
Guardia wrote: 2006. The golden year. Idd  5 years and counting baby.
_________________
Props to chrisorg for the sig <3
|
|
Top |
|
 |
Ryoko
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 4:02 pm |
|
Site Owner |
 |
 |
Joined: Dec 2005 Posts: 6390 Location:
|
Mirosuke wrote: ExSoldier wrote: Freaking nostalgia. I was 12/13 when I joined. Looking back at my old threads with my extremely FOB english and nooby SRO questions  You still the same  lol found myself, yay! August 08'  the cool people, feel like playing a gang game LOL it's a bit buggy/glitch isn't? I see myself on Oct same year. Thank you, I was wondering why secondary rows always seem to have one more user in the tooltip than the number of avatars. At first I thought there was a lot of missing ava's creating holes, but now that you've pointed out its actually repeat, I can see the pattern I wasn't seeing before. I was stumped on this because if an avatar is missing, corrupt or broken its not supposed to include the user alltogether. Its likely that $user_string[] or $imgcount isn't being reset properly when a row is finished.
|
|
Top |
|
 |
Doron
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 4:15 pm |
|
SRF's Princess |
 |
 |
Joined: May 2007 Posts: 8570 Location: I'm at- Ooh something shiny!!
|
May 2007.... **** me that's long. And still here. 
_________________
|
|
Top |
|
 |
CrimsonNuker
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 4:26 pm |
|
Dom's Slut |
 |
 |
Joined: Aug 2006 Posts: 13791 Location:
|
XMoshe wrote: Guardia wrote: 2006. The golden year. Idd  5 years and counting baby. I cry when I think about all the regulars banned 
_________________
|
|
Top |
|
 |
Guardia
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 4:43 pm |
|
Frequent Member |
 |
 |
Joined: Dec 2006 Posts: 1187 Location:
|
Kinda funny when I only have 1k+ posts in 5 years.
_________________
 (Retired) - FTW - Avalon - Azteca - 6X - Battle Bard (Retired) - Guardia - Avalon - Venus - 9X - Battle Bard / Wizz [Guide] Bards Explained
|
|
Top |
|
 |
The Invisible
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 4:53 pm |
|
Addicted Member |
 |
 |
Joined: Jan 2011 Posts: 2626 Location: Home ._.
|
Guardia wrote: Kinda funny when I only have 1k+ posts in 5 years. But you made a nice Wizard / Bard guide 
_________________ So in the first week in college i went with jeans and the pajama's shirt. Didn't notice what i was wearing till after i returned home.
|
|
Top |
|
 |
Majorharper
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 7:06 pm |
|
Site Contributor |
 |
 |
Joined: Apr 2007 Posts: 2079 Location: Looking for my signature....
|
Guardia wrote: Kinda funny when I only have 1k+ posts in 5 years. Same here
_________________
|
|
Top |
|
 |
poehalcho
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 7:39 pm |
|
Elite Member |
 |
 |
Joined: Apr 2007 Posts: 6429 Location: ┌(╬ಠ益ಠ)╯( ̄ー ̄)(ノ◕ヮ◕)ノ:・✧(╯°Д°)╯彡┻━┻ψ(`∇´)ψ(☞゚∀゚)☞¯\_(ツ)_/¯ლ(ಥ益ಥლ)ԅ༼ ◔ڡ◔༽งヽ༼ʘ̚ل͜ʘ̚༽ノᕕ(ᐛ)ᕗ( ͡° ͜ʖ ͡°)
|
I found BlackFox 
_________________
 Day[9] wrote: "Tea is a lot like gold expansions - it helps you kill people." - Day[9] Daily 337 -
|
|
Top |
|
 |
XMoshe
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 8:43 pm |
|
Ex-Staff |
 |
 |
Joined: Apr 2006 Posts: 17293 Location: Ghosting around
|
Guardia wrote: Kinda funny when I only have 1k+ posts in 5 years. No comment =x
_________________
Props to chrisorg for the sig <3
|
|
Top |
|
 |
The Invisible
|
Post subject: Re: Timeline Posted: Thu Jun 16, 2011 8:51 pm |
|
Addicted Member |
 |
 |
Joined: Jan 2011 Posts: 2626 Location: Home ._.
|
XMoshe wrote: Guardia wrote: Kinda funny when I only have 1k+ posts in 5 years. No comment =x Comment : Kinda funny when I have 1k+ posts in only 5 months .
_________________ So in the first week in college i went with jeans and the pajama's shirt. Didn't notice what i was wearing till after i returned home.
|
|
Top |
|
 |
Mirosuke
|
Post subject: Re: Timeline Posted: Fri Jun 17, 2011 10:25 am |
|
Forum Legend |
 |
 |
Joined: Aug 2008 Posts: 6735 Location: Love the way you are.
|
Hey, what about refreshing page every 5 minutes? lol I always SRF on my browser, that script would come in handy, at least for me lol
_________________
( ๏̯͡ ๏ ) ~ Hwang Mi Hee(L)あなた の運命を全うする   
WE WANT [ TORCHLIGHT II], [ TERA ONLINE], [ BLADE& SOUL] AND... [ DIABLO III]. ~* Old Sigs *~[ x][ x][ x][ x]
|
|
Top |
|
 |
Gaigemasta
|
Post subject: Re: Timeline Posted: Fri Jun 17, 2011 3:32 pm |
|
Site Contributor |
 |
 |
Joined: Dec 2006 Posts: 4474 Location:
|
Ryoko wrote: Gaigemasta wrote: Ryoko wrote: Its 2 days old.
And partly unfinished in regards to admin, styling etc.
But its a pretty hardcore script I might say. did you make the whole php code? or copypasta? From scratch, minus the basic forum frame. As complex as the code gets, the logic driving is quite simple. Get users who qualify Parse the year, months of those users If have an avatar, bring it in using the GD functions Make some X, Y calculations and resize it with GD functs, then Add it to the current image strip Add the user name and info to the text strings New month? New year? Exceeded the strip? Save it, write the HTML and begin a new strip. The rest, formatting , CSS and error handling. Usually when creating something new, I jot down the logic on a notepad, and start breaking it into segments, functions and then finally real code. Followed by debugging, details and formatting. It took a couple evenings, I pulled a 4am-er the first night - the old "just one more thing" syndrome very nice! you should show us the algorithm for how people qualify not to be listed (of course not the code)
_________________
|
|
Top |
|
 |
woutR
|
Post subject: Re: Timeline Posted: Fri Jun 17, 2011 3:38 pm |
|
Elite Member |
 |
 |
Joined: Feb 2006 Posts: 5573 Location: Netherlands
|
Doron wrote: May 2007.... **** me that's long. And still here.  yes but through your constant reinventions of yourself into multiple gay persona's you always seem like a newcomer to me
_________________

<< >>
|
|
Top |
|
 |
Swindler
|
Post subject: Re: Timeline Posted: Fri Jun 17, 2011 3:39 pm |
|
Forum God |
 |
 |
Joined: Apr 2007 Posts: 11256 Location: Pimpas Paradise.
|
woutR wrote: Doron wrote: May 2007.... **** me that's long. And still here.  yes but through your constant reinventions of yourself into multiple gay persona's you always seem like a newcomer to me lmao! It's funny because it's true.
|
|
Top |
|
 |
Panu
|
Post subject: Re: Timeline Posted: Fri Jun 17, 2011 3:57 pm |
|
Veteran Member |
 |
 |
Joined: Aug 2007 Posts: 3536 Location: Around
|
This is pretty cool, can't believe how fast time flew. 
_________________
|
|
Top |
|
 |
Vaya
|
Post subject: Re: Timeline Posted: Fri Jun 17, 2011 4:04 pm |
|
Loyal Member |
 |
 |
Joined: May 2009 Posts: 1848 Location:
|
I'm the only one in my month :3
_________________
Hi
|
|
Top |
|
 |
Ryoko
|
Post subject: Re: Timeline Posted: Fri Jun 17, 2011 4:14 pm |
|
Site Owner |
 |
 |
Joined: Dec 2005 Posts: 6390 Location:
|
Gaigemasta wrote: very nice!
you should show us the algorithm for how people qualify not to be listed (of course not the code) Originally it was // $sql = "SELECT username, user_id, user_regdate, user_avatar, user_avatar_type, user_avatar_width, user_avatar_height,user_posts FROM users WHERE user_posts > 600 AND user_avatar <> '' AND user_id NOT IN (SELECT ban_userid FROM banlist) ORDER BY user_regdate ASC"; But after some thought, I decided it wasn't really proper to "pretend" banned people never existed or contributed to SRF at some point.
|
|
Top |
|
 |
Vaya
|
Post subject: Re: Timeline Posted: Fri Jun 17, 2011 4:23 pm |
|
Loyal Member |
 |
 |
Joined: May 2009 Posts: 1848 Location:
|
Ryoko wrote: Gaigemasta wrote: very nice!
you should show us the algorithm for how people qualify not to be listed (of course not the code) Originally it was // $sql = "SELECT username, user_id, user_regdate, user_avatar, user_avatar_type, user_avatar_width, user_avatar_height,user_posts FROM users WHERE user_posts > 600 AND user_avatar <> '' AND user_id NOT IN (SELECT ban_userid FROM banlist) ORDER BY user_regdate ASC"; But after some thought, I decided it wasn't really proper to "pretend" banned people never existed or contributed to SRF at some point. looks more simple than C.
_________________
Hi
|
|
Top |
|
 |
[SD]Twysta
|
Post subject: Re: Timeline Posted: Fri Jun 17, 2011 8:32 pm |
|
Senior Member |
 |
 |
Joined: Jan 2007 Posts: 4478 Location: Hollandia
|
@ K.K. So people say.
I can read C/C++ faster than any other language I see.
**** knows why, I just can.
_________________

HejsaN wrote: cpinney wrote: download more ram. Where? Did not find any on google. 
|
|
Top |
|
 |
William-CL
|
Post subject: Re: Timeline Posted: Sat Jun 18, 2011 4:55 am |
|
Forum Legend |
 |
 |
Joined: Feb 2007 Posts: 7363 Location: N/A
|
K.K wrote: looks more simple than C. It is. It's just php/mysql which is pretty easy stuff compared to C/C++. I learned this just by looking at pre-written code for a website template I was using.
_________________
|
|
Top |
|
 |
/Pi
|
Post subject: Re: Timeline Posted: Sat Jun 18, 2011 8:35 pm |
|
Senior Member |
 |
 |
Joined: May 2007 Posts: 4592 Location:
|
4 Years! When do I get to graduate?
|
|
Top |
|
 |
Skyve
|
Post subject: Re: Timeline Posted: Sun Jun 19, 2011 7:04 am |
|
Forum Legend |
 |
 |
Joined: Apr 2006 Posts: 7328 Location: Canada
|
Avatar didn't update good sir. I mad  .
_________________
ExSoldier/Skyve/Loki
what is life even
|
|
Top |
|
 |
Fury
|
Post subject: Re: Timeline Posted: Sun Jun 19, 2011 7:58 am |
|
Loyal Member |
 |
 |
Joined: Jan 2008 Posts: 1596 Location:
|
Been here 3 and a half years....decent effort.
_________________
|
|
Top |
|
 |
*BlackFox
|
Post subject: Re: Timeline Posted: Sun Jun 19, 2011 9:01 am |
|
Forum Legend |
 |
 |
Joined: Sep 2008 Posts: 7923 Location:
|
ExSoldier wrote: Avatar didn't update good sir. I mad  . No worries, that's not a biggie and can be easily fixed.. xD Well, I think so anyway! lulz
_________________
|
|
Top |
|
 |
Squirt
|
Post subject: Re: Timeline Posted: Sun Jun 19, 2011 1:17 pm |
|
Forum God |
 |
 |
Joined: Jan 2008 Posts: 8186 Location:
|
Wow I was I was 14 when I joined, now i'm 17.... I hope this forum never closes.
_________________

woutR wrote: Squirt, you're a genius when it comes to raping women.
|
|
Top |
|
 |
ltsune
|
Post subject: Re: Timeline Posted: Sun Jun 19, 2011 2:46 pm |
|
Elite Member |
 |
 |
Joined: Mar 2008 Posts: 5751 Location:
|
Squirt wrote: Wow I was I was 14 when I joined, now i'm 17.... I hope this forum never closes. +1 Found myself on the list - yay But seriously, if the forum ever gets in to problems with the server renting etc. I'm sure there are plenty of people who would donate to keep it up 
_________________ Dubious ・ Lvl 101 ・ STR Archer ・ jSRO-R ・ active PillowFight ・ Lvl 69 ・ STR Archer ・ jSRO-R ・ inactive Aggrobatic ・ Lvl 101 ・ Warrior / Cleric ・ jSRO-R ・ inactive
Check out our music-video! http://www.youtube.com/watch?v=iMxZWMWRjSM I'm on the drums, beaches!
|
|
Top |
|
 |
maxietheboss
|
Post subject: Re: Timeline Posted: Sun Jun 19, 2011 6:37 pm |
|
Frequent Member |
 |
 |
Joined: Jun 2006 Posts: 1236 Location:
|
Wow it's been 5 years already.
_________________
|
|
Top |
|
 |
Skyve
|
Post subject: Re: Timeline Posted: Sun Jun 19, 2011 10:40 pm |
|
Forum Legend |
 |
 |
Joined: Apr 2006 Posts: 7328 Location: Canada
|
Even if most of us don't play Silkroad anymore, changing the name of the forums would feel wrong. SRF just sounds... nice?
Na'mean?
_________________
ExSoldier/Skyve/Loki
what is life even
|
|
Top |
|
 |
Doron
|
Post subject: Re: Timeline Posted: Sun Jun 19, 2011 11:35 pm |
|
SRF's Princess |
 |
 |
Joined: May 2007 Posts: 8570 Location: I'm at- Ooh something shiny!!
|
didn't we all come here for SRO help in the first place?
_________________
|
|
Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 11 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|