vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   End-User Options - UKBL ~ "Buy Me a Beer" Hack (https://vborg.vbsupport.ru/showthread.php?t=205166)

kahethu 03-14-2009 10:43 PM

I have agonized about how to get this hack for months!
Beautiful work.

I seem to have a conditional error when I edit my postbit; I figure it must be my error.

I just sent you a PM.
Simon

UKBusinessLive 03-15-2009 08:11 AM

Quote:

Originally Posted by kahethu (Post 1768301)
I have agonized about how to get this hack for months!
Beautiful work.

I seem to have a conditional error when I edit my postbit; I figure it must be my error.

I just sent you a PM.
Simon

Hi Simon,

Just looked at your posbit template the conditional error was for an additional </IF> tag which was spare, I deleted that and alls well ;)

However, It seems that your Postbit has been heavily modified, i think as part of your style where i wouldnormally post the hack, just makes your postbit look like a right mess :confused:

I will however have another go and see if we can get it working for you :cool:

ac1d1dty 03-15-2009 04:04 PM

Can I make this so someone clicks to buy someone a drink and can then choice the amount?

thanks

UKBusinessLive 03-15-2009 04:48 PM

Quote:

Originally Posted by ac1d1dty (Post 1768838)
Can I make this so someone clicks to buy someone a drink and can then choice the amount?

thanks

The amount is set for ?3 or you can change it for $3, or whatever you want within the code. But for the end user to change the amount, they'll have to change it when it goes to the paypal payment page, It shows as a donation on paypal so they will be able to change the amount there.

The reason i did this at ?3 was because of the silly fees paypal charge, the end user would be left with Pennies if i'd set it at ?1
:eek:

UKBusinessLive 03-15-2009 05:41 PM

Quote:

Originally Posted by TimberFloorAu (Post 1748231)
The little green bar is called : Murphys Inn


:D

Happy St Patricks day to you Steve :D

Today i even put a Buy me a Beer hack on my main site :eek:

How desperate is that ???

https://vborg.vbsupport.ru/external/2009/03/18.png

You can never have too many beers bought for you :up:

ArnyVee 03-15-2009 06:45 PM

Gerry, nice work! You can't have too many beers, right?

I haven't added this hack yet, but I will be in the near future :up:

I haven't looked back, but did you ever get the code for the PayPal to go to the site admin or one particular PayPal rather than paying each other?

UKBusinessLive 03-15-2009 06:53 PM

Quote:

Originally Posted by ArnyVee (Post 1768979)
Gerry, nice work! You can't have too many beers, right?

I haven't added this hack yet, but I will be in the near future :up:

I haven't looked back, but did you ever get the code for the PayPal to go to the site admin or one particular PayPal rather than paying each other?

Yes i did mate, Thats what i used for my main site

Code:

<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=youremail@yourforum.com&item_name=Buy me a Beer&amount=5%2e00&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8" target="_blank" rel="nofollow" title="Click to buy me a Beer">
<img alt="Buy me a Beer?" border="0" src="http://i475.photobucket.com/your beer picture.gif" border="0"/>

Just change the red email to your sites email addy, and don't forget the url of your picture at the end ;)

ArnyVee 03-15-2009 06:54 PM

Fantastic! I can always count on you to have the answers Gerry! :up:

UKBusinessLive 03-15-2009 06:58 PM

Quote:

Originally Posted by ArnyVee (Post 1768990)
Fantastic! I can always count on you to have the answers Gerry! :up:

No worries :D

Ranger375 03-16-2009 10:50 AM

Is there any way to make it so the beer that is bought just appears on the user's profile, rather than on their post? If so, how would I do this? Thanks!


All times are GMT. The time now is 04:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02041 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete