News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Treasury

Started by Resourcez, December 13, 2007, 12:47:26 AM

Previous topic - Next topic

kamu8recon

I tried to install this twice with no luck, actually the install went in clean as well as setting up the files, but when i browse to my forum homepage I dont see the donate button, I do not have tinyportal installed. I would like some help with this or if their is a tiny portal that would suite my theme that would be very helpful. my site = http://asskikrzrevivl.com/forum/index.php

New 2 forums

BPDFamily.com

#121
Can't saw enough about this mod or the support - first class.  i included a couple of Picts of our installation.

We are having 2 problems that i would like to fix:

1) On pending payments (like e-check), the donations do not show up a the time of the transaction or after the payment clears.  i have to go into the database and edit the records.

2) Members that have a display name different than the username show up unlinked in the donation list - another database fix required.

Any thoughts?





Full size top
Full size bottom

Resourcez

#122
@kamu8recon - you've already received considerable, good advice in some splinter topic.
Treasury, as with most mods, installs on the default template - you need to add the appropriate menu link to your own custom theme, as you were advised.  Best to stick with the topic where you posted. 

@Facing the facts
a) echecks remain pending until cleared by PayPal, as advised in the ReadMe, and Treasury did not (in that version) pick up the later IPN returned by PayPal.  As per the Readme, you need to make a manual adjustment.
[edit]you don't need to go into your database - you edit the donation using the edit facility provided by Treasury[/edit]

Numerous attempts by me to collect that info failed, and I now know why - PayPal has had a problem for the past 2 months and is failing to send that return info, and there are a lot of peeved users waiting for them to fix it.  In the 2.07 release I have added a solution that should work, if and when PayPal get their act together.

b) yes, I can adjust that - it will compare the id's rather than the names since SMF has this double name system.
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

weightman

#123
Hi, I am trying out this mod. It is very, very cool but I do have one problem. If you click the 'Make A Donation" button from my Treasury page it takes you to my site home page (CMS-not forum) rather than taking you to Paypal. If you click the "Paypal Donate" button instead, down in the left corner, it seems to work correctly. Can anyone help fix this issue? I am also wondering what the difference is supposed to be between the two different paypal buttons.

Thanks very much in advance.

Forum: http://weightliftingexchange.com/index.php?option=com_smf&Itemid=39

Link/Home page it is redirecting to from "Make A Donation" button: http://weightliftingexchange.com/index.php?action=treasury#MakeDonation

Resourcez

#124
Version 2.07 Released

@Facing the facts - should resolve your two issues.
[edit]in 2.07, if you click edit and then save for each of the donations not hyperlinked, you should find they will be automagically fixed[/edit]

@weightman - the initial button is for an anchor and is there to take people to the donation button further down the page, which helps when there is a large preamble.  Naturally, it is coded as an SMF link.
Since your link is for registered users only, I can only presume you need to convert the link to one suitable for Mambo.
Perhaps index.php?option=com_smf&Itemid=39#MakeDonation
Code is the hyperlink on line 69 of Treasury.template.php in v2.07
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

weightman

Resourcez, thanks very much. I didn't mean to have it for registered users only- just forgot to set permissions. I took care of that. Changing the link to your suggestion makes it go to the forum home page now, which is a little better but not as good as going to the proper place.

Actually, I would prefer, since my text is short on the page, to have only one button- the one that takes them to paypal and move it up to replace the button that is supposed to move them down the same page. Could you please tell me how to do that?

Thanks very much

ApplianceJunk

Quote from: weightman on February 23, 2008, 11:29:17 AM
Resourcez, thanks very much. I didn't mean to have it for registered users only- just forgot to set permissions. I took care of that. Changing the link to your suggestion makes it go to the forum home page now, which is a little better but not as good as going to the proper place.

Actually, I would prefer, since my text is short on the page, to have only one button- the one that takes them to paypal and move it up to replace the button that is supposed to move them down the same page. Could you please tell me how to do that?

Thanks very much

Sounds like somethings we changed on ours.
This is just off the top of my head, but I think it was Treasury.template.php that I did the edits in.


