SVN[1257] -- Error on Character Page

Posts from previous Beta sessions

SVN[1257] -- Error on Character Page

Postby niagairt » Mon Aug 20, 2007 4:20 am

They say a picture is worth a thousand words, so........

Image


I have attached a JPEG of the error to the post if you need it to see the problem better
Attachments
error.jpg
JPEG of error if needed to see better
error.jpg (209.52 KiB) Viewed 662 times
Rogues may do it from behind, but mages do it hard and fast.
Image
User avatar
niagairt
WR.net Apprentice
WR.net Apprentice
 
Posts: 36
Joined: Wed Jan 10, 2007 7:16 am
Location: Forks, WA

SVN[1257] -- Error on Character Page

Postby zanix » Mon Aug 20, 2007 7:12 am

I have noticed this problem as well
I think it is because this box uses divs for the rows and not a table

Replace the code like below and let me know of the result

Open addons/info/inc/charbonus.lib.php
Find around lines 97-117
Code: Select all
      foreach( $roster->locale->act['item_bonuses_tabs'] as $catkey => $catval )
      {
         // check to see if the catagory has data don't display if none
         if( isset($this->bonus[$catkey]) )
         {
            $cat = $this->bonus[$catkey];
            $out .= '<div class="tab3" id="' . $catkey . '"><div class="container">';
            $tabs += array($catkey => $catval);
            //$tt = '';

            foreach( $cat as $key => $value )
            {
               $value = explode(':', $value);
               $out .= '<div class="membersRowRight' . (($row%2)+1) . '" style="white-space:normal;" '
                    . makeOverlib($this->bonus_tooltip[$catkey][$key], str_replace(array( 'XX', 'YY' ), $value, $key), '', 2) . '>'
                    . str_replace(array( 'XX', 'YY' ), $value, $key) . "</div>\n";
               $row++;
            }
         $out .= '</div> </div>';
         }
      }

Replace with
Code: Select all
      foreach( $roster->locale->act['item_bonuses_tabs'] as $catkey => $catval )
      {
         // check to see if the catagory has data don't display if none
         if( isset($this->bonus[$catkey]) )
         {
            $cat = $this->bonus[$catkey];
            $out .= '<div class="tab3" id="' . $catkey . '"><div class="container">';
            $tabs += array($catkey => $catval);
            $out .= "<table cellspacing=\"0\" width=\"100%\">\n";

            foreach( $cat as $key => $value )
            {
               $value = explode(':', $value);
               $out .= '<tr><td class="membersRowRight' . (($row%2)+1) . '" style="white-space:normal;" '
                    . makeOverlib($this->bonus_tooltip[$catkey][$key], str_replace(array( 'XX', 'YY' ), $value, $key), '', 2) . '>'
                    . str_replace(array( 'XX', 'YY' ), $value, $key) . "</td></tr>\n";
               $row++;
            }
            $out .= "</table>\n";

            $out .= '</div> </div>';
         }
      }
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

SVN[1257] -- Error on Character Page

Postby niagairt » Mon Aug 20, 2007 12:57 pm

Replaced the code and no change





EDIT: Corrected itself after doing a profile update
Last edited by niagairt on Mon Aug 20, 2007 12:59 pm, edited 1 time in total.
Rogues may do it from behind, but mages do it hard and fast.
Image
User avatar
niagairt
WR.net Apprentice
WR.net Apprentice
 
Posts: 36
Joined: Wed Jan 10, 2007 7:16 am
Location: Forks, WA

SVN[1257] -- Error on Character Page

Postby Subxero » Fri Sep 07, 2007 7:34 am

I'm still getting these problem .. sometimes yes .. sometimes not .. without making NOTHING.
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

SVN[1257] -- Error on Character Page

Postby ds » Fri Sep 07, 2007 7:55 am

Yep.. I have this issue as well. I have done research on the tabbing java we use and I cannot find a solution as to why. I was thinking of trying a cheap hack to (re)load the current tab it's on via a On Page Load event. That might get it "working". I'll post here if/when I figure out a fix or work-a-round..
Image
ds
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 297
Joined: Sat Jul 08, 2006 9:58 am


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest