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 03-16-2009 05:38 PM

Quote:

Originally Posted by Ranger375 (Post 1769530)
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!

I guess you would add it in their profile template, but i'm not sure 100%, but won't that defeat the object???

if a member helps out and perhaps saves another member $$$$$$$$$$'s, Then surely it would pay to show the beer icon on the members postbit so they have max exposure :confused:

kahethu 03-18-2009 04:50 PM

I've added mine but they cannot change the amount even at paypal (it's a donation). Any idea what I could be missing?

Simon

UKBusinessLive 03-18-2009 05:32 PM

Quote:

Originally Posted by kahethu (Post 1771258)
I've added mine but they cannot change the amount even at paypal (it's a donation). Any idea what I could be missing?

Simon

The amount is fixed At ?3 or $3 whatever currency your using. You can change the amount in the code by finding

Code:

amount=3
and changing it to what you want

The reason i did this like this is twofold, One to prevent people simply paying small amounts that paypal fee's will use most of it up and secondly to prevent accidental amounts and disputes afterwards, like you only wanted to pay ?10 not ?100 ;)

The fixed fee is known by all and if members want to pay more, Just Buy another Beer!!!

Glad you got it working in the end ;)

pnosko31 05-22-2009 04:43 AM

here is my suggestion:

in the postbit maybe make it so it displays the number of beers purchased for them and the number of beers they purchased for others (similar to the way other mods like the thank you hack keeps count.)

So in their postbit/profile it would show:

Beers Recieved: 3
Beers Purchased: 2

and maybe have it send an pm to the person with a custom message or something when someone buys them a beer.

Vinyljunky 05-27-2009 07:23 PM

Congrats on the Advisor status :up:

MrRem 01-06-2010 10:48 AM

Quote:

Originally Posted by pnosko31 (Post 1815033)
here is my suggestion:

in the postbit maybe make it so it displays the number of beers purchased for them and the number of beers they purchased for others (similar to the way other mods like the thank you hack keeps count.)

So in their postbit/profile it would show:

Beers Recieved: 3
Beers Purchased: 2

and maybe have it send an pm to the person with a custom message or something when someone buys them a beer.


That would be awesome.
Also, could someone put this in a product form? Would help out the newbies.

Noticed the color codes are ski-whiff in the original posts codes too.


Top mod and idea though
Installed :)

Frank Sinatra 01-06-2010 10:19 PM

Thanks looks really nice
This mod can be used without payment system?

cagbaazee 01-16-2010 05:03 AM

Will it works fr Vbulletin 4. Do reply please

Hammertime 03-10-2010 03:28 PM

Quote:

Originally Posted by cagbaazee (Post 1957136)
Will it works fr Vbulletin 4. Do reply please

Anyone know?

Hammertime 03-10-2010 04:16 PM

Ok im getting the following message on 4.0.2 when I edit my postbit_legacy template.

"Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3332

vBulletin Message
The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish."

Any gurus know what needs changed?


All times are GMT. The time now is 02:13 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.01182 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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