Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Treasury
Author Message
angloswede
Hangin' Around



Joined: Feb 10, 2007
Posts: 27

PostPosted: Mon Jan 03, 2011 11:16 am Reply with quote

My website users have asked me to put up a paypal 'Donate' link, which I did.
Installed 'Treasury', set it all up etc etc, worked very well.
However.......it's decided to play around and mess up the Site Info block Embarassed

Ater install

Image

Before

Image

Is there another PayPal type script that I can use instead.
I also tried to use InfoBox CSS with gave me the same results
Cheers
 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Mon Jan 03, 2011 12:18 pm Reply with quote

There are so many version of treasury floating around, it's hard to say. I can't even remember where I got the one I've used for years... lol

Did you modify the site info block? or it only breaks when the donation block is active? Sounds like there is some strange database stuff going on. I actually use a separate db just for my donations so you may want to try that if you have one available thru your host.
 
View user's profile Send private message Visit poster's website
angloswede







PostPosted: Mon Jan 03, 2011 12:33 pm Reply with quote

Hi,
Thanks for your reply.
I got this version of treasury from the download section here.
I installed a seperate database just for the four tables outside of my RN db.
Didn't modify anything except to get rid of some of the donation statistics

I have checked the databases, no tables in use.
I repaired all the databases anyway, just incase there was a problem. None found.
At first I thought it was a file permission error, but it does sound as though your right - stange goings on in the database.
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Mon Jan 03, 2011 12:38 pm Reply with quote

code-authors.com has one that has been updated in their Digital Shop that works good. It's only $5.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
spasticdonkey







PostPosted: Mon Jan 03, 2011 12:38 pm Reply with quote

Set $display_errors = true; in config.php and see what is happening. You may also want to try the unmodified donation block in case you broke something there.

Another option is CA PHP Debugger
http://www.code-authors.com/shop/view-item/16-CA-PHP-Debugger-v103.html
which will display info about broken queries and undeclared variables which are likely the cause of the problem(s)

Update: lol, looks like we are posting at the same time. That's a good idea nuken, you should probably just buy both scripts Cool
 
angloswede







PostPosted: Mon Jan 03, 2011 1:02 pm Reply with quote

Thanks for your help
I set $display_errors = true; in the config.php file - nothing showed
code-authors sounds like a good bet, can't go wrong at $5
Cheers
Mark

Just have to try to remove all traces of treasury now without wrecking anything even more..... Laughing
 
angloswede







PostPosted: Tue Jan 04, 2011 7:13 am Reply with quote

In the end, I just did this:

Image

No frills, I didn't want running totals or monthly stats, targets names etc.
Created a new block and added the following code in the editor

Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="YOUR EMAIL ADDRESS">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="item_name" value="YOUR EMAIL ADDRESS">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>


Alined it to center and activated it, feel rather chuffed with myself now Very Happy
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Treasury

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©