Plz forgive the noobish quesion but I need install help...

Shows QDKP data and keeps a history of that data on a per update basis.

Moderator: Carasak

Plz forgive the noobish quesion but I need install help...

Postby MoreBloodWine » Sun May 25, 2008 11:16 pm

Ok, so I have WoWRoster installed and successfully working. Anyway I downloaded the QDKPViewer addon for roster and dumped it into the addon folder of WOWRoster like i read here but the thing is I have no idea how to use / install the QDKPViewer for WOWRoster, any help would be greatly appreciated.

Edit: I've looked everywhere on the boards here including the wikki page and I cant seem to find anything on how to install / use the QDKPViewer. So it's either not here or burried so deep on this site that I cant find it.
Last edited by MoreBloodWine on Sun May 25, 2008 11:17 pm, edited 2 times in total.
MoreBloodWine
WR.net Apprentice
WR.net Apprentice
 
Posts: 33
Joined: Sun May 25, 2008 6:36 pm

Re: Plz forgive the noobish quesion but I need install help.

Postby Gator81 » Mon May 26, 2008 4:25 am

this may not be what you are asking, but did you goto wowroster and then click on utilities and control panel and then put in your admin password and then look on the right side and see an option for addons then select the dkp addon to activate it, then you can go back to the control panel and look towards the bottom, there should be a list of all the addons and if you click on it there is usually another menu that comes up to let you config the program.


thats kinda from memory since i am not looking at mine right now, but I hope it gets you close to what your looking for...

good luck
Gator81
WR.net Journeyman
WR.net Journeyman
 
Posts: 115
Joined: Fri Jun 01, 2007 4:44 am

Re: Plz forgive the noobish quesion but I need install help.

Postby MoreBloodWine » Mon May 26, 2008 4:50 am

I'm talking about instaling it in 1.7.3 not the 2.0 with the no disrespect but hideous look to it. I prefer the layout of 1.7.3 over that of the 2.0.

Anyway, likes and dislikes aside the QDKPViewer is supposed to work with 1.7.3 I just dont know how to install it on 1.7.3
MoreBloodWine
WR.net Apprentice
WR.net Apprentice
 
Posts: 33
Joined: Sun May 25, 2008 6:36 pm

Plz forgive the noobish quesion but I need install help...

Postby zanix » Mon May 26, 2008 12:59 pm

I don't see this addon for Roster 1.7.3
I only see a download for 2.0

http://www.wowroster.net/Downloads/details/id=119.html
On the download page, "Compatibility" reads "WoWRoster 2.0.0 AddOn"
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

Re: Plz forgive the noobish quesion but I need install help...

Postby MoreBloodWine » Mon May 26, 2008 5:14 pm

zanix wrote:I don't see this addon for Roster 1.7.3
I only see a download for 2.0

http://www.wowroster.net/Downloads/details/id=119.html
On the download page, "Compatibility" reads "WoWRoster 2.0.0 AddOn"
Ya I looked again after my post and saw that to, I coulda swore it was also for 1.7.3 ;-/

Anywayto get it o work with that, if mods are made right and based off the same code they should be backwards compatible.
MoreBloodWine
WR.net Apprentice
WR.net Apprentice
 
Posts: 33
Joined: Sun May 25, 2008 6:36 pm

Re: Plz forgive the noobish quesion but I need install help.

Postby Carasak » Mon May 26, 2008 7:30 pm

sorry to disappoint you but i made no 1.7.3 version of this. and dont have it planned atm to make one.

about the backwards compatibility it sadly aint that easy. but feel free to grab my code and make a roster 1.7.3 version out of it.
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Re: Plz forgive the noobish quesion but I need install help.

Postby MoreBloodWine » Mon May 26, 2008 8:04 pm

Carasak wrote:sorry to disappoint you but i made no 1.7.3 version of this. and dont have it planned atm to make one.

about the backwards compatibility it sadly aint that easy. but feel free to grab my code and make a roster 1.7.3 version out of it.
As sad as it seems my lvl of PHP knowledge doesnt even come close to being that understanding of backwards engineering. On a related not maybe you can point me in the right direction with htis next question. I already have a QDKP web page in place it's just not compatible to be integrated with WoWRoster so with that said here goes what should be my final question regharding this, well final two questions.

1. The "buttons" that lead to the diff parts of the "site" like roster, keys etc could you please make me one in the same way with text centered, size & text color etc. that says ( DKP Roster ) please... without the () of course.

Image

2. With that said, see in the middle block of the pic where the Keys button is, assuming I can get a button that says DKP Roster to match the already existing buttons where in what I'm assuming would be the index.php file would the HTML for the button image need to go to be placed in the middle block but just under the Keys button ?

I hope all this makes sense and Ty for your time...
MoreBloodWine
WR.net Apprentice
WR.net Apprentice
 
Posts: 33
Joined: Sun May 25, 2008 6:36 pm

Plz forgive the noobish quesion but I need install help...

