Advertisement:

Author Topic: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0  (Read 7826 times)

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
[Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« on: September 01, 2011, 02:06:41 PM »
Here is the mod page for Buy Me a Beer.

http://custom.simplemachines.org/mods/index.php?mod=830

When I asked about the mod in this topic...

http://www.simplemachines.org/community/index.php?topic=451001.0

I was told....

Quote
looks like that mod can have a new author and updated to 2.0 due to comments on the last page of the support thread, you can post in the mod requests board and see if anyone wants to take it on and update it.

So here I am asking.... :)

I would be willing to pay $25 to have someone update this mod for SMF 2.0 and to make sure the beer icon can be seen by guest and members alike.

Thanks...

« Last Edit: September 05, 2011, 04:37:02 PM by ApplianceJunk »

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #1 on: September 01, 2011, 06:06:18 PM »
Deal.
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #2 on: September 01, 2011, 06:19:18 PM »
Deal.

Awesome, thanks!

I have no idea what the process is to take over a mod and update it, but seeing you have a list of mods already I would guess you know the steps.
Once the mod page shows it's been updated by you for smf 2.0 let me know and I will paypal you the funds, does that sound fair?



Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #3 on: September 01, 2011, 09:28:03 PM »
I have the mod finished, although that specific mod page stays intact. I believe Karl lets whoever takes over his mods make a new entry so the old mod page still lists him as the author.. That's how it was in the past.

However... this one is not merely an update. This one cleverly hacks into the custom profile fields so as not to add a new column to the database nor edit any templates. In essence, a rewrite, It still retains the name, image, and language strings.
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #4 on: September 01, 2011, 09:41:13 PM »
That was quick. :)

Quote
However... this one is not merely an update. This one cleverly hacks into the custom profile fields so as not to add a new column to the database nor edit any templates. In essence, a rewrite, It still retains the name, image, and language strings.

So where do we go from here? Will the mod page be updated so the new version for 2.0 can be downloaded from the mod page?

I see on the mod page in the description area it says...

Quote
This mod has been taken over by MrBabbelen

Will it now get updated to your name and link to a new mod page?



Quote
However... this one is not merely an update. This one cleverly hacks into the custom profile fields so as not to add a new column to the database nor edit any templates. In essence, a rewrite, It still retains the name, image, and language strings.

Awesome!

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #5 on: September 01, 2011, 11:55:03 PM »
Quote
Will it now get updated to your name and link to a new mod page?
That once is gone.

See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #6 on: September 01, 2011, 11:58:59 PM »
I've uploaded it to my file repository. I'll PM you the link if that's fine.
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #7 on: September 02, 2011, 12:03:48 AM »
I've uploaded it to my file repository. I'll PM you the link if that's fine.

That's fine, but it will get posted on smf for everyone to use eventually right?

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #8 on: September 02, 2011, 12:07:44 AM »
Yes, but it must be approved first. Which can take... ages.
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #9 on: September 02, 2011, 12:11:15 AM »
Yes, but it must be approved first. Which can take... ages.

Ok, pm me your paypal address too, thanks!

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #10 on: September 02, 2011, 12:14:39 AM »
kay then
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #11 on: September 02, 2011, 12:19:27 AM »
Ok, it installed without errors, but when I go to my profile and fill in the "PayPal address for users to buy you a beer:
Allows users to reward you for your posts" text box, then click "change profile" it say's my profile has been updated, but the text box where I put my paypal email address is blank again.

I tried it a couple times and it was always the same, says update profile, but paypal email is gone and no beer icon shows up in user box in post.

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #12 on: September 02, 2011, 12:25:42 AM »
You have PHP 5.2.x, then? I think the behavior or the methods I used changed in 5.3.
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #13 on: September 02, 2011, 12:29:47 AM »
testing it on localhost with MAMP PHP Version 5.3.2

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #14 on: September 02, 2011, 12:47:22 AM »
I attached Subs-Beer.php with some changes. Can you replace the one in your Sources directory with it?
« Last Edit: September 06, 2011, 06:20:00 PM by live627 »
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #15 on: September 02, 2011, 08:14:00 AM »
Sorry for the delay getting back to you, I had to sleep  ::)

I replaced the Subs-Beer.php and it worked!

I sent you $25 via paypal...

Thanks!

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #16 on: September 05, 2011, 12:17:30 PM »
Quote
This one cleverly hacks into the custom profile fields so as not to add a new column to the database nor edit any templates. In essence, a rewrite, It still retains the name, image, and language strings.

Wanted to let you know that we just updated our site to SMF 2.0 and I installed your buy me a beer mod along with the one new file you sent me.

Seem to work fine, but it did not seem to save the members paypal email address. I have only checked mine and one of our main helpers profile and seen there profile paypal email address was blank.

Not a big deal at all for us as it's easy enough to let them know that they simply have to fill the email address in again, but thought you may like to know.

Thanks again for getting this mod updated so quickly for us.

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #17 on: September 05, 2011, 04:40:21 PM »
Ok, along with the other problems I sent you a PM about you can add this one to the list. :)

With the buy me a beer mod installed I can not change my profile password.
http://www.simplemachines.org/community/index.php?topic=451460.0

After reading the errors again after I posted them in the above link I thought I wonder if it could be related to the beer mod so I un installed the mod and then I was able to change my profile password.

Please let me know when you have it all working and I will give it another try.

Thanks again for all the work you have done so far on it.

Offline Illori

  • Doc Writer
  • SMF Master
  • *
  • Posts: 25,929
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #18 on: September 05, 2011, 05:06:08 PM »
since live627 is not a charter member any longer he would not be able to view that thread, you should copy the error messages to this thread.

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #19 on: September 05, 2011, 05:12:46 PM »
since live627 is not a charter member any longer he would not be able to view that thread, you should copy the error messages to this thread.

Ok, I will try that...

Here is a copy of the other post where I was having a problem changing my forum password, thanks Illori. :)

------------------------------------

When I try to change my admin password I get direct to a page that says...

An Error Has Occurred!
The database value you're trying to insert does not exist: value

Then in the error log I see this...

Quote
http://appliancejunk.com/forums/index.php?action=profile;area=account;u=1;saveThe database value you're trying to insert does not exist: value
Function: makeCustomFieldChangesFile: /home/applianc/public_html/forums/Sources/Profile-Modify.php
Line: 1335



http://appliancejunk.com/forums/index.php?action=profile;area=account;u=1;save8: Undefined variable: valueFile: /home/applianc/public_html/forums/Sources/Subs-Beer.php
Line: 79

http://appliancejunk.com/forums/index.php?action=profile;area=account;u=1;save8: Undefined variable: valueFile: /home/applianc/public_html/forums/Sources/Subs-Beer.php
Line: 77

http://appliancejunk.com/forums/index.php?action=profile;area=account;u=1;save8: Undefined variable: valueFile: /home/applianc/public_html/forums/Sources/Subs-Beer.php
Line: 69



Edited to add: Seem the buy me a beer mod needs a little more work before it's ready for SMF 2.0
I removed the mod and that seem to take care of my above problem.

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #20 on: September 06, 2011, 03:13:01 AM »
Quote
Seem the buy me a beer mod needs a little more work before it's ready for SMF 2.0
It would also do that in  the betas too, not just stable.

Well, here's Subs-Beer.php again with the fixes for the problems you mentioned. The download link is still active if you have deleted your copy.
« Last Edit: September 06, 2011, 06:19:19 PM by live627 »
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #21 on: September 06, 2011, 08:18:19 AM »
After installing the new Subs-beer.php file when I go to profile I get a white screen with this at the top.

Parse error: syntax error, unexpected '[', expecting ']' in /home/applianc/public_html/forums/Sources/Subs-Beer.php on line 10


Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #22 on: September 06, 2011, 06:18:00 PM »
Crap, a parse error.
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #23 on: September 06, 2011, 06:35:40 PM »
Forgive me if this is a dumb question, but I ask a lot of them. :)

Does the mod download link you first sent me via PM also have the newest Subs-Beer.php in it too?

