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)

UKBusinessLive 02-18-2009 05:47 PM

Quote:

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


:D

lol :D


https://vborg.vbsupport.ru/external/2009/06/34.gif

TimberFloorAu 02-19-2009 07:25 PM

Slight update for this product, for the multiple choice selection version.

For those that have this installed:

goto admincp / user profile field manager

scroll down to Buy me a Drink ( this is the field with drink choices , such as beer wine etc )

click edit

in Set Default : change from


Yes ,but no first blank option

to

Yes, Including a First Blank Option.

___________________________________________
Done.

reason is, if a user, decides NOT to display their drink, for whatever reason, this blank option allows them to do this. They may have changed paypal address etc.

Good Luck Ste:up:

Hopefully Gerry can update instructions accordingly, for new installs.

cagbaazee 03-05-2009 04:33 PM

Hi.. i ahve installas per disucss by u. But i cannot see "where is buy me the beer". please tell me where the buy me beer locate. Thanks

UKBusinessLive 03-05-2009 05:51 PM

have you created the custom profile field ?? If you do not add your paypal email address in this field then the beer glass will not show ;)

cagbaazee 03-06-2009 12:25 AM

Yes i hv add custom user field and add my paypal id but did not see it.

there is my code

Quote:

<if condition="$post['field6']">
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=$post[fieldX]&item_name=Buy me a

Beer&amount=3%2e00&no_shipping=0&no_note=1&tax=0&c urrency_code=GBP&lc=GB&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://www.xxxxxxx.info/vbforum/images/misc/beer.png" border="0"/>
</if>
is it correct or not. Do reply asap. Thanks

UKBusinessLive 03-06-2009 05:04 AM

Quote:

Originally Posted by cagbaazee (Post 1761459)
Yes i hv add custom user field and add my paypal id but did not see it.

there is my code



is it correct or not. Do reply asap. Thanks

drop me a PM with a link to your site so i can take a look, may be quicker if you do me a temp admin and i'll install it for you ;)

Will take a look for you when i get back from work :up:

cagbaazee 03-06-2009 09:42 AM

Quote:

Originally Posted by UKBusinessLive (Post 1761592)
drop me a PM with a link to your site so i can take a look, may be quicker if you do me a temp admin and i'll install it for you ;)

Will take a look for you when i get back from work :up:

please check yr pm. Thanks. please do the needful.

I face 2 problem



1/. We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem. If this payment is for an eBay listing, you can contact the seller via the "Ask Seller a Question" link on the listing page. When you have the correct email address, payment can be made at www.paypal.com.

2/. I acn see the buy me Beer link but no image

Do reply Thanks

UKBusinessLive 03-06-2009 03:07 PM

Quote:

Originally Posted by cagbaazee (Post 1761676)
please check yr pm. Thanks. please do the needful.

I face 2 problem



1/. We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem. If this payment is for an eBay listing, you can contact the seller via the "Ask Seller a Question" link on the listing page. When you have the correct email address, payment can be made at www.paypal.com.

2/. I acn see the buy me Beer link but no image

Do reply Thanks

You have 2 problems

first you need to add the 2nd fieldX in the paypal code, because although you did the first one, you failed to add the second

Code:

<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=$post[fieldX]
The second problem being is that you can see the link (Red Cross) but no picture, this means that you have either not uploaded the image to the directory in your forum server or you havn't edited the url of the location in the code.

Also when you add the code to the postbit template make sure there are no gaps or extra lines in the code, The code you posted here was like this

Code:

<if condition="$post['field6']">
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=$post[fieldX]&item_name=Buy me a

Beer&amount=3%2e00&no_shipping=0&no_note=1&tax=0&currency_code=GBP&lc=GB&bn=PP%2 dDonationsBF&charset=UTF%2d8" target="_blank"

rel="nofollow" title="Click to buy me a Beer">
<img alt="Buy me a Beer?" border="0" src="http://www.xxxxxxx.info/vbforum/images/misc/beer.png" border="0"/>
</if>

It should be like this

Code:

<if condition="$post['fieldX']">
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=$post[fieldX]&item_name=Buy me a Beer&amount=3%2e00&no_shipping=0&no_note=1&tax=0&currency_code=GBP&lc=GB&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://www.yourforum.com/images/misc/beer.png" border="0"/>
</if>

Hope that helps ;)

cagbaazee 03-06-2009 03:50 PM

Yeah. It works. Thanks a lots for that. I need button for support moderators. Thanks once again.

UKBusinessLive 03-06-2009 03:58 PM

Quote:

Originally Posted by cagbaazee (Post 1761858)
Yeah. It works. Thanks a lots for that. I need button for support moderators. Thanks once again.

Super, what do you mean??

Quote:

I need button for support moderators
:confused:


All times are GMT. The time now is 03:32 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.02484 seconds
  • Memory Usage 1,751KB
  • 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
  • (3)bbcode_code_printable
  • (7)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