Postby PleegWat » Mon May 26, 2008 8:12 pm

There is no easy way to add buttons to 1.7.3, but check out the forum link addon.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: Plz forgive the noobish quesion but I need install help...

Postby MoreBloodWine » Mon May 26, 2008 9:20 pm

PleegWat wrote:There is no easy way to add buttons to 1.7.3, but check out the forum link addon.
Obviously problems would arise if I wanted to enable certain features again but I have thigns the way I like it minus the button I want to add. I just need to know where in what I assume would be the index.php file the following code. I know it would need to be changed a bit so not to error on me thats the easy part, like I said I would just need to know where to put the following code and in what file assuming it woulnt be the index.php file so it would be i nthe middle block but just below the Keys button.

<a href="http://www.politicalchaos.net/qdkp/index.php"><img src="http://www.mysite.com/button.jpg"></a>

Edit: I just realized those arent image buttons ;-/

But ya I'd still like to find a way to do this, I check out the forum link addon you talked about and while that could be "tweaked" to work it doesnt position the button liek I want it, effectively I want do get rid of the Blue addon text on the index page and move the button this mod creates up to the middle block and have it placed just below the Keys button. Surely that can be done somehow.
Last edited by MoreBloodWine on Mon May 26, 2008 9:55 pm, edited 1 time in total.
MoreBloodWine
WR.net Apprentice
WR.net Apprentice
 
Posts: 33
Joined: Sun May 25, 2008 6:36 pm

Re: Plz forgive the noobish quesion but I need install help.

Postby Carasak » Mon May 26, 2008 10:13 pm

download addon here
http://www.wowroster.net/Downloads/details/id=80.html

change config.php to point to your dkp viewer
addon_conf['forum']['path'] = ' your viewer url';

Ask original author 1st if he minds you changing his work here:
http://www.wowroster.net/Forums/viewforum/f=95.html

change localization.php files to
$wordings['enUS']['forum'] = 'DKP Roster';
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Re: Plz forgive the noobish quesion but I need install help.

Postby MoreBloodWine » Tue May 27, 2008 12:02 am

Carasak wrote:download addon here
http://www.wowroster.net/Downloads/details/id=80.html

change config.php to point to your dkp viewer
addon_conf['forum']['path'] = ' your viewer url';

Ask original author 1st if he minds you changing his work here:
http://www.wowroster.net/Forums/viewforum/f=95.html

change localization.php files to
$wordings['enUS']['forum'] = 'DKP Roster';


I already actualy figgured that much out, heck that was the easy part. Like I said after realizing those buttons arent images at all I had to re-think this whole idea. So like I was saying in the edit of my last post.

I just realized those arent image buttons ;-/

But ya I'd still like to find a way to do this, effectively what I want to do is get rid of the blue addon text on the index page (when viewing the main roster) and move the button this mod creates up to the middle block and have it placed just below the Keys button. Surely that can be done somehow.
Last edited by MoreBloodWine on Tue May 27, 2008 12:05 am, edited 3 times in total.
MoreBloodWine
WR.net Apprentice
WR.net Apprentice
 
Posts: 33
Joined: Sun May 25, 2008 6:36 pm

Plz forgive the noobish quesion but I need install help...

Postby zanix » Tue May 27, 2008 1:02 am

For Roster 1.7.3...
The blue "AddOns" text is added in lib/menu.php

menu.php also handles the placement of the all buttons
The buttons not in the "AddOns" section are hard coded
The addon buttons are placed however they are scanned
menu.php scans the addon directory looking for a file named menu.php in each addon folder
menu.php then scans the addon's menu.php and adds a button to the menu
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

Re: Plz forgive the noobish quesion but I need install help...

Postby MoreBloodWine » Tue May 27, 2008 1:51 am

zanix wrote:For Roster 1.7.3...
The blue "AddOns" text is added in lib/menu.php

menu.php also handles the placement of the all buttons
The buttons not in the "AddOns" section are hard coded
The addon buttons are placed however they are scanned
menu.php scans the addon directory looking for a file named menu.php in each addon folder
menu.php then scans the addon's menu.php and adds a button to the menu


Ok so removing the blue AddOns text should be fairly easy as you've described. But how about changing their placement to any of the existing three blocks where the existing buttons are. From the way it sounds it's all in the menu.php file, but I wouldnt even know where to begin looking to get the buttons where I want them (in any of the three blocks where the existing buttons are).
MoreBloodWine
WR.net Apprentice
WR.net Apprentice
 
Posts: 33
Joined: Sun May 25, 2008 6:36 pm

Plz forgive the noobish quesion but I need install help...

Postby zanix » Tue May 27, 2008 2:39 am

The look is hard coded using html tables
menu.php has html and php code mixed together

This is where the top there blocks are coded
Code: Select all
<?php
?>
    <td valign="top" class="row links">
      <ul>
        <li><a href="<?php print $roster_conf['roster_dir']; ?>/index.php"><?php print $wordings[$roster_conf['roster_lang']]['roster']; ?></a></li>
