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.
Rated Screenshots Update I
- [SD]bizzle
- Frequent Member
- Posts: 1317
- Joined: Thu Jan 05, 2006 9:49 pm
- Quick Reply: Yes
- Location: Aion
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
something like that
<<banned from SRF for disrespect of the mod team and rules violations. -SG>>
- Ryoko
- Site Owner
- Posts: 6390
- Joined: Fri Dec 30, 2005 8:32 pm
- Quick Reply: Yes
- Location: Off Topic
- Contact:
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.
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.
- Ryoko
- Site Owner
- Posts: 6390
- Joined: Fri Dec 30, 2005 8:32 pm
- Quick Reply: Yes
- Location: Off Topic
- Contact:
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.
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.