+ Reply to Thread
Page 2 of 8 FirstFirst 123456 ... LastLast
Results 11 to 20 of 71
CASAA | IT & Technical in Campaigning; Hmm... I could probably whip something up. Would it be bad if it required apache, php5+, gd, and mod_rewrite?...
  1. #11
    Full Member
    Join Date
    Sep 2009
    Location
    Tampa, FL
    Posts
    100

    Default

    Hmm... I could probably whip something up.

    Would it be bad if it required apache, php5+, gd, and mod_rewrite?

  2. Advertisement
  3. #12
    Forum Supplier
    CASAA Moderator
    ECF Veteran Webby's Avatar
    Join Date
    Mar 2009
    Location
    USA
    Posts
    797

    Default

    Quote Originally Posted by Þornbjörg View Post
    Hmm... I could probably whip something up.

    Would it be bad if it required apache, php5+, gd, and mod_rewrite?
    ROFL - send me the source and I'll have my guys make a Dos 4.0 version - just in case
    Michal "Webby" Douglas - Proud User|Supplier|Advocate
    Support CASAA| The E-Cigarette Users & Suppliers Group
    The Consumer Advocates for Smoke-Free Alternatives Association

  4. #13
    Forum Supplier
    CASAA Moderator
    ECF Veteran Webby's Avatar
    Join Date
    Mar 2009
    Location
    USA
    Posts
    797

    Default CASAA | IT & Technical

    This thread is for IT Issues and Technical discussions regarding public/internal tools and the infrastructure for CASAA. Please restrict it to suggesting efforts for CASAA as an organization to focus on as a group.
    Michal "Webby" Douglas - Proud User|Supplier|Advocate
    Support CASAA| The E-Cigarette Users & Suppliers Group
    The Consumer Advocates for Smoke-Free Alternatives Association

  5. #14
    Senior Member ECF Veteran
    Join Date
    Sep 2009
    Location
    Baltimore County, MD
    Posts
    207

    Default Well if it is a standard *AMP Stack...

    Quote Originally Posted by Þornbjörg View Post
    Hmm... I could probably whip something up.

    Would it be bad if it required apache, php5+, gd, and mod_rewrite?
    ...what else ya gonna use, man?

    -K

  6. #15
    Senior Member ECF Veteran
    Join Date
    Sep 2009
    Location
    Roan Mountain, TN
    Posts
    259

    Default

    Quote Originally Posted by MrKai View Post
    ...what else ya gonna use, man?

    -K
    peeks and pokes... duh

  7. #16
    Full Member
    Join Date
    Sep 2009
    Location
    Tampa, FL
    Posts
    100

    Default

    Well, here was my thought... I'll write the code tomorrow.

    Have the 'generator' take their start date, cost per cigarette, cost per equivalent in ecigarettes, and startup price and generate a link such as:
    domain.tld/signature/MTI1NDYyMTYwMC0wLjI3NS0wLjAwMjUtNjU=.png

    Now, take mod_rewrite and rewrite that url to:
    domain.tld/signature/generate.php?v=MTI1NDYyMTYwMC0wLjI3NS0wLjAwMjUtNjU =

    Once you have that, if you can't tell, it's a base64_encoded string.. decoding it should give you the string 1254621600-0.275-0.0025-65

    Now, match against it to set your variables up, and generate the image.

    This would save needing to make a bunch of png files (which are really just php files with a custom file handler) to generate the signatures.

    Make sense?

    Like I said, I'll write something tomorrow, complete with graphics.

  8. #17
    Forum Supplier
    CASAA Moderator
    ECF Veteran Webby's Avatar
    Join Date
    Mar 2009
    Location
    USA
    Posts
    797

    Default

    Quote Originally Posted by Þornbjörg View Post
    Well, here was my thought... I'll write the code tomorrow.

    Have the 'generator' take their start date, cost per cigarette, cost per equivalent in ecigarettes, and startup price and generate a link such as:
    domain.tld/signature/MTI1NDYyMTYwMC0wLjI3NS0wLjAwMjUtNjU=.png

    Now, take mod_rewrite and rewrite that url to:
    domain.tld/signature/generate.php?v=MTI1NDYyMTYwMC0wLjI3NS0wLjAwMjUtNjU =

    Once you have that, if you can't tell, it's a base64_encoded string.. decoding it should give you the string 1254621600-0.275-0.0025-65

    Now, match against it to set your variables up, and generate the image.

    This would save needing to make a bunch of png files (which are really just php files with a custom file handler) to generate the signatures.

    Make sense?

    Like I said, I'll write something tomorrow, complete with graphics.
    Sure! IT sounds like you can obviously write the code and front end so the algorithm shouldn't hard to come up with. Do you have somewhere to host it? As long as it generates cut and paste code for the end user (maybe with the CASAA logo?) I think it's a great idea!

    People LOVE things that give stickiness to a site. Wallpaper, screensavers, apps and widgets are staples of a a site's online campaign.
    Michal "Webby" Douglas - Proud User|Supplier|Advocate
    Support CASAA| The E-Cigarette Users & Suppliers Group
    The Consumer Advocates for Smoke-Free Alternatives Association

  9. #18
    Senior Member ECF Veteran
    Join Date
    Sep 2009
    Location
    Baltimore County, MD
    Posts
    207

    Default Oh man. We are OLD :D

    Quote Originally Posted by mtndude View Post
    peeks and pokes... duh
    I lol's at this then realized it was very sad that I no only got this reference, but that SYS 49152 immediately jumped into my brain.

    Off to grab some Geritol now...

    -K

  10. #19
    Senior Member ECF Veteran
    Join Date
    Sep 2009
    Location
    Roan Mountain, TN
    Posts
    259

    Default

    lol.. I knew I was running the risk of just sounding like a jibbering idiot.

    good lord, the patience I had as a teenager with a VIC-20

  11. #20
    Forum Supplier
    CASAA Moderator
    ECF Veteran Webby's Avatar
    Join Date
    Mar 2009
    Location
    USA
    Posts
    797

    Default

    Quote Originally Posted by mtndude View Post
    lol.. I knew I was running the risk of just sounding like a jibbering idiot.

    good lord, the patience I had as a teenager with a VIC-20
    I'm going to go sit in the dark and play pong for awhile...

    ...your lamp is growing weaker...

    ...your lamp is out...

    ...you are about to be eaten by a grue...

    DAMN YOU ZORK!!!
    Michal "Webby" Douglas - Proud User|Supplier|Advocate
    Support CASAA| The E-Cigarette Users & Suppliers Group
    The Consumer Advocates for Smoke-Free Alternatives Association

+ Reply to Thread
Page 2 of 8 FirstFirst 123456 ... LastLast

Bookmarks

Posting Permissions

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

SEO by vBSEO