Images GuildVault for Roster 1.7.3 DragonFly Version

Displays the Guild vault introduced in WoW 2.3

Moderator: Nefuh

Images GuildVault for Roster 1.7.3 DragonFly Version

Postby IslandStyle » Mon Dec 17, 2007 11:12 pm

Hi,
I tried out the vault addon on for dragon fly - so far it seems to be working. The only problem that i am encountering is its not showing the images for the items in the bank.
The images are pointing to directory like this - www.yoursitehere.com/modules/WoWRosterD ... ace/Icons/
but the images for roster are stored in a different directory
www.yoursitehere.com/images/wowrosterdf ... ace/Icons/

attached is a screen shot from firefox 2 - the issue occurs in IE6 also.

Any suggestions of which files in the addon the images are pulled from that need to be edited is greatly appreciated.

Thanks in advance
Attachments
ss_vault.jpg
ss_vault.jpg (118.99 KiB) Viewed 1112 times
Image
Image
User avatar
IslandStyle
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Tue Jul 11, 2006 8:57 am

Re: Images GuildVault for Roster 1.7.3 DragonFly Version

Postby poetter » Tue Dec 18, 2007 12:16 am

Hi,

open includes/ingame_single.php and replace the lines i've commented out with the ones directly following:

Code: Select all
      foreach (array_keys($content) as $item_num) {
         //if (!file_exists('./'.$roster_conf['img_url'].'Interface/Icons/'.$content[$item_num]['icon'].'.'.$roster_conf['img_suffix'])) {
         if (!file_exists('./images/wowrosterdf/Interface/Icons/'.$content[$item_num]['icon'].'.'.$roster_conf['img_suffix'])) {
              $content[$item_num]['icon'] = 'No_Icon';
         }
         if ($i > 13) {
              $i = 0;
              echo "<td style=\"background:url('./modules/WoWRosterDF/addons/guildvault/images/right.png') -2px repeat-y;\"></td></tr><tr><td style=\"background:url('./modules/WoWRosterDF/addons/guildvault/images/left.png') repeat-y;\"></td>\n";
         }
         echo "<td style=\"width:40px; height:40px; background:url('./modules/WoWRosterDF/addons/guildvault/images/slot.png') center no-repeat; text-align:center;\" ".makeOverlib($content[$item_num]['tooltip'],$content[$item_num]['name'],'',0,'',',WRAP').">\n";
         if ($content[$item_num]['name'] != '') {
              if ($content[$item_num]['count'] > 1) {
                   if (getagent() == 'IE') {
                  //echo "<img src=\"./".$roster_conf['img_url']."Interface/Icons/".$content[$item_num]['icon'].".".$roster_conf['img_suffix']."\" alt=\"".$content[$item_num]['name']."\" style=\"position:relative; top:8px; width:35px; left:6px;\" /><div style=\"position:relative; left:0px; top:-5px; font-weight:bold;\">".$content[$item_num]['count']."</div>\n";                   
                  echo "<img src=\"./images/wowrosterdf/Interface/Icons/".$content[$item_num]['icon'].".".$roster_conf['img_suffix']."\" alt=\"".$content[$item_num]['name']."\" style=\"position:relative; top:8px; width:35px; left:6px;\" /><div style=\"position:relative; left:0px; top:-5px; font-weight:bold;\">".$content[$item_num]['count']."</div>\n";                   
               }
               else {
                  //echo "<img src=\"./".$roster_conf['img_url']."Interface/Icons/".$content[$item_num]['icon'].".".$roster_conf['img_suffix']."\" alt=\"".$content[$item_num]['name']."\" style=\"position:relative; top:8px; width:35px;\" /><div style=\"position:relative; left:0px; top:-5px; font-weight:bold;\">".$content[$item_num]['count']."</div>\n";
                  echo "<img src=\"./images/wowrosterdf/Interface/Icons/".$content[$item_num]['icon'].".".$roster_conf['img_suffix']."\" alt=\"".$content[$item_num]['name']."\" style=\"position:relative; top:8px; width:35px;\" /><div style=\"position:relative; left:0px; top:-5px; font-weight:bold;\">".$content[$item_num]['count']."</div>\n";
               }
            }
            else {
                   if (getagent() == 'IE') {
                  //echo "<img src=\"./".$roster_conf['img_url']."Interface/Icons/".$content[$item_num]['icon'].".".$roster_conf['img_suffix']."\" alt=\"".$content[$item_num]['name']."\" style=\"width:35px; position:relative; left:6px;\" /><div style=\"position:relative; left:0px; top:-5px; font-weight:bold;\"></div>\n";          
                  echo "<img src=\"./images/wowrosterdf/Interface/Icons/".$content[$item_num]['icon'].".".$roster_conf['img_suffix']."\" alt=\"".$content[$item_num]['name']."\" style=\"width:35px; position:relative; left:6px;\" /><div style=\"position:relative; left:0px; top:-5px; font-weight:bold;\"></div>\n";          
               }
               else {
                  //echo "<img src=\"./".$roster_conf['img_url']."Interface/Icons/".$content[$item_num]['icon'].".".$roster_conf['img_suffix']."\" alt=\"".$content[$item_num]['name']."\" style=\"width:35px;\" /><div style=\"position:relative; left:0px; top:-5px; font-weight:bold;\"></div>\n";                           
                  echo "<img src=\"./images/wowrosterdf/Interface/Icons/".$content[$item_num]['icon'].".".$roster_conf['img_suffix']."\" alt=\"".$content[$item_num]['name']."\" style=\"width:35px;\" /><div style=\"position:relative; left:0px; top:-5px; font-weight:bold;\"></div>\n";                           
               }
            }
         }
         echo "</td>\n";
         $i++;
      }
Last edited by poetter on Tue Dec 18, 2007 12:16 am, edited 1 time in total.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Images GuildVault for Roster 1.7.3 DragonFly Version

Postby Harshmage » Tue Dec 18, 2007 1:44 am

I just had the same problem, but that code snippet works perfect!
Ho, Haha, Guard, Turn, Parry, Dodge, Spin, Ha, Thrust!
Image
User avatar
Harshmage
WR.net Apprentice
WR.net Apprentice
 
Posts: 43
Joined: Fri Sep 08, 2006 10:11 am
Location: Arizona, USA

Re: Images GuildVault for Roster 1.7.3 DragonFly Version

Postby Nefuh » Tue Dec 18, 2007 2:11 am

Thanks poetter.

I´ve correct the files and uploaded a fix, where i replaced all $roster_conf['img_url'] with $roster_conf['interface_url'].

This was my failure, because i uploaded all Interface-Images in the normal directory, not in /images/wowrosterdf/Interface on my Testsystem. :evil:

Greets Nefuh
Administrator of the german User2User Community for WoWRoster.
Guild Master from Scum from Hell - Horde @ EU-Anetheron.
User avatar
Nefuh
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 213
Joined: Fri Sep 15, 2006 8:34 pm
Location: Krefeld Germany


Return to Guildvault

Who is online

Users browsing this forum: No registered users and 1 guest

cron