SgtMic

I just removed that top paypal icon and use the one on the lower left side.
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Resourcez

#128
Quote from: Resourcez on February 23, 2008, 12:48:50 AM
Code is the hyperlink on line 69 of Treasury.template.php in v2.07
I had thought this was very specific  ???

Anyway, now that I can see it, the link you gave was to the forum, not Treasury, so of course the change to it was wrong :)

index.php?option=com_smf&Itemid=39&action=treasury#MakeDonation - tested and works.

It's been centuries since I used Mumbo, so I have virtually forgotten it's codebase.
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

weightman

I had thought this was very specific ?
Sure, it was. I just don't know much PHP. The link you just provided works properly though. I still would like to replace the top center button with the bottom left one if possible- so there is only one button and which takes you to paypal. I looked at the code but am unsure how to make the change. If you get the time to tell me how to do it, I would really appreciate it though things are pretty good now with the fixed link you provided. I assume I would just need to cut a little code and paste it over some other code....

Again, thanks for the fantastic mod and support.

Resourcez

Change line 69 of version 2.07 to   <div style="text-align:center;"><a href="index.php?option=com_smf&Itemid=39&action=treasury#MakeDonation"><img src="', $settings['default_images_url'], '/', $tr_config['don_button_top'], '" alt="" style="margin:5px 0px 0px 0px; border:0;', $don_top_image_dims, '" /></a></div>If you don't want the button then change line 69 to //   <div style="text-align:center;"><a href="index.php?option=com_smf&Itemid=39&action=treasury#MakeDonation"><img src="', $settings['default_images_url'], '/', $tr_config['don_button_top'], '" alt="" style="margin:5px 0px 0px 0px; border:0;', $don_top_image_dims, '" /></a></div>
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

orca8767

Hey. I installed your mod, and it works beautifully.

Just one thing. How can I add more things for it to do once somebody has donated, such as add karma or shop credits?
I have the code to add karma and credits, but I don't know where to put it.

weightman

Thanks very much Resourcez. Would it also be possible to turn the TP Block into a Mambo module? I have a html/php/css module in my mambo and tried it inside the module. I got "hacking attempt." My mambo is in the root directory and my forum is in a sub of it. Any tips on how to do this type of thing would be much appreciated. I have scanned the SSI FAQs but this block doesn't seem to use SSI.

Thanks very much

Damian1221

#133
Quote from: orca8767 on February 23, 2008, 06:02:10 PM
Hey. I installed your mod, and it works beautifully.

Just one thing. How can I add more things for it to do once somebody has donated, such as add karma or shop credits?
I have the code to add karma and credits, but I don't know where to put it.

I second this could somebody please explain how I could get this to work and mabey more credits depending on how much you donate?


EDIT:

I seem to have another problem that certain members get the message that they can't access the treasury.  I tried looking in the permissions but there is not one there for the treasury. Also when it installed I didn't get a menu in the Admin panel I had to go to action=treasuryadmin but i've gotten a link in the admin panel on another board

any suggstions?

SgtMic

Damian, what theme are you using? If you are not using the default, you will have to manually install the mod.
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Damian1221

nvm it didn't add to my modification.english.php for some reason

any idea how to add credits though?

SgtMic

No idea on credits or karma.
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Resourcez

@Damian121 - regarding permissions, did you even read the ReadMe, or am I just wasting bandwidth providing it?

As far as the modification.english.php issue, you've probably got the arcade installed or yet another mod which screws up the end of the file so that Treasury can't find the reference point. quite simply, it's not a Treasury issue.
If you have everything under control, you're not moving fast enough.
Bugs HereSupport HereDonationsProPackage Parser
TP 1.1 • SMF 1.1.21/2.0.9 • MySQL 5.6.23 PHP 5.4.42 Apache 2.4.12
(PMs not responded to - I provide a support site)

orca8767

Ok...

So where would I put code to add karma and credits after donating? And how can I set a variable as the amount they donated?

SgtMic

You can set the "set" donations by going to Admin/Treasury/MainConfig
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Advertisement: