+ Reply to Thread
Results 1 to 20 of 20




  

Thread: Buy me a beer how to?

      
  1. #1
    Will Work For Coffee :-} Big Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond repute Big Dan's Avatar
    Join Date
    October 14, 2006
    Location
    New York
    Posts
    1,954
    Rep Power
    8
    Feedback Score
    0

    Red face Buy me a beer how to?

    Hey Guys,

    I'm looking to implement buy me a beer on one of my forums much like Colleen has done here, I cannot seem to find a vB plugin for it, so I'll just code it into the template.

    What is the URL used to pass an email address to pay. I know how to code the conditional on vBulletin's end, I just don't know where to place the email in the paypal URL.

    Is it?

    Code:
    https://www.paypal.com?email=xxx@domain.com
    Thanks in advance for your help,

    Dan
    Big Dan
    DJ Talk - Where DJ's meet! | Almost Geek - Geeky Tutorials and Stuff | Got Email Questions?

  2. #2
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default

    I 'think' she custom coded it in, as far as how to do it I have no idea.

    sorry

  3. #3
    Will Work For Coffee :-} Big Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond repute Big Dan's Avatar
    Join Date
    October 14, 2006
    Location
    New York
    Posts
    1,954
    Rep Power
    8
    Feedback Score
    0

    Default

    Thanks Grim, I figured it was one of C's custom jobs. I've got a handle on how to actually code it in postbit. I just need to know how to pass an email address & subject on to PayPal in a URL.
    Big Dan
    DJ Talk - Where DJ's meet! | Almost Geek - Geeky Tutorials and Stuff | Got Email Questions?

  4. #4
    Grand Masters Colleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond repute Colleen's Avatar
    Join Date
    September 22, 2006
    Location
    Canada
    Posts
    11,144
    Rep Power
    26
    Feedback Score
    0

    Default

    Dan, I made a custom template titled "beer" and put the following code inside it.

    <if condition="$post[field16]"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=$post[field16]&amp;item_name=WebTalkForums&#37;20%2d%20Buy%20Me% 20A%20Beer%20(for%20$post[username])&amp;item_number=wtfbuymeabeer&amp;no_shipping=1& amp;return=http://www.webtalkforums.com&amp;cn=Message%20to%20Beer%2 0Recipient&amp;tax=0&amp;currency_code=USD&amp;bn= PP%2dDonationsBF&amp;charset=UTF%2d8" rel="nofollow"><img src="$stylevar[imgdir_misc]/beerglass.gif" class="inlineimg" border="0" alt="Buy Me a Beer!" /></a>&nbsp;</if>
    If you need help implementing it, let me know.

    I then called $beer wherever I wanted it in the postbit template.

    Additionally, I made two plugins, "buy me a beer cache template" and "buy me a beer in postbit"

    Plugin Info:

    Hook Location: cache_templates
    Title: buy me a beer cache template
    Plugin PHP Code:
    PHP Code:
    $globaltemplates array_merge($globaltemplates, array('beer')); 
    Hook Location: postbit_display_complete
    Title: buy me a beer in postbit
    Plugin PHP Code:
    PHP Code:
    eval('$beer = "' fetch_template('beer') . '";'); 

  5. #5
    Will Work For Coffee :-} Big Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond repute Big Dan's Avatar
    Join Date
    October 14, 2006
    Location
    New York
    Posts
    1,954
    Rep Power
    8
    Feedback Score
    0

    Default

    You're the best C!! :love:

    I was just gonna hard code it into postbit, but maybe I'll use a separate template with a an include on postbit like you appear to be doing.

    I'm still waiting for the rest of the staff on my forum to approve Buy Me A Beer though. mg:
    Big Dan
    DJ Talk - Where DJ's meet! | Almost Geek - Geeky Tutorials and Stuff | Got Email Questions?

  6. #6
    Grand Masters Colleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond repute Colleen's Avatar
    Join Date
    September 22, 2006
    Location
    Canada
    Posts
    11,144
    Rep Power
    26
    Feedback Score
    0

    Default

    You're welcome, Dan!

    I added more information above, not sure if you saw it before replying. What about the other forum, buy me a coffee!

    I plan to grow roots there once it gets going.

  7. #7
    Will Work For Coffee :-} Big Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond repute Big Dan's Avatar
    Join Date
    October 14, 2006
    Location
    New York
    Posts
    1,954
    Rep Power
    8
    Feedback Score
    0

    Default

    Thanks C! I just seen the new info I wasn't expecting you to give me all information, wowsers knock me over, why don't ya. :P I'm gonna play around with it a bit at the coffee lounge to make sure I got implementation right!

    The lounge will get busy, it's just a matter of me getting it up. :P
    Big Dan
    DJ Talk - Where DJ's meet! | Almost Geek - Geeky Tutorials and Stuff | Got Email Questions?

  8. #8
    Grand Masters Colleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond repute Colleen's Avatar
    Join Date
    September 22, 2006
    Location
    Canada
    Posts
    11,144
    Rep Power
    26
    Feedback Score
    0

    Default

    Quote Originally Posted by Big Dan View Post
    getting it up. :P
    Did Kim tell you that? mg:

  9. #9
    Will Work For Coffee :-} Big Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond repute Big Dan's Avatar
    Join Date
    October 14, 2006
    Location
    New York
    Posts
    1,954
    Rep Power
    8
    Feedback Score
    0

    Default

    Quote Originally Posted by Colleen View Post
    Did Kim tell you that? mg:
    Hey now WTF? :love::love:

    Bad choice of words. :twisted:
    Big Dan
    DJ Talk - Where DJ's meet! | Almost Geek - Geeky Tutorials and Stuff | Got Email Questions?

  10. #10
    Grand Masters timsdd has a reputation beyond reputetimsdd has a reputation beyond reputetimsdd has a reputation beyond reputetimsdd has a reputation beyond reputetimsdd has a reputation beyond reputetimsdd has a reputation beyond reputetimsdd has a reputation beyond reputetimsdd has a reputation beyond reputetimsdd has a reputation beyond reputetimsdd has a reputation beyond reputetimsdd has a reputation beyond repute timsdd's Avatar
    Join Date
    September 29, 2006
    Location
    On the internets device portal
    Posts
    9,026
    Rep Power
    14
    Feedback Score
    0

    Default

    Quote Originally Posted by Big Dan View Post
    Hey now WTF? :love::love:

    Bad choice of words. :twisted:
    welcome to the club! all my words are bad choices when you've got the likes of C&G on the prowl
    Link Building
    Free training to assert your Constitutional Rights during police encounters | GoldMoney - buy gold and buy silver to use in daily transactions and boycott fiat currency

  11. #11
    Favors Da Nooners! Kaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond repute Kaos's Avatar
    Join Date
    October 28, 2006
    Location
    upstate NY
    Posts
    2,906
    Rep Power
    7
    Feedback Score
    0

    Default

    Yes. I am very good about having clean feet since they spend most of the time in my mouth with comments I make :P

  12. #12
    Grand Masters Colleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond repute Colleen's Avatar
    Join Date
    September 22, 2006
    Location
    Canada
    Posts
    11,144
    Rep Power
    26
    Feedback Score
    0

    Default

    Quote Originally Posted by timsdd View Post
    welcome to the club! all my words are bad choices when you've got the likes of C&G on the prowl
    Lol!

    Quote Originally Posted by Kaos View Post
    Yes. I am very good about having clean feet since they spend most of the time in my mouth with comments I make :P
    What Tim said! :twisted:

  13. #13
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    I would suspect this needs a blurb in the privacy statement that using it exposes an email address?
    Free vBulletin hacks and vBulletin Support.
    Talk to bikers around the world about motorcycles.
    Clogging an american dance step.

  14. #14
    Grand Masters Colleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond repute Colleen's Avatar
    Join Date
    September 22, 2006
    Location
    Canada
    Posts
    11,144
    Rep Power
    26
    Feedback Score
    0

    Default

    Quote Originally Posted by noppid View Post
    I would suspect this needs a blurb in the privacy statement that using it exposes an email address?
    That's a good idea, but maybe in the FAQ, cause I don't see a privacy statement here, must not be built into vBulletin, do you know if other forums have one?

  15. #15
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    Quote Originally Posted by Colleen View Post
    That's a good idea, but maybe in the FAQ, cause I don't see a privacy statement here, must not be built into vBulletin, do you know if other forums have one?
    Actually, I think we have to add our own beyond COPAA in vBulletin.

    I have added privacy statements on some of my sites that use certain affiliates. I added it to the vB FAQ on my forums.

    Feel free to have a look and use what may help you. I'm not an attorney, but the wording apparently meets the TOS I needed to follow.

    There's other copyright stuff there too. Use it if it helps.
    Free vBulletin hacks and vBulletin Support.
    Talk to bikers around the world about motorcycles.
    Clogging an american dance step.

  16. #16
    Will Work For Coffee :-} Big Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond repute Big Dan's Avatar
    Join Date
    October 14, 2006
    Location
    New York
    Posts
    1,954
    Rep Power
    8
    Feedback Score
    0

    Default

    I believe you can add a privacy statement link to your footer by defining a URL in vBulletin Options. I hardcoded my "Community Guidelines" (aka TOS) link into footer.

    Once I get this implemented I definetly planned on posting a warning about their paypal email being public and if they don't feel comfortable with it, they shouldn't add one to their profile.

    Edit:

    For the DJ board this is going to be called "Buy Me A Song" a few mods had quams about "contributing to or endorsing bad habits". :eek:
    Big Dan
    DJ Talk - Where DJ's meet! | Almost Geek - Geeky Tutorials and Stuff | Got Email Questions?

  17. #17
    Jedi Master bikerboys is on a distinguished road
    Join Date
    August 29, 2007
    Location
    usa
    Posts
    25
    Rep Power
    5
    Feedback Score
    0

    Default

    thats just great

  18. #18
    Jedi Master Manish Pandey has a spectacular aura aboutManish Pandey has a spectacular aura aboutManish Pandey has a spectacular aura aboutManish Pandey has a spectacular aura about Manish Pandey's Avatar
    Join Date
    June 14, 2007
    Location
    India
    Posts
    371
    Rep Power
    5
    Feedback Score
    0

    Default

    Quote Originally Posted by Colleen View Post
    Dan, I made a custom template titled "beer" and put the following code inside it.



    If you need help implementing it, let me know.

    I then called $beer wherever I wanted it in the postbit template.

    Additionally, I made two plugins, "buy me a beer cache template" and "buy me a beer in postbit"

    Plugin Info:

    Hook Location: cache_templates
    Title: buy me a beer cache template
    Plugin PHP Code:
    PHP Code:
    $globaltemplates array_merge($globaltemplates, array('beer')); 
    Hook Location: postbit_display_complete
    Title: buy me a beer in postbit
    Plugin PHP Code:
    PHP Code:
    eval('$beer = "' fetch_template('beer') . '";'); 
    Girl with great brains...
    Post free classifieds at BolCityBol.com
    Niche Specific Social Media Sites. Register and promote your blogs and sites.

  19. #19
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    Nice job. Great to see good code out there. But I can't see the template code.
    Free vBulletin hacks and vBulletin Support.
    Talk to bikers around the world about motorcycles.
    Clogging an american dance step.

  20. #20
    Will Work For Coffee :-} Big Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond reputeBig Dan has a reputation beyond repute Big Dan's Avatar
    Join Date
    October 14, 2006
    Location
    New York
    Posts
    1,954
    Rep Power
    8
    Feedback Score
    0

    Default

    Just wanted to update this thread and let C know her instructions didn't go wasted :P I finally got around to putting it on my DJ forum.. I didn't bother with the plugins just hardcoded it into postbit.

    I decided to implemented on the postbit drop down instead, check it out:



    Thanks, Colleen your help saved me a lot of hair pulling out of my head.
    Big Dan
    DJ Talk - Where DJ's meet! | Almost Geek - Geeky Tutorials and Stuff | Got Email Questions?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Don't buy me a beer please
    By Jani in forum Forum Lounge
    Replies: 50
    Last Post: Jul 14th, 2007, 7:34 pm
  2. Who will buy me a beer??
    By The Webmaster in forum Forum Lounge
    Replies: 52
    Last Post: Jun 23rd, 2007, 1:33 pm

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
WebTalkForums
WebTalkForums
Recent Forum Threads