Silkroad Online Forums

A community forum for the free online game Silkroad Online. Discuss Silkroad Online, read up on guides, and build your character and skills.

Faq Search Members Chat  Register Profile Login

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Rated Screenshots Update I
PostPosted: Thu Jan 19, 2006 6:24 am 
Site Owner
User avatar
Offline

Joined: Dec 2005
Posts: 6390
Location:
Off Topic
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
 Profile  
 
 Post subject:
PostPosted: Thu Jan 19, 2006 9:09 am 
Frequent Member
User avatar
Offline

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
 Profile  
 
 Post subject:
PostPosted: Thu Jan 19, 2006 9:11 am 
Active Member
User avatar
Offline

Joined: Jan 2006
Posts: 983
Location:
Venus
Muahaha!
Dont include the official sro shots because they are rigged.
How will the system go about taking shots from players?

_________________
Image
All your paintshop are belong to nightbloom.
TheEMPIRE ftw


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 19, 2006 9:31 am 
Advanced Member
User avatar
Offline

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
 Profile  
 
 Post subject:
PostPosted: Thu Jan 19, 2006 1:48 pm 
Site Owner
User avatar
Offline

Joined: Dec 2005
Posts: 6390
Location:
Off Topic
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
 Profile  
 
 Post subject:
PostPosted: Thu Jan 19, 2006 2:10 pm 
Active Member
User avatar
Offline

Joined: Jan 2006
Posts: 983
Location:
Venus
Man this is gonna rock >_<

What sort of absolute champion came up with this?


:P

_________________
Image
All your paintshop are belong to nightbloom.
TheEMPIRE ftw


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 20, 2006 4:15 pm 
Site Owner
User avatar
Offline

Joined: Dec 2005
Posts: 6390
Location:
Off Topic
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
 Profile  
 
 Post subject:
PostPosted: Sat Jan 21, 2006 12:05 am 
Active Member
User avatar
Offline

Joined: Jan 2006
Posts: 983
Location:
Venus
I would have gave up long before that point fo kudos to you for sticking with it.

Shows how much you :love: us. :")

_________________
Image
All your paintshop are belong to nightbloom.
TheEMPIRE ftw


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 21, 2006 1:06 am 
Site Owner
User avatar
Offline

Joined: Dec 2005
Posts: 6390
Location:
Off Topic
Something like rated screenshots, and chat, give me a slight edge over my competitors.

And yes, I :love: you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group