<?php
if( $roster_conf['menu_guild_info'] )
    print 
'<li><a href="'.$roster_conf['roster_dir'].'/guildinfo.php">'.$wordings[$roster_conf['roster_lang']]['Guild_Info'].'</a></li>'."\n";

if( 
$roster_conf['menu_stats_page'] )
    print 
'        <li><a href="'.$roster_conf['roster_dir'].'/indexstat.php">'.$wordings[$roster_conf['roster_lang']]['menustats'].'</a></li>'."\n";

if( 
$roster_conf['menu_tradeskills_page'] )
    print 
'        <li><a href="'.$roster_conf['roster_dir'].'/tradeskills.php">'.$wordings[$roster_conf['roster_lang']]['professions'].'</a></li>'."\n";

if( 
$roster_conf['menu_guildbank'] )
    print 
'        <li><a href="'.$roster_conf['roster_dir'].'/guildbank'.$roster_conf['guildbank_ver'].'.php">'.$wordings[$roster_conf['roster_lang']]['guildbank'].'</a></li>'."\n";
?>
      </ul></td>
<!-- Links Column 2 -->
    <td valign="top" class="row links">
      <ul>
<?php
if( $roster_conf['menu_pvp_page'] && $roster_conf['pvp_log_allow'] )
    print 
'<li><a href="'.$roster_conf['roster_dir'].'/indexpvp.php">'.$wordings[$roster_conf['roster_lang']]['pvplist'].'</a></li>'."\n";

if( 
$roster_conf['menu_honor_page'] )
    print 
'        <li><a href="'.$roster_conf['roster_dir'].'/indexhonor.php">'.$wordings[$roster_conf['roster_lang']]['menuhonor'].'</a></li>'."\n";

if( 
$roster_conf['menu_memberlog'] )
    print 
'        <li><a href="'.$roster_conf['roster_dir'].'/memberlog.php">'.$wordings[$roster_conf['roster_lang']]['memberlog'].'</a></li>'."\n";

if( 
$roster_conf['menu_keys_page'] )
    print 
'        <li><a href="'.$roster_conf['roster_dir'].'/indexinst.php">'.$wordings[$roster_conf['roster_lang']]['keys'].'</a></li>'."\n";
?>
     </ul></td>
<!-- Links Column 3 -->
    <td valign="top" class="row<?php print (($roster_conf['menu_right_pane'] && $guild_data_rows 0) ? '' 'right'); ?> links">
      <ul>
<?php
if( $roster_conf['menu_update_page'] )
    print 
'<li><a href="'.$roster_conf['roster_dir'].'/update.php">'.$wordings[$roster_conf['roster_lang']]['upprofile'].'</a></li>'."\n";

if( 
$roster_conf['menu_quests_page'] )
    print 
'        <li><a href="'.$roster_conf['roster_dir'].'/indexquests.php">'.$wordings[$roster_conf['roster_lang']]['team'].'</a></li>'."\n";

if( 
$roster_conf['menu_search_page'] )
    print 
'        <li><a href="'.$roster_conf['roster_dir'].'/indexsearch.php">'.$wordings[$roster_conf['roster_lang']]['search'].'</a></li>'."\n";
?>
        <li><a href="<?php print $roster_conf['roster_dir']; ?>/admin.php"><?php print $wordings[$roster_conf['roster_lang']]['roster_config']; ?></a></li>
        <li><a href="<?php print $roster_conf['roster_dir']; ?>/credits.php"><?php print $wordings[$roster_conf['roster_lang']]['credit']; ?></a></li>
      </ul></td>


Below this is where the "AddOns" text is printed
Code: Select all
<?php
if( $addons != '' )
{
    print 
"<tr>\n    <td colspan=\"3\" align=\"center\" valign=\"top\" class=\"row".(($roster_conf['menu_right_pane'] && $guild_data_rows 0) ? '' 'right')." addon\" style=\"width:320px;\">\n";
    print 
'<span style="color:#0099FF;font-weight:bold;">'.$wordings[$roster_conf['roster_lang']]['Addon'].'</span>';
    print 
"    <ul>\n";
    print 
$addons;
    print 
"    </ul></td>\n  </tr>\n";
}
?>

Remove the print '<span style="color:#0099FF;... line to remove the text
print $addons; is what prints the addon buttons

function makeAddonList() is what scans the addons folder for menu.php files
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

Plz forgive the noobish quesion but I need install help...

Postby MoreBloodWine » Tue May 27, 2008 3:28 am

Well, it sure as hell wasnt easy but I did it lol... didnt even need your reply. I guess poking around and doin a trial and error you eventually get what you want heh.

http://www.politicalchaos.net/roster/index.php
MoreBloodWine
WR.net Apprentice
WR.net Apprentice
 
Posts: 33
Joined: Sun May 25, 2008 6:36 pm

Next

Return to QDKP Viewer

Who is online

Users browsing this forum: No registered users and 0 guests

cron