Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Dec 2007, 18:23
DinarMet DinarMet is offline
 
Join Date: Feb 2006
Buy Me A Beer/Latte Hack?

Hello Members,

Is there any kind of feature that would allow members to buy each other a beer (in my case I would prefer a latte). Many sites and blogs use this for revenue streams and I thought it would be great in a forum community. It would be an nice incentive for members to post quality content. I searched in the Modifications forums but I can't find anything like this.

If it doesn't exist, it might be a good idea for someone to create it, if it's possible. It would also be nice to give the admin a choice of what the person is buying (a beer, a latte, etc) and also the choice of dollar increments to be deposited in the person's account (I'm assuming Paypal).

Any help here would be appreciated.

Thanks

DM

Edit: Also including one for the site itself would be good too.

It would also serve the members best if this appeared on all the posts that a member makes ( a small icon somewhere) and not just in their profile. Of course it would only appear for members who participate.

Last edited by DinarMet; 08 Dec 2007 at 18:28.
Reply With Quote
  #2  
Old 14 Feb 2008, 14:22
exfsmiler exfsmiler is offline
 
Join Date: Feb 2008
I managed to do this after having vbulletin for 4 days!
im only a newbie though so code maybe messy.....

Add a custom user field in AdminCP>User Profile Field>Add New User Field
I called mine "Email address for buy me a drink function"

Then in AdminCP>Styles & Templates>Style Manager>Postbit Templates> postbit

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Paste Before Following </div>:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You Will need to edit the X to your field number

The code above is set up to donate 3 English Pounds

change the 3 to your desired amount
and to convert to Dollars:
change GBP to USD and GB to US

i'm not sure of any other countries or currencys

also upload the attached drink.gif to the root folder of your forum (you can change the picture)

Now if the user has filled in the new field in their edit profile they will have a picture of a drink in all of their posts and when someone clicks on it, it opens up a new window in paypal for them to donate money for a drink

Enjoy
Attached Images
File Type: gif drink.gif (1.4 KB, 67 views)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:05.

Layout Options | Width: Wide Color: