dkp stats

Here you can find plenty of help with your general coding needs and projects
If it is about a specific program, use the corresponding forum
DO NOT ask basic questions such as "How do I print a variable", use Google for that

dkp stats

Postby backspace » Sun May 04, 2008 8:30 pm

If have downloaded DKP stats
can some 1 tell me what i have to change in the config file so it will work

<?php

/**
* WoWRoster.net DKPStats
*
* DKPStats is a Roster addon that will show dkp from your EQDKP site
* within the roster
*
* LICENSE: Licensed under the Creative Commons
* "Attribution-NonCommercial-ShareAlike 2.5" license
*
* @copyright 2006-2007 PoloDude
* @license http://creativecommons.org/licenses/by-nc-sa/2.5 Creative Commons "Attribution-NonCommercial-ShareAlike 2.5"
* @version 1.0.0
* @svn SVN: $Id: conf.php 177 2007-07-09 08:18:02Z PoloDude $
* @author PoloDude
* @link http://www.wowroster.net/Forums/viewforum/f=112.html
* @since 01/11/2006
*
*/

//where is the itemstats lib
$addon_conf['DKPStats']['itemstatsLib'] = "./itemstats";
$addon_conf['DKPStats']['itemstatsCSS'] = "itemstats.css";
$addon_conf['DKPStats']['itemstatsLibFile'] = "wowroster_itemstats.php";

//Is eqdkp data in another database the the roster?
$addon_conf['DKPStats']['eqdkpdb'] = true;

//eqdkp table prefix (this is needed no matter what set above)
$addon_conf['DKPStats']['eqdkp_prefix'] = 'eqdkp_'; // MYSQL Database Table prefix for EQDKP tables. (Must match EQDKP setup)

// If using a different database fill these in
$addon_conf['DKPStats']['db_user2'] = 'eqdkpdbuser'; // MYSQL Database Username
$addon_conf['DKPStats']['db_passwd2'] = 'eqdkpdbpwd'; // MYSQL Database Password
$addon_conf['DKPStats']['db_name2'] = 'eqdkpdbname'; // MYSQL Database Name
$addon_conf['DKPStats']['db_host2'] = 'localhost'; // MYSQL Server Address (localhost if the database is on the same machine)

#--[ EQDKP INSTALL CONFIG ]--------------------------------------------------------
$addon_conf['DKPStats']['eqdkp_install'] = 'http://dkp.resurgam.van-z.net/'; // Set this to the full path of your EQDKP Install

/****** DON'T CHANGE ANYTHING BELOW! ******/

//Version Check
$addon_conf['DKPStats']['Version'] = '1.0.0';

//Create connection to eqdkp db
$eqdkpdb = object;
if ($addon_conf['DKPStats']['eqdkpdb']){
$eqdkpdb = new wowdb;
$eqdkp_db = $eqdkpdb->connect($addon_conf['DKPStats']['db_host2'], $addon_conf['DKPStats']['db_user2'], $addon_conf['DKPStats']['db_passwd2'], $addon_conf['DKPStats']['db_name2']);
if( !$eqdkp_db )
{
die(basename(__FILE__).': line['.(__LINE__).']<br />'.'Could not connect to database "'.$addon_conf['DKPStats']['db_name2'].'"<br />MySQL said:<br />'.$eqdkpdb->error());
}
}else{
$eqdkpdb = $wowdb;
}


?>
backspace
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Tue Apr 01, 2008 10:28 pm

dkp stats

Postby zanix » Mon May 05, 2008 1:20 am

How about post in the forum for DKP stats?
http://www.wowroster.net/Forums/viewforum/f=112.html
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to General Code Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron