You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 433 guest(s) and 32 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - I want the Nukecops "suport Us" block!!! lol [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Wrecit
Nuke Soldier
Nuke Soldier


Joined: Aug 16, 2004
Posts: 32


PostPosted: Fri Jan 11, 2008 10:35 am Reply with quoteBack to top

Hey all where can I find the "Suport Us" block like NukeCops uses. I have seen it on a few sites and would like to set one up on my site.
Find all posts by WrecitView user's profileSend private message
movieman
Captain
Captain


Joined: Feb 29, 2004
Posts: 302

Location: New York

PostPosted: Fri Jan 11, 2008 4:09 pm Reply with quoteBack to top

Thats the nuke treasury module I have a copy of it here.
http://www.powrhost.com/hosting/modules.php?name=Downloads&d_op=viewdownload&cid=2#cat
Find all posts by moviemanView user's profileSend private messageSend e-mailAIM AddressMSN Messenger
Wrecit
Nuke Soldier
Nuke Soldier


Joined: Aug 16, 2004
Posts: 32


PostPosted: Fri Jan 11, 2008 8:16 pm Reply with quoteBack to top

ok got it all loaded now for the real dumb question

in the read me file it says

"Edit the modules/Donations/config.inc.php and enter the approporiate
sql credentials."

can someone tell me what this means??? Where do I find my sql credentials?

and more to the point after I figure out what my credentials are where in the code do I enter them?

Quote:

/* Database configuration */
$hostname_ipnppd = "localhost";
$database_ipnppd = "";
$username_ipnppd = "";
$password_ipnppd = "";

$board_config = array();
global $ipnppd;

$ipnppd = mysql_pconnect($hostname_ipnppd, $username_ipnppd, $password_ipnppd);
if( $ipnppd )
{
mysql_select_db($database_ipnppd, $ipnppd);
$query_cfg = "SELECT * FROM config WHERE subtype = ''";
$cfgset = mysql_query($query_cfg, $ipnppd);

while ( $cfgset && $row = mysql_fetch_assoc($cfgset))
{
$tr_config[$row['name']] = $row['value'];
}
} else
{
echo "<br><br>NukeTreasury FATAL ERROR: Unable to connect to SQL database. Please check your settings in modules/Donations/config.php<br><br>";
}

?>
Find all posts by WrecitView user's profileSend private message
movieman
Captain
Captain


Joined: Feb 29, 2004
Posts: 302

Location: New York

PostPosted: Sat Jan 12, 2008 7:25 am Reply with quoteBack to top

it means change these files to you database and whatever your username and pass is for that database. normally you would create a seperate database for this module so all your data is stored to that database only it will still work with your phpnuke site as long as all the data is correct, those are the only files you need to change .
examle:
/* Database configuration */
$hostname = "localhost";
$database_= "yourdataase name";
$username= "your username";
$password = "your password for that database or whatever your host assigned you.";
Find all posts by moviemanView user's profileSend private messageSend e-mailAIM AddressMSN Messenger
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.047 Seconds - 431 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::