I was going to download the mod to another computer where I run a test site at localhost to test it instead of trying it on my live site again.


Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #24 on: September 06, 2011, 07:01:52 PM »
Installed mod on test site with the latest Subs-Beer.php file you listed here.

No errors, it saves the paypal email address after updating profile, I can change profile password ok, but I don't see any beer icon showing up anyplace, lol...

I also answered my own question about the PM link you sent me having the latest Subs-Beer.php file, it did not seem too, so unless you tell me different I will just keep doing what I have been doing by replacing the Subs-Beer.php file with the latest one you post here.

Anyway, don't give up yet. You must be really close now, thanks....

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #25 on: September 06, 2011, 07:23:03 PM »
Quote
but I don't see any beer icon showing up anyplace, lol...
Hmm, I had the code backwards :lol:

Quote
I will just keep doing what I have been doing by replacing the Subs-Beer.php file with the latest one you post here
Yep. I have not modified the mod at all.
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #26 on: September 06, 2011, 07:45:33 PM »
That one seem to do the trick.

I have installed the mod on my live site and let my technicians know about it so they can test it out some more. :)

I will marked this topic solved and thanks again buddy...

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #27 on: September 06, 2011, 07:58:55 PM »
:D :)
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #28 on: January 01, 2012, 12:25:43 AM »
Yes, but it must be approved first. Which can take... ages.

The updates to the 'Buy me a Beer' mod have been working great for us.
Is the update still waiting to be approved for the rest of the SMF community or did the ball get dropped?
http://custom.simplemachines.org/mods/index.php?mod=830

Just wondering... :)

Offline Illori

  • Doc Writer
  • SMF Master
  • *
  • Posts: 25,929
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #29 on: January 01, 2012, 06:25:42 AM »
i dont believe the mod was ever submitted to the mod site.

Offline live627

  • SMF Hero
  • ******
  • Posts: 3,322
  • Gender: Male
  • A light for our dream which is worth everything we could envision today and more tomorrow
    • live627 on Facebook
    • @live627 on Twitter
    • livemods
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #30 on: January 01, 2012, 09:55:41 AM »
I forgot to upload it :P will do later today
See a list of my mods

I don't accept support PMs. Ever! Your query will be answered much quicker in the public boards. Why don't I want any PMs asking for support?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #31 on: January 01, 2012, 10:36:09 AM »
I forgot to upload it :P will do later today

Sounds good, thanks.

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #32 on: March 27, 2012, 12:21:21 AM »
i dont believe the mod was ever submitted to the mod site.

Has it been submitted yet?

http://custom.simplemachines.org/mods/index.php?mod=830


Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #33 on: May 09, 2012, 07:45:29 PM »
I forgot to upload it :P will do later today

5 months later...

Just wondering if it ever got done? :)

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #34 on: August 13, 2012, 08:44:28 AM »
Really, nothing!?

Offline TrickyRicky

  • Semi-Newbie
  • *
  • Posts: 35
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #35 on: August 13, 2012, 08:58:24 AM »
Hope this gets submitted


Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #36 on: August 13, 2012, 09:01:01 AM »
The version live627 updated for us has been working great. Would be nice to see the mod page get updated now too.

Offline AMIGAnTOMEK

  • Newbie
  • *
  • Posts: 1
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #37 on: November 16, 2012, 07:02:42 PM »
But where is the file? In attachments i see only Subs-Beer.php. Where is the mod?

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,138
    • appliancejunk on Facebook
    • @appliancejunk on Twitter
    • ApplianceJunk.com
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #38 on: December 03, 2012, 04:59:09 PM »
I forgot to upload it :P will do later today

5 months later...

Just wondering if it ever got done? :)
I forgot to upload it :P will do later today

Sounds good, thanks.

I don't understand. It's been almost a year now and even through the work has been done the mod page has not been updated, why?

Offline Dengsta

  • Newbie
  • *
  • Posts: 1
Re: [Paid] Update 'Buy Me a Beer' mod for SMF 2.0
« Reply #39 on: March 23, 2013, 10:08:41 PM »
Does anybody know of any way to get the updated version of this mod or perhaps some alternative mod that works for 2.0 and beyond?