Advertisement:

Author Topic: Buy Me A Drink  (Read 38406 times)

Offline Xavi-Nena

  • Full Member
  • ***
  • Posts: 458
  • Gender: Female
  • ♥ I am my own malfunction....Xavi-Nena ♥
Re: Buy Me A Drink
« Reply #20 on: May 17, 2009, 10:14:05 PM »
actually i need to manually edit display.template.php, sources/load.php and sources/modsettings.php

i used the 1.0 package download parse instructions for these files because the 1.1 was not working to parse but im guessing that is why my issues lies because i can see the buy a drink admin area but when i check the box and edit the settings and click save it redirects me to the main admin features and config page and it does not stay checked, i do not see any option in my members avatar info area of each post nor is there any info on the profile page to edit the email and such. :)

i cannot wait to get this mod working, i think its a great mod....now i just need to figure it out to use it :)

added: i should add that i am using the ultimate profile mod, if that makes a difference.

Offline Keith Tysinger

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
Re: Buy Me A Drink
« Reply #21 on: May 18, 2009, 01:28:16 AM »
Email those files to me and I will check them out / edit them for the mod.

keith.tysinger@gmail.com

I corrected the parser error, but v 1.0 should be exactly the same, except for a very small missing quote (") in the file.


actually i need to manually edit display.template.php, sources/load.php and sources/modsettings.php

i used the 1.0 package download parse instructions for these files because the 1.1 was not working to parse but im guessing that is why my issues lies because i can see the buy a drink admin area but when i check the box and edit the settings and click save it redirects me to the main admin features and config page and it does not stay checked, i do not see any option in my members avatar info area of each post nor is there any info on the profile page to edit the email and such. :)

i cannot wait to get this mod working, i think its a great mod....now i just need to figure it out to use it :)

added: i should add that i am using the ultimate profile mod, if that makes a difference.
Contact me for all of your website design needs.

Offline Xavi-Nena

  • Full Member
  • ***
  • Posts: 458
  • Gender: Female
  • ♥ I am my own malfunction....Xavi-Nena ♥
Re: Buy Me A Drink
« Reply #22 on: May 18, 2009, 07:45:44 AM »
I am very pleased to report my stubbornness paid off yet again. I found I had put the
                 'BuyMe' => 'ModifyBuyMeSettings',

in the wrong place :) now all is working, thank you for all the help!

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,004
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Buy Me A Drink
« Reply #23 on: May 21, 2009, 06:39:19 AM »

There should be TWO identical lines (blocks of code) like the one above. Remove one of them and you will be all set. Just be sure to remove the whole block from if ... }

Otherwise email me the Display.template.php file and I will edit it for you and email it back to you.



Got it, fixed, thanks
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,004
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Buy Me A Drink
« Reply #24 on: May 21, 2009, 06:54:18 AM »
Oh no. That is embarrassing. I will correct that.

It's in the $languagedir/index.english.php file

$txt['buy_reccomended']='The recommended price is';

You can edit that file or correct it in the admin panel-> language files in SMF 2.0.


I might just add there are 2 lines need edting on this, that edit is needed twice...
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Offline GazOutEast

  • Jr. Member
  • **
  • Posts: 309
  • Gender: Male
  • If it's fixed - I can break it
Re: Buy Me A Drink
« Reply #25 on: May 26, 2009, 03:42:16 AM »
Has anyone tested this on RC1-1 yet?
I have 20:20 vision - I can see anything bigger than 20" x 20"

Offline Keith Tysinger

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
Re: Buy Me A Drink
« Reply #26 on: June 06, 2009, 10:43:55 PM »
Yes. It works fine with RC1-1.


Has anyone tested this on RC1-1 yet?
Contact me for all of your website design needs.

Offline Morp

  • Semi-Newbie
  • *
  • Posts: 42
Re: Buy Me A Drink
« Reply #27 on: June 25, 2009, 12:12:32 PM »
Can anyone make this work with 1.1.9?

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,004
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Buy Me A Drink
« Reply #28 on: July 03, 2009, 05:06:00 AM »
Problems... I had a major problem installing a mod here about a month ago, and I made a big mistake in trying to correct it by going to 2.0 RC1-1, couldn't get ANY mods to work in that version, so decided to go back to 1.1.9... after a lot of cussing and work, finally have everything back to normal except this mod, the package manager gets major errors when I click "Apply "... I really liked this mod, please give me some advice on how to proceed with getting it re-installed... I really hate doing manual installs, but if necessary...

Here's a list of the mods I have...

Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Offline Xavi-Nena

  • Full Member
  • ***
  • Posts: 458
  • Gender: Female
  • ♥ I am my own malfunction....Xavi-Nena ♥
Re: Buy Me A Drink
« Reply #29 on: August 02, 2009, 11:49:48 AM »
I'm sorry man, but this mod has never worked with 1.1.9. There are lots of differences in the two and too much work to make a 1.1.9 version.

Sorry!

Would this cause errors galore once i updated to 1.1.9?

I am missing ./Sources/Profile-Modify.php and ./Sources/ManageSettings.php and had to manuall uninstall it from everywhere else because it gave me over 58k pages of errors. Yes that is 58,000 pages of errors.

Offline Keith Tysinger

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
Re: Buy Me A Drink
« Reply #30 on: August 14, 2009, 09:25:30 PM »
Actually the mod may work with 1.1.9. I have never tested it. If the install doesn't give you any errors, it's a go.


Quote
I am missing ./Sources/Profile-Modify.php and ./Sources/ManageSettings.php and had to manuall uninstall it from everywhere else because it gave me over 58k pages of errors. Yes that is 58,000 pages of errors.

What do you mean you are missing these files? They are included in smf, not the mod.
Contact me for all of your website design needs.

Offline ElectricSquid

  • Full Member
  • ***
  • Posts: 498
  • Gender: Male
  • Forging a forum with blood, sweat, and steel
    • RedneckFabrication.com ...rebuilding the world with Scrap Steel, Duct Tape, & Bailing Wire
Re: Buy Me A Drink
« Reply #31 on: August 19, 2009, 07:55:18 PM »
What a great idea.
I was about to install the "Buy Me A Beer" mod and then I found this.

I would like to do a little customization to it though.
What I would like is to have the ability to use a few of the icons all at once in their own row.
Each item having their own price.

Coffee - $1
  Beer - $2
  Wine - $3
A Shot - $4
  Cigar - $5

How hard do you think this would be to do?

Offline ElectricSquid

  • Full Member
  • ***
  • Posts: 498
  • Gender: Male
  • Forging a forum with blood, sweat, and steel
    • RedneckFabrication.com ...rebuilding the world with Scrap Steel, Duct Tape, & Bailing Wire
Re: Buy Me A Drink
« Reply #32 on: August 21, 2009, 04:37:39 PM »
Forget my last post, I found an easy way to do it using Karl Bensons "Buy Me A Beer" mod.
When I tried to install this mod, I had Test Failed on each file it was going to modify, LOL :P
My forum is very modified with a lot of custom coding, so it's no surprise this happened.

The "Buy Me A Beer" mod, on the other hand, is very light compared to this one, and installed without issue on SMF 1.1.10. Changing the price is hardcoded, but for me, that was not an issue.

It was also very easy to customize it to allow multiple icons with different prices.
For my forum, it fits right in very well that way.

Offline ElectricSquid

  • Full Member
  • ***
  • Posts: 498
  • Gender: Male
  • Forging a forum with blood, sweat, and steel
    • RedneckFabrication.com ...rebuilding the world with Scrap Steel, Duct Tape, & Bailing Wire
Re: Buy Me A Drink
« Reply #33 on: August 21, 2009, 04:42:59 PM »
Actually the mod may work with 1.1.9. I have never tested it. If the install doesn't give you any errors, it's a go.


Quote
I am missing ./Sources/Profile-Modify.php and ./Sources/ManageSettings.php and had to manuall uninstall it from everywhere else because it gave me over 58k pages of errors. Yes that is 58,000 pages of errors.

What do you mean you are missing these files? They are included in smf, not the mod.

I had the same problem.
SMF 1.1.10
Those files do not exist in that SMF version.

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,004
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Buy Me A Drink
« Reply #34 on: October 14, 2009, 02:53:26 PM »
After an all-night session, a little cussing, and much trial & error, I have this module functioning properly on...

--= SMF 2.0 RC2  8) =--


Man, you've no idea how eagerly I've been awaiting SMF 2.0 to go final, I love the concept of this module and although I haven't been able to follow all the way through in testing for errors in PayPal functionality (I only have one PayPal account and don't really have much inclination to learn about "sandboxing" it) I'll just keep it in the development site for a while, maybe somebody will help me test that part of it later.

After all is said and done, I'll attempt to explain exactly what needs doing in the fewest steps possible to get this bad boy up and running on 2.0 RC2, and hopefully the author will be watching this thread closely and make the necessary adjustments to the install package...

First, as the install package is now, the only error you get on "test" install is ./Themes/default/Display.template.php, the 2.0 RC2 version has an extra section very near where the  BuyMeADrink installer currently looks to make its edit, the attached Display.template.php file shows you exactly where to put the edit...

Secondly, there is another flaw in the installer which will not be apparent until you actually try to modify your profile to enable "BuyMe" functionality, you'll get a database error, to remedy the situation download the attached install20.php file and upload to the root SMF 2.0 RC2 directory and execute it by accessing the page directly with your web browser, this file has the necessary code changes and should work fine for any install using MySQL...

Like I said it took me all night to figure out but you don't have to go thru that here if you pay heed to these two simple steps, and btw it should go smoother if you execute/upload both of these edits BEFORE you go beyond the "test" install using the SMF package manager, if you mess it up and have to start over it's a major pain to clean up a previous attempt at using the package manager unsuccessfully... just do the two steps described above first, then go ahead and use the package manager to execute the other edits & extractions from the zip file and it should be a successful install although it says the Display.template.php file has errors...

Oh yes, you can see the results of my night's work on my test site here:
eMarketing Exchange (development site)

« Last Edit: November 17, 2009, 04:44:50 PM by bperry921 »
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,004
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Buy Me A Drink
« Reply #35 on: November 17, 2009, 06:57:40 PM »
After an all-night session, a little cussing, and much trial & error, I have this module functioning properly on...

--= SMF 2.0 RC2  8) =--


Man, you've no idea how eagerly I've been awaiting SMF 2.0 to go final, I love the concept of this module and although I haven't been able to follow all the way through in testing for errors in PayPal functionality (I only have one PayPal account and don't really have much inclination to learn about "sandboxing" it) I'll just keep it in the development site for a while, maybe somebody will help me test that part of it later.

After all is said and done, I'll attempt to explain exactly what needs doing in the fewest steps possible to get this bad boy up and running on 2.0 RC2, and hopefully the author will be watching this thread closely and make the necessary adjustments to the install package...

First, as the install package is now, the only error you get on "test" install is ./Themes/default/Display.template.php, the 2.0 RC2 version has an extra section very near where the  BuyMeADrink installer currently looks to make its edit, the attached Display.template.php file shows you exactly where to put the edit...

Secondly, there is another flaw in the installer which will not be apparent until you actually try to modify your profile to enable "BuyMe" functionality, you'll get a database error, to remedy the situation download the attached install20.php file and upload to the root SMF 2.0 RC2 directory and execute it by accessing the page directly with your web browser, this file has the necessary code changes and should work fine for any install using MySQL...

Like I said it took me all night to figure out but you don't have to go thru that here if you pay heed to these two simple steps, and btw it should go smoother if you execute/upload both of these edits BEFORE you go beyond the "test" install using the SMF package manager, if you mess it up and have to start over it's a major pain to clean up a previous attempt at using the package manager unsuccessfully... just do the two steps described above first, then go ahead and use the package manager to execute the other edits & extractions from the zip file and it should be a successful install although it says the Display.template.php file has errors...

Oh yes, you can see the results of my night's work on my test site here:
eMarketing Exchange (development site)



Update.... the above scenario works great for the Charter release of SMF 2.0 RC2, now I need some assistance with the public release of 2.0 RC2... I put the edit described in the SMF support site instructions into the public version of Display.template.php and it causes a template parse error on line 636. Not sure but I think there is a missing quote or something... I've tried several times but I'm just not PHP savvy enough to correct the problem... help... I know already that it operates great on 2.0 RC2, just this one little bug to squash
« Last Edit: November 17, 2009, 10:11:21 PM by bperry921 »
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,004
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Buy Me A Drink
« Reply #36 on: November 21, 2009, 03:22:16 AM »
Help? Read previous message.
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,004
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Buy Me A Drink
« Reply #37 on: November 24, 2009, 03:47:21 PM »

Update.... the above scenario works great for the Charter release of SMF 2.0 RC2, now I need some assistance with the public release of 2.0 RC2... I put the edit described in the SMF support site instructions into the public version of Display.template.php and it causes a template parse error on line 636. Not sure but I think there is a missing quote or something... I've tried several times but I'm just not PHP savvy enough to correct the problem... help... I know already that it operates great on 2.0 RC2, just this one little bug to squash


Would really like to get my problem squared away BEFORE SMF 2.0 goes final, sigh

You awake Keith? It's got to be a simple syntax error because I can upload the modified Display.template.php I used from the Charter version and all is fine with this mod but problems elsewhere in the system because it's not the Public release of Display.template.php, need some advice on what to look for in the edit your mod is attempting to write.

Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,004
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Buy Me A Drink
« Reply #38 on: November 30, 2009, 12:27:40 AM »

Would really like to get my problem squared away BEFORE SMF 2.0 goes final, sigh

You awake Keith? It's got to be a simple syntax error because I can upload the modified Display.template.php I used from the Charter version and all is fine with this mod but problems elsewhere in the system because it's not the Public release of Display.template.php, need some advice on what to look for in the edit your mod is attempting to write.



Update... got it fixed, seems there is no bug... All I did was un-install ALL mods, re-upload a fresh copy of Display.template.php... then re-install the mods again making sure to have latest version of each one... seems to have worked... having a few error messages in the log but NOT from this mod, it seems aok so far...

Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,004
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Buy Me A Drink
« Reply #39 on: January 11, 2010, 03:00:04 PM »
Would like to see the icon on Profile Summary as well as posts, but judging from the response to previous posts about this mod, the author isn't inclined to respond to this either, sigh...
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard