TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,055
  • Total Topics: 21,337
  • Online today: 201
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 120
  • Total: 120

Treasury Beta (donations) for SMF/TP

Started by nukebiz, November 28, 2006, 06:01:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kran1um

Oh my bad, I thought it was one I saw from another site that actually had the 'Meter' as in a gauge shaped like a thermometer. Otherwise its good.

nukebiz

#111
Not fancy but elegant - attached is a simple meter in an updated DonationBlock.php which goes in the /treasury/ directory.

Example can be seen here http://resourcez.biz/

than

Hi

Thanks for this add. Works perfect.

;D

URPG

So it's just a donatometer for paypal donations (that can be done with just one line of code?)

nukebiz

Quote from: URPG on December 05, 2006, 10:47:15 AM
So it's just a donatometer for paypal donations (that can be done with just one line of code?)
Not really, it's a full mod package which also includes the block, which was placed here in snippets by one of the moderators.  Probably best I take it elsewhere because that is somewhat confusing.

kran1um

ouch, my domain didnt like that file or the uninstall or the new version, gives me a 500 error, unless I use the old one or disable the block. I think I might have to go in the SQL and fully delete everything.

nukebiz

#116
Not sure why it would give you a 500 error, unless you uploaded it with 777 permissions instead of 644 - the better hosts won't let files execute with 777 permissions, or even 666 for that matter.

As for issues installing / un-installing, I have had issues with both SMF and TP installs, and can't even use webinstall, because the permissions that SMF tries to work with are not compatible with my host's settings, yet none with Treasury, so far.  ???


btw, Treasury is no longer beta - v1.2 is now available, so I have placed the file on my site until I can get it accepted as an SMF mod (will be interesting to see if they accept a hybrid mod).


Edit: subsequent tests, I believe, have shown me why recent some Treasury installs, and also TinyPortal, have been giving me such aggravation during testing with SMF 1.1 Final.

I believe that the SMF 1.1 Final package installer is at fault.  In my case, this leads to files being uploaded with CHMOD permissions of 666 instead of the 644 that my site requires.  As a result, PayPal is prevented from interacting with my IPN return file, and I get those dreaded 500 errors.

It works fine when I CHMOD ipntreas.php to 644.

londonhogfan

I know this is greedy, but it would be a great feature to be able to change someones member group based on the amount they donate.  Changing primary or secondary options would be an awesome update.  Just make the group removed after a month.  I don't know how hard it would be to do that... just thought it would be nice.


londonhogfan


This website is proudly hosted on Crocweb Cloud Website Hosting.