Config problems

Installation issues with WoWRoster

Config problems

Postby Callais » Thu Sep 07, 2006 6:54 am

When I click on save in the roster config, it does not save anything and just takes me back to the login window.

How can I overwrite the php.ini file if I don't have access or how do I recode wowroster to not post more than 200 vars at any one time? :shaking:
Callais
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Wed Jul 12, 2006 10:19 pm

Config problems

Postby PleegWat » Thu Sep 07, 2006 6:44 pm

You can kick roster down to 98 config values (99 post vars because of the button) by removing the character-specific display config part. To do this, in admin/config.php, comment out or delete this code block (line 300-316):

Code: Select all
foreach($char_data as $values)
{
        
$html .= '
<tr>
    <td class="membersRow'
.(($i%2)+1).'">'.$values['name'].'</td>';

    foreach( 
$disp_array as $val_name )
    {
        
$html .= '
    <td class="membersRow'
.(($i%2)+1).'">';
        
$html .= '<label class="'.( $values[$val_name] == '1' 'blue' 'white' ).'"><input class="checkBox" type="radio" name="disp_'.$values['member_id'].':'.$val_name.'" value="1" '.( $values[$val_name] == '1' 'checked="checked"' '' ).' />off</label><br />'."\n";
        
$html .= '<label class="'.( $values[$val_name] == '3' 'blue' 'white' ).'"><input class="checkBox" type="radio" name="disp_'.$values['member_id'].':'.$val_name.'" value="3" '.( $values[$val_name] == '3' 'checked="checked"' '' ).' />on</label>'."\n";
        
$html .= '</td>';
    }
    
$html .= '</tr>';
    
$i++;
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


Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron