User Tag List

Page 1 of 2 12 LastLast
Results 1 to 20 of 25

Thread: Gouranga's Flickr sig generator

  1. #1
    Super Moderator Gouranga's Avatar
    Entense Supporter
    Join Date
    Nov 2002
    Location
    somewhere between realms
    Age
    33
    Posts
    12,674
    Points
    637 (0 Banked)

    Gouranga's Flickr sig generator

    This is something i've been working on in my spare time. It's by no means a great piece of work, i think i adhere to 4 different coding standards throughout, but meh, it works.

    My sig automatically grabs the most recently uploaded pictures to my flickr pool. Flickr provides something like this, but it requires javascript, which doesn't work too great in ubb.

    USAGE:
    You can use the one on my server. Use it like this to get the 3rd image in your photostream:
    [.img]http://keegosoft.org/flickr/show.php/num=3;username=keegstr[/img]

    and change username to your flickr username.

    [.img]http://keegosoft.org/flickr/show.php/random=1;username=keegstr[/img]

    This will select a random image from your photostream. If you only want a random image from your 10 most recent uploads, change num=1 to num=10. You can put any positive number in for num.

    If you want to put it on your own server
    here's the link to the source: http://keegosoft.org/flickr/show.php.txt

    save that on your webserver, rename to show.php, and read the big comment block at the top. It requires multiviews (feel free to edit the script to use another method).

    Once you get everything set up, you should be able to add images to your sig like this:

    [.img]http://mysite.com/show.php/num=1;username=keegstr[/img]
    [.img]http://mysite.com/show.php/num=2;username=keegstr[/img]
    [.img]http://mysite.com/show.php/num=3;username=keegstr[/img]



    let me know if you have any questions or suggestions.


    And if you don't mind, please put a link to this thread in the bottom of your sig, like this:

    [.url=http://forums.entensity.net/showthread.php?s=&threadid=331359]Gouranga's flickr sig generator[/url]

  2. #2
    I have lots of Seniority kndguy's Avatar
    Join Date
    Feb 2006
    Location
    ⎝⏠⏝⏠⎠ l̴͍͍͙̺̞ͫ̍̔̍ͩͮͯ̽̿ͩ͒̇̒̓̓̍ŏ̾ͮ͊͛ͫͪ̓̈́̇͏̛̀&#
    Age
    29
    Posts
    20,941
    Points
    1,822 (0 Banked)
    cool thing man

    wish I had the website to host the php on, but whatever
    1RM Calc. Never ever have doubt.

    In the sweat of thy face shalt thou eat bread, till thou return unto the ground; for out of it wast thou taken: for dust thou art, and unto dust shalt thou return.

  3. #3
    I'm a post-aholic The Anti's Avatar
    Join Date
    Jan 2005
    Location
    New York
    Age
    29
    Posts
    13,907
    Points
    0 (22,445 Banked)
    Cool, I'm gonna check this out at lunch!

  4. #4
    Super Moderator Gouranga's Avatar
    Entense Supporter
    Join Date
    Nov 2002
    Location
    somewhere between realms
    Age
    33
    Posts
    12,674
    Points
    637 (0 Banked)
    ok, im going to update the script to allow for anyone to use mine if they want. gimme a few.

  5. #5
    I have lots of Seniority ArcAngel9's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, Pennsylvania
    Age
    28
    Posts
    28,186
    Points
    86 (101,063 Banked)
    Very cool. I might check this out later.

    My Flickr EF First Name Crew

  6. #6
    Super Moderator Gouranga's Avatar
    Entense Supporter
    Join Date
    Nov 2002
    Location
    somewhere between realms
    Age
    33
    Posts
    12,674
    Points
    637 (0 Banked)
    update, i fixed it. Anyone can now use the script on my website. use it like this:

    [.img]http://keegosoft.org/flickr/show.php/num=1;username=keegstr[/img]

    Just pass in your username. No need to put it on your host, unless you want to.

  7. #7
    I have lots of Seniority LOSER MIKE's Avatar
    Join Date
    Nov 2002
    Location
    └A
    Age
    30
    Posts
    36,567
    Points
    245 (0 Banked)
    teestt

    pretty cool man. thanks.

  8. #8
    I have lots of Seniority spigel's Avatar
    Entense Supporter
    Join Date
    Jan 2005
    Location
    here
    Age
    31
    Posts
    60,554
    Points
    271 (219,854 Banked)
    goin to check this out for a while, thanks nice boy.

    btw, found a little bug, if you can call it that. Vertical images are over the size limit.

    ie:

    RIP Алексей Черепанов

  9. #9
    Super Moderator Gouranga's Avatar
    Entense Supporter
    Join Date
    Nov 2002
    Location
    somewhere between realms
    Age
    33
    Posts
    12,674
    Points
    637 (0 Banked)
    hmm. not sure how to address that. I could go as far as scripting it to resize to a locally cached copy on my server if it's a vertical image. Other than that im not sure what to do. :-/

  10. #10
    I have lots of Seniority spigel's Avatar
    Entense Supporter
    Join Date
    Jan 2005
    Location
    here
    Age
    31
    Posts
    60,554
    Points
    271 (219,854 Banked)
    eh its no biggie anyway. I solved the problem.

    RIP Алексей Черепанов

  11. #11
    I have lots of Seniority mikerzt's Avatar
    Join Date
    Jan 2005
    Location
    new pork
    Age
    30
    Posts
    27,182
    Points
    118 (0 Banked)
    oh this is cool....ill give it a try later

  12. #12
    Grand-High Mod LiquidRetro's Avatar
    Join Date
    Feb 2003
    Location
    Nebraska
    Posts
    12,346
    Points
    263 (0 Banked)
    This is a great idea. I will try it out later tonight.

    How about a mode that randomly pulls images from your flickr so your sig changes every time.


  13. #13
    Super Moderator Gouranga's Avatar
    Entense Supporter
    Join Date
    Nov 2002
    Location
    somewhere between realms
    Age
    33
    Posts
    12,674
    Points
    637 (0 Banked)
    Originally posted by Jmiller
    How about a mode that randomly pulls images from your flickr so your sig changes every time.
    Done.

    Usage:

    This will select a random picture from your photostream:
    [.img]http://keegosoft.org/flickr/show.php/random=1;username=keegstr[./img]

    This will select a random picture from your 13 most recent uploads:
    [.img]http://keegosoft.org/flickr/show.php/random=13;username=keegstr[./img]

  14. #14
    Grand-High Mod LiquidRetro's Avatar
    Join Date
    Feb 2003
    Location
    Nebraska
    Posts
    12,346
    Points
    263 (0 Banked)
    Thanks for adding the random feature. I got it working.


  15. #15
    BANNED forkisfaster's Avatar
    Join Date
    Jul 2003
    Location
    Park City, Utah
    Posts
    8,419
    Points
    0 (0 Banked)


    this is sick!

  16. #16
    Super Moderator Gouranga's Avatar
    Entense Supporter
    Join Date
    Nov 2002
    Location
    somewhere between realms
    Age
    33
    Posts
    12,674
    Points
    637 (0 Banked)
    Originally posted by Jmiller
    Thanks for adding the random feature. I got it working.
    no problem. this was a really fun and easy project to work on...if you have more suggestions, please let me know

    Originally posted by forkisfaster
    [imsg]http://keegosoft.org/flickr/show.php/num=233;username=forkisfaster[/img]

    this is sick!

  17. #17
    Grand-High Mod LiquidRetro's Avatar
    Join Date
    Feb 2003
    Location
    Nebraska
    Posts
    12,346
    Points
    263 (0 Banked)
    Buddy We got problems, the sig Nazi patrol is out in force and your generator is not compatible with the Nazi rules http://forums.entensity.net/showthre...74#post5484274


  18. #18
    Super Moderator Gouranga's Avatar
    Entense Supporter
    Join Date
    Nov 2002
    Location
    somewhere between realms
    Age
    33
    Posts
    12,674
    Points
    637 (0 Banked)
    this is a problem that was mentioned a while ago. I'm not sure how to fix it, since my code doesn't get image properties or anything like that. I suppose i can change it to only get thumbnails....or i can modify the rules. heh.

  19. #19
    mod abuse 24/7 Dr. Fangs404's Avatar
    Join Date
    Jun 2003
    Location
    Los Alamos, NM
    Age
    32
    Posts
    23,780
    Points
    950,301 (0 Banked)
    I moved this thread to graphic because it'll get more attention, and you deserve it.

  20. #20
    Wanta-be MOD Soma's Avatar
    Entense Supporter
    Join Date
    Apr 2009
    Location
    Troy, Mi
    Age
    26
    Posts
    1,837
    Points
    120 (1,736,740 Banked)
    I've been tryin' to get to this thread before it was moved here lol. . . Damn post count >.<. Cool idea man, I'll probably end up using this eventually. Thanks in advance!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •