Rated Screenshots Update I

Anything related to Silkroad Online Forums. Report problems and bugs, or ask questions. Discuss latest features and additions.
Post Reply
User avatar
Ryoko
Site Owner
Posts: 6390
Joined: Fri Dec 30, 2005 8:32 pm
Quick Reply: Yes
Location: Off Topic
Contact:

Rated Screenshots Update I

Post by Ryoko »

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.

User avatar
[SD]bizzle
Frequent Member
Posts: 1317
Joined: Thu Jan 05, 2006 9:49 pm
Quick Reply: Yes
Location: Aion

Post by [SD]bizzle »

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 >>

User avatar
Ziggy
Active Member
Posts: 983
Joined: Tue Jan 10, 2006 10:33 pm
Quick Reply: Yes
Location: Venus

Post by Ziggy »

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

User avatar
Demarthl
Advanced Member
Posts: 2296
Joined: Mon Jan 02, 2006 8:33 pm

Post by Demarthl »

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>>

User avatar
Ryoko
Site Owner
Posts: 6390
Joined: Fri Dec 30, 2005 8:32 pm
Quick Reply: Yes
Location: Off Topic
Contact:

Post by Ryoko »

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.

User avatar
Ziggy
Active Member
Posts: 983
Joined: Tue Jan 10, 2006 10:33 pm
Quick Reply: Yes
Location: Venus

Post by Ziggy »

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

User avatar
Ryoko
Site Owner
Posts: 6390
Joined: Fri Dec 30, 2005 8:32 pm
Quick Reply: Yes
Location: Off Topic
Contact:

Post by Ryoko »

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.

User avatar
Ziggy
Active Member
Posts: 983
Joined: Tue Jan 10, 2006 10:33 pm
Quick Reply: Yes
Location: Venus

Post by Ziggy »

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

User avatar
Ryoko
Site Owner
Posts: 6390
Joined: Fri Dec 30, 2005 8:32 pm
Quick Reply: Yes
Location: Off Topic
Contact:

Post by Ryoko »

Something like rated screenshots, and chat, give me a slight edge over my competitors.

And yes, I :love: you.

Post Reply

Return to “Site Discussion”