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
sak
Worker
Worker



Joined: Jul 06, 2005
Posts: 172

PostPosted: Wed Oct 28, 2009 3:20 pm Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]

That meter is a pretty cool feature. I think it'd be great if Treasury had that as an on/off option. After I get my treasury up I'm going to see if I can get that code in there and get it functioning. I wouldn't know how to make it an option though under the admin interface.

_________________
[ Only registered users can see links on this board! Get registered or login! ] [ Only registered users can see links on this board! Get registered or login! ] 
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team



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

PostPosted: Thu Oct 29, 2009 8:42 am Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]

This block should work with the Treasury module on.

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6433

PostPosted: Thu Oct 29, 2009 10:26 am Reply with quote

Thanks, nuken. Been a long time since I wrote that...

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
nuken







PostPosted: Thu Oct 29, 2009 10:34 am Reply with quote

You see, good work never goes unnoticed. I use it on my site and it works like a champ....
 
sak







PostPosted: Sun Nov 01, 2009 7:09 pm Reply with quote

That's cool -- I had never seen that one before. I get this message, however, when using it with CA Treasury:

Quote:
There is an error in your SQL configuration. Check modules/Donations/config.php for the correct SQL settings


I actually created a thread in the for hire forum to see if someone could help me get a nice thermometer added to the CA Treasury. I'm willing to pay well for it.
 
nuken







PostPosted: Mon Nov 02, 2009 2:14 pm Reply with quote

If you would like, I can send you a copy of my modified nuke treasury that I use on my site. It has the thermometer. Mine does not use the same database names as the CA one does. That is probably where the issue with the block is you are having. I think CA Treasury uses the prefix before the db table....
 
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1122

PostPosted: Mon Nov 02, 2009 3:10 pm Reply with quote

Nuke, I dont know your version but this block is calling config.php which I think it is a dangerous module. I mean the old Nuke Treasure Module, if someone exploit or attack this module it will get all your information from the site. I think CA Treasure is better than the old Nuke Treasure Module. My question is. How can I use this Thermometer block with CA Treasury?

Should I take the config.inc.php from the old Nuke Treasure Module and upload to Donation module? I think it is an idea for sak if he still wants to use this block.
 
View user's profile Send private message
nuken







PostPosted: Mon Nov 02, 2009 3:43 pm Reply with quote

The block uses the original databases. I think but not sure, that the CA Treasury uses different names for the database and also adds the prefix. The block would need to be changed to use the correct database names. You should be able to look at the block that came with CA Treasury and figure out how it needs to be changed....
 
hicuxunicorniobestbuildpc







PostPosted: Mon Nov 02, 2009 5:15 pm Reply with quote

Nuken, I spent some time trying to figure it out how to show thermometer on that block. I already did it and it was not so complicated but I had to do some changes.
 
sak







PostPosted: Mon Nov 02, 2009 7:05 pm Reply with quote

Did you get this working without having to use the old config file? eg. did you get it working with CA treasury completely? Could you share the files if so?
 
nuken







PostPosted: Mon Nov 02, 2009 9:37 pm Reply with quote

Here you go sak. See if this one will work for you.

http://trickedoutnews.com/nuken/Donation_Thermometer.zip
 
sak







PostPosted: Tue Nov 03, 2009 1:12 pm Reply with quote

Thank you very much, nuken. I got it all working. I took the code you provided and adapted it into the standard CA treasury block. You can view it at [ Only registered users can see links on this board! Get registered or login! ]

Seems to be working great, now I just need to send out a few emails and solicit some donations to make sure Very Happy I'm going to start tweaking the graphics side of it and perhaps the text too to make it more graduated by dollar amount or something. I'm not sure but we'll see. Whatever I come up with I would be happy to make available for anyone who wants it.

If anyone wants what's up there right now (wasn't hard to create) I'd be happy to send you the block as well.
 
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 ©