|
Silkroad Online
|
Silkroad Forums
|
Affiliates
|



|
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 9 posts ] |
|
Author |
Message |
Ryoko
|
Post subject: Rated Screenshots Update I Posted: Thu Jan 19, 2006 6:24 am |
|
Site Owner |
 |
 |
Joined: Dec 2005 Posts: 6390 Location:
|
Started the script for rated screenshots.
Its very hard.
Because I have to do it in ALL phbb template style. Not typical PHP.
Got the bulk of it done. All MySQL queries, tables and data entry.
It automatically resizes the screens, stamps them with our website using a true type font, and makes thumbnails.
Suprisingly, its main engine is only approx 400 lines of code.
Good thing, phpbb handles all the user access levels and query routines. Saved some time not coding that...lost time learning how it worked.
Now I have a billion PHPBB templates to code. That will take some time. I cannot test run the engine without them. So I don't know if it works yet.
Sigh.
I wont be around tomorrow.
I have MMA/GnP from 6 till 8, then kickboxing from 8 till 10.
|
|
Top |
|
 |
[SD]bizzle
|
Post subject: Posted: Thu Jan 19, 2006 9:09 am |
|
Frequent Member |
 |
 |
Joined: Jan 2006 Posts: 1317 Location: Aion
|
well it's allright we can wait, coding looking real hard so i guess u need time to do it properly.
_________________ << banned for letting a banned member use this account. -cin >>
|
|
Top |
|
 |
Ziggy
|
Post subject: Posted: Thu Jan 19, 2006 9:11 am |
|
Active Member |
 |
 |
Joined: Jan 2006 Posts: 983 Location:
|
Muahaha!
Dont include the official sro shots because they are rigged.
How will the system go about taking shots from players?
_________________
All your paintshop are belong to nightbloom.
TheEMPIRE ftw
|
|
Top |
|
 |
Demarthl
|
Post subject: Posted: Thu Jan 19, 2006 9:31 am |
|
Advanced Member |
 |
 |
Joined: Jan 2006 Posts: 2296
|
I'm guessing an annual submission, say, once a week, and each screeny gets voted on, highest voted gets shown on day 1 etc blah blah blah yadda yadda i shouldnt speka this early in the morning, yeah i know ^^
something like that
_________________ <<banned from SRF for disrespect of the mod team and rules violations. -SG>>
|
|
Top |
|
 |
Ryoko
|
Post subject: Posted: Thu Jan 19, 2006 1:48 pm |
|
Site Owner |
 |
 |
Joined: Dec 2005 Posts: 6390 Location:
|
As it is now, anyone registered can submit a screenshot via file upload box.
The script resizes it appropriately (full size max 700 wide, thumb size max 100 tall) and stamps it "silkroadforums.com".
Image saved into directory.
Screenshots are not displayed until a mod/admin approves them.
The index screen picks a random SS each time, you can click it to view it, and vote if your logged in.
You can browse screenshots too.
Screenshots all start at a 5. Then rating = all votes / total votes +1.
Mods / admin can delete to clean house.
|
|
Top |
|
 |
Ziggy
|
Post subject: Posted: Thu Jan 19, 2006 2:10 pm |
|
Active Member |
 |
 |
Joined: Jan 2006 Posts: 983 Location:
|
Man this is gonna rock >_<
What sort of absolute champion came up with this?

_________________
All your paintshop are belong to nightbloom.
TheEMPIRE ftw
|
|
Top |
|
 |
Ryoko
|
Post subject: Posted: Fri Jan 20, 2006 4:15 pm |
|
Site Owner |
 |
 |
Joined: Dec 2005 Posts: 6390 Location:
|
ARGH!
Say we had 40 screenshots.
And you wanna browse. 15 per page.
There gonna be in rows of 3
So I have to build a giant double array and pass it to the template - because thats the only way to get information into a phpbb template.
Row, and screen data.
Then in the template, I gotta use BEGIN comments to begin a double nested loop
Row, and screen data.
This is gonna be insane. But you might just love the result.
More random thoughts later.
|
|
Top |
|
 |
Ziggy
|
Post subject: Posted: Sat Jan 21, 2006 12:05 am |
|
Active Member |
 |
 |
Joined: Jan 2006 Posts: 983 Location:
|
I would have gave up long before that point fo kudos to you for sticking with it.
Shows how much you  us. :")
_________________
All your paintshop are belong to nightbloom.
TheEMPIRE ftw
|
|
Top |
|
 |
Ryoko
|
Post subject: Posted: Sat Jan 21, 2006 1:06 am |
|
Site Owner |
 |
 |
Joined: Dec 2005 Posts: 6390 Location:
|
Something like rated screenshots, and chat, give me a slight edge over my competitors.
And yes, I  you.
|
|
Top |
|
 |
|
Page 1 of 1
|
[ 9 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 16 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
|
|