PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
sak
Client


Joined: Jul 06, 2005
Posts: 160

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

Only registered users can see links on this board!
Get registered or login to the forums!


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.
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team


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

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

Only registered users can see links on this board!
Get registered or login to the forums!


This block should work with the Treasury module on.
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5710

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

Thanks, nuken. Been a long time since I wrote that...
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


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

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

You see, good work never goes unnoticed. I use it on my site and it works like a champ....
View user's profile Send private message Send e-mail Visit poster's website
sak
Client


Joined: Jul 06, 2005
Posts: 160

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

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.
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team


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

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

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....
View user's profile Send private message Send e-mail Visit poster's website
unicornio
Worker
Worker


Joined: Aug 13, 2009
Posts: 157

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

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
RavenNuke(tm) Development Team


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

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

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....
View user's profile Send private message Send e-mail Visit poster's website
unicornio
Worker
Worker


Joined: Aug 13, 2009
Posts: 157

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

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.
View user's profile Send private message
sak
Client


Joined: Jul 06, 2005
Posts: 160

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

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?
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team


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

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

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

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website
sak
Client


Joined: Jul 06, 2005
Posts: 160

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

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 to the forums!


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.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2010 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum