vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Buy Me A Beer Mod? (https://vborg.vbsupport.ru/showthread.php?t=200433)

Reycer 01-02-2009 03:37 PM

Buy Me A Beer Mod?
 
Before I came over to Vbulletin I used to run a "Snitz" forum. Although they are not as updated as Vbulletin is, they have some pretty cool mods, one is "Buy Me a Beer" mod. After Googling that mod, I can find that several other forums have this particular mod as well. That is, all except for VBulletin. I was wondering if anyone knew of a Vbulletin "Buy Me A Beer" mod or would be willing to create one. I myself have absolutely no PHP coding experience and have tried but I can't quite create the mod.

Anyways, I was just hoping someone would want to take this one on. It seems that there are quite a few Vbulletin forum admins that would like to see this mod.

UKBusinessLive 01-02-2009 04:01 PM

1 Attachment(s)
I've been looking for something like this also, not sure if anything can be adapted for Vbulletin. I've uploaded 2 zips of the above mod one for SMF and another which was for Wordpress, can anyone have a look see if they can adapt it for VBulletin.

Would make a great mod to get members to join:cool:

And i'll be able to buy you a beer ;)

CodingMonkey 01-03-2009 02:18 AM

Can you please explain how the "Buy Me A Beer" mod works? I don't feel like googling it right now .. but probably can code it. Let me know.

KevinL 01-03-2009 02:54 AM

Sounds kinda cool hahah

Quote:

Introduction
Allows users to reward other users for their posts by buying them a beer (or at least donating enough money via Paypal to buy one).

Where the user has entered their paypal address, A 'beer glass' icon appear in the poster information area of users posts. The alt text when hovering over the icon states 'Buy Me A Beer Through Paypal' [must be logged in to see] and when clicked takes the user to the paypal page.

CodingMonkey 01-03-2009 05:19 AM

Doesn't sound too hard.. :)
So basically it's donating money to other users with a paypal entered in their user profile field?
Seems it would be something like this ...
HTML Code:

<if condition="$post[fieldX]
                      && $post[userid] != $bbuserinfo[userid]
                      && $show['member']"
>

<a href="$paypal_addr_with_email"><img
      src="/path/to/beer.gif" border="0" alt='Buy me a beer through PayPal'
      />
</a>
</if>

That's the main code right there.. just have to have a profile field for it. :p

Taragon 01-03-2009 06:37 AM

Very interesting. Thank you :)

UKBusinessLive 01-03-2009 07:29 AM

1 Attachment(s)
Quote:

Originally Posted by CodingMonkey (Post 1700047)
Doesn't sound too hard.. :)
So basically it's donating money to other users with a paypal entered in their user profile field?
Seems it would be something like this ...
HTML Code:

<if condition="$post[fieldX]
                      && $post[userid] != $bbuserinfo[userid]
                      && $show['member']"
>

<a href="$paypal_addr_with_email"><img
      src="/path/to/beer.gif" border="0" alt='Buy me a beer through PayPal'
      />
</a>
</if>

That's the main code right there.. just have to have a profile field for it. :p

Thats super CodingMonkey, i don't suppose you want to release this as a mod???

i've uploaded the beer.gif and coffee.gif (for those that don't drink ;) ) for their postbit

*I'll buy you a beer :D

Rene Kriest 01-03-2009 01:08 PM

CodingMonkey, you really underestimate the importance and consequences of such a simple and maybe trivial addon. It was such a large hit in the blogging scene. Love it or hate it, but this is really the next big thing people are keen on.

I bet one beer that this addon would make you MotM in no time - at least. :)

Reycer 01-03-2009 01:30 PM

cool. Thanks guys. Can't wait to implement this. I have been looking for this in Vbulletin for a VERY LONG TIME! Thanks again. UKBusinessLive: I am also uploading to my site a "Root Beer" because we have users that don't drink.

CodingMonkey 01-03-2009 01:55 PM

I'll install it on Wordpress and see what I can make of it. (Or snitz for that matter)
I'm sure it's not that hard. Not even vBulletin challenges me with all it's classes and such.. =)

UKBusinessLive: I'd be happy to release it as a mod. Have nothing else to code besides a forum software (about 5% complete cause I'm lazy luls.)

Reycer 01-03-2009 02:02 PM

Snitz has it already made up into a mod. (they've had it for a while over at www.snitzbitz.com)

Can't wait to see it bundled up here! Thanks alot CodingMonkey!

UKBusinessLive 01-03-2009 02:41 PM

1 Attachment(s)
Quote:

Originally Posted by CodingMonkey (Post 1700308)
I'll install it on Wordpress and see what I can make of it. (Or snitz for that matter)
I'm sure it's not that hard. Not even vBulletin challenges me with all it's classes and such.. =)

UKBusinessLive: I'd be happy to release it as a mod. Have nothing else to code besides a forum software (about 5% complete cause I'm lazy luls.)

Thanks Buddy, You know, by doing this your gonna be the most popular coder VB has ever seen. So looking forward to this.

https://vborg.vbsupport.ru/external/2009/01/48.gif

For referance i've uploaded the Free snitz mod here, hope that might throw some pointers in your direction.

Thanks again :D:D

Rene Kriest 01-04-2009 09:56 PM

I am kinda fevered to finally get my hands on this breath taking addon that will make history. And I had my hands right at the cradle... :D

LakeAnna 01-05-2009 12:24 AM

Cool - how does a noob go about installing something like this how/where

CodingMonkey 01-05-2009 12:55 AM

Well it all depends - do you have grabs on a product I haven't made yet? If you do .. how .. lol
Sorry guys I've been really busy and started up on a new project. Will work on this with my little time... school starts back up tomorrow :(

Just to confirm, should this redirect the user to a new page that asks them how much they wish to give the user? I'm reading the source code of the WP one and it just appears that way.. unless I'm missing something. I'm going to install it in a moment.

The weekend is coming up -- I'll work on this when I have free time, but my current forum that I get paid to work on has asked me to work out things on their board. Not sure if I can get things done this weekend besides that.

Reycer 01-12-2009 12:41 AM

just wanted to bump this one back up to the top.

miner 01-12-2009 01:37 AM

I would like to have this hack for vb...

For now, i made a simple trick using bills paypal hack and linked in words on my site "Buy me a Beer!" 2 days back and it seems a instant hit and good amount of donation recd already by my users...

also check at my forums free skins 3.8 section download thread - but its not hack just a link which i insert manually...

UKBusinessLive 01-12-2009 06:02 PM

Great News Miner, I can see this being a great addition, basically its a great way to Donate, But where members donate to you, The normal Buy me a Bear hack can be used between members, so one member can buy another member a beer ;)

:D

Reycer 01-17-2009 06:50 PM

bumped again.

Reycer 01-20-2009 11:01 PM

1 Attachment(s)
ok, I've found a PHP mod that has been abandoned. I have uploaded it. Hope this can be used to convert to a vbulletin mod.

GSeybold 01-20-2009 11:39 PM

This is really cool. I hope someone convert it.

Reycer 01-21-2009 04:33 PM

Quote:

Originally Posted by GSeybold (Post 1719596)
This is really cool. I hope someone convert it.

I do too. I have been trying, but I can't seem to get it.

My members are simply itching for this one.

UKBusinessLive 01-21-2009 06:13 PM

Quote:

Originally Posted by mdelcour (Post 1720277)
I do too. I have been trying, but I can't seem to get it.

My members are simply itching for this one.

I can see codingmonkey is going to be the most popular coder on here when he completes this :D He won't be able to get a Paypal account large enough, with all the "beers" he'll have bought for him :D

Reycer 01-22-2009 01:13 AM

Quote:

Originally Posted by UKBusinessLive (Post 1720355)
I can see codingmonkey is going to be the most popular coder on here when he completes this :D He won't be able to get a Paypal account large enough, with all the "beers" he'll have bought for him :D

no kidding. He'll get a few from me, that's for sure!

Gweebs 02-02-2009 11:00 AM

Any updates on this hack??

UKBusinessLive 02-11-2009 09:13 PM

Quote:

Originally Posted by Gweebs (Post 1731757)
Any updates on this hack??

I've been playing with this idea for the past few days and i've come up with a way to get this working in VBulletin

All members will need to do is to have a Paypal account, They will be able to add a special paypal ID code into the User CP and then their Beer Logo will show in their post bit, Automatically at the same time allowing other "Buy Me a Beer" members to Buy them a beer.

I've made a few adaptions for non drinkers and have added Coca Cola, Diet Coke and Coffee for all you non beer drinkers :rolleyes:

Will upload the Hack Tommorrow Night, Its a bit late tonight ;)

https://vborg.vbsupport.ru/external/2009/02/89.png

https://vborg.vbsupport.ru/external/2009/02/90.png

https://vborg.vbsupport.ru/external/2009/02/91.png

https://vborg.vbsupport.ru/external/2009/02/92.png

--------------- Added [DATE]1234470259[/DATE] at [TIME]1234470259[/TIME] ---------------

All Done :D Enjoy

if anyone feels they can improve it or add to it please feel free to add in the thread :cool:

https://vborg.vbsupport.ru/showthread.php?t=205166

Thanks :up:

Reycer 02-13-2009 12:53 AM

WHOO HOO! I have it installed on my forums, and IT WORKS GREAT! Thanks UK!

UKBusinessLive 02-13-2009 12:25 PM

Quote:

Originally Posted by mdelcour (Post 1742434)
WHOO HOO! I have it installed on my forums, and IT WORKS GREAT! Thanks UK!

There's one happy Chappy :D

But heres another suprise, I've added an add on "Buy me a drink" Multichoice, Now your members can chose there own drinks to display :D

https://vborg.vbsupport.ru/external/2009/02/77.png

Just a few simple changes to the code and a new custom field, and a new drinks directory to store all your different Drinks ;)

This can even be used for Food :D

https://vborg.vbsupport.ru/external/2009/02/77.jpg

:D:D:D

Enjoy

Reycer 02-13-2009 03:18 PM

yeeaaaahhhh......

UKBusinessLive 02-14-2009 09:05 PM

Here a quick Flash Tutorial on How to install both Buy me a Beer and Buy me a Drink.

http://www.ukbusinesslive.co.uk/foru...Me__a_Beer.swf

;)


All times are GMT. The time now is 11:47 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.01338 seconds
  • Memory Usage 1,806KB
  • 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
  • (2)bbcode_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete