Author Topic: ospap - Alpha1  (Read 27404 times)

0 Members and 1 Guest are viewing this topic.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
ospap - Alpha1
« on: September 14, 2005, 06:46:00 pm »
ospap = Open Source Photo Album Program. 

Well, I have something that works.  I'll let y'all give it a try, if you want. I have a demo site set up:
http://www.javaop.com/~iago/ospap/index.php
Or you can download the source:
http://www.javaop.com/~iago/ospap.tgz

To run it yourself, you need the "imagemagick" program installed (specifically, the 'convert' utility).  Using that was faster and easier than gd, so I'm sticking with it for now.  Plus, gd tended to crash on larger images, and that just wasn't cool!

What I need to do:
- Remember the last category used. - done
- Allow comment posting. - done
- Add a button to promote/demote users to/from admin (this can be done with admin.php?action=promote&user_id=##).
- Let a user mark their images as "private"
- Allow users to delete their own images/categories (or admins delete them)
<edit> - Make default background color of JPEG's not-black.  - don't think it's possible

Any other suggestions would be great!

Also, keep an eye out for XSS or SQL Injection or doing things a dumb way.  This is the first time I ever used PHP, so I might be doing some things wrong. :)

The Demo site doesn't require admin authorization (which will be required in the final version). Do what you want with it, and try to break it.  I'm going to wipe it before I call it done anyways. 


Good luck!
« Last Edit: September 15, 2005, 12:36:49 am by iago »

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: ospap - Alpha1
« Reply #1 on: September 14, 2005, 07:12:59 pm »
Looks neat.

In your directory, what's that glowing thing in your lap? ;)
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: ospap - Alpha1
« Reply #2 on: September 14, 2005, 07:14:58 pm »
There are no pictures of me. 

Read the caption!

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: ospap - Alpha1
« Reply #3 on: September 14, 2005, 07:21:54 pm »
Add line breaks in the error messages. :P

edit:
http://www.javaop.com/~iago/ospap/show_picture.php?picture_id=4#picture

Good work!  :-*
« Last Edit: September 14, 2005, 07:25:13 pm by Blaze »
And like a fool I believed myself, and thought I was somebody else...

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: ospap - Alpha1
« Reply #4 on: September 14, 2005, 07:39:52 pm »
Add line breaks in the error messages. :P

edit:
http://www.javaop.com/~iago/ospap/show_picture.php?picture_id=4#picture

Good work!  :-*

Which error message? 

<edit> New rule: No WoW stuff! ;)

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: ospap - Alpha1
« Reply #5 on: September 14, 2005, 07:42:51 pm »
Which error message? 
Failed Login

<edit> New rule: No WoW stuff! ;)
It was a test... and it worked.
And like a fool I believed myself, and thought I was somebody else...

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: ospap - Alpha1
« Reply #6 on: September 14, 2005, 07:46:17 pm »
Oops, that message was for debugging, it shouldn't have even been there.  I fixed it. 

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: ospap - Alpha1
« Reply #7 on: September 14, 2005, 08:00:22 pm »
There are no pictures of me.

Read the caption!


Haha, should have realized it was wires!
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: ospap - Alpha1
« Reply #8 on: September 14, 2005, 08:12:16 pm »
Once I'm satisified with the whole thing, I'll post some pictures of myself.  Hopefully by early next week. 

Offline Towelie

  • pwnstar
  • x86
  • Hero Member
  • *****
  • Posts: 4873
    • View Profile
Re: ospap - Alpha1
« Reply #9 on: September 14, 2005, 08:54:22 pm »
what about guild wars pictures :-) ???

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: ospap - Alpha1
« Reply #10 on: September 14, 2005, 10:43:39 pm »
I guess I should delete my post that I posted right before I read this.. Lmao!!
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: ospap - Alpha1
« Reply #11 on: September 14, 2005, 11:22:19 pm »
Moor Pictures > ospap

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: ospap - Alpha1
« Reply #12 on: September 14, 2005, 11:35:50 pm »
Add a last updated timestamp on the users sections.
And like a fool I believed myself, and thought I was somebody else...

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: ospap - Alpha1
« Reply #13 on: September 15, 2005, 12:43:29 am »
Add a last updated timestamp on the users sections.

That'll be a little trickier, but for sure!  I'll do that tomorrow. 

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: ospap - Alpha1
« Reply #14 on: September 15, 2005, 09:09:40 pm »