Configuring indexalt.php

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Configuring indexalt.php

Postby sedrikk » Wed Jul 26, 2006 10:51 pm

Is there a configuration page to choose what shows on the Alternate page? Specifically I want to turn off the showing of gold info.
User avatar
sedrikk
WR.net Apprentice
WR.net Apprentice
 
Posts: 30
Joined: Wed Jul 05, 2006 11:56 pm

Configuring indexalt.php

Postby SethDeBlade » Thu Jul 27, 2006 1:09 am

rosteradmin/cnfigmenu/characterpage/ gold off ;-)
User avatar
SethDeBlade
WR.net Expert
WR.net Expert
 
Posts: 192
Joined: Thu Jul 06, 2006 1:02 am
Location: Germany

Re: Configuring indexalt.php

Postby sedrikk » Thu Jul 27, 2006 1:42 am

I am not talking about the individual chracter pages. That I have turned off already. There is an alternate guild listing that just lists Names, Class, Level, Health, Mana, Gold and Armor for all characters. I have not found a config page for what shows on this page yet. It shows everyones gold even though I have gold turned to by user, and every user turned to off.
User avatar
sedrikk
WR.net Apprentice
WR.net Apprentice
 
Posts: 30
Joined: Wed Jul 05, 2006 11:56 pm

Configuring indexalt.php

Postby SethDeBlade » Thu Jul 27, 2006 1:58 am

so in MY roster the above mentioned option works ;) :D

set the option to off and not to user. that should work
User avatar
SethDeBlade
WR.net Expert
WR.net Expert
 
Posts: 192
Joined: Thu Jul 06, 2006 1:02 am
Location: Germany

Re: Configuring indexalt.php

Postby sedrikk » Thu Jul 27, 2006 2:07 am

So, fix one thing by breaking something else. I would like to be able to use a feature that is there and not be limited. I dont want to remove the option i already gave to people to show their gold if they want to.
ImageImage
User avatar
sedrikk
WR.net Apprentice
WR.net Apprentice
 
Posts: 30
Joined: Wed Jul 05, 2006 11:56 pm

Configuring indexalt.php

Postby zanix » Thu Jul 27, 2006 2:15 am

This page does not have configuration

You can open indexalt.php in a text editor and remove certain sections of code
Code: Select all
$FIELD[] = array (
    
'name' => array(
        
'lang_field' => 'name',
        
'order'    => array( '`members`.`name` ASC' ),
        
'order_d'    => array( '`members`.`name` DESC' ),
        
'required' => true,
        
'default'  => true,
        
'value' => 'name_value',
    ),
);

$FIELD[] = array (
    
'class' => array(
        
'lang_field' => 'class',
        
'divider' => true,
        
'divider_value' => 'class_divider',
        
'order'    => array( '`members`.`class` ASC' ),
        
'order_d'    => array( '`members`.`class` DESC' ),
        
'default'  => true,
        
'value' => 'class_value',
    ),
);

$FIELD[] = array (
    
'level' => array(
        
'lang_field' => 'level',
        
'divider' => true,
        
'divider_prefix' => 'Level ',
        
'order_d'    => array( '`members`.`level` ASC' ),
        
'default'  => true,
        
'value' => 'level_value',
    ),
);

$FIELD[] = array (
    
'health' => array (
        
'lang_field' => 'health',
        
'order' => array( 'hisnull','`players`.`health` DESC' ),
        
'order_d' => array( 'hisnull','`players`.`health` ASC' ),
    ),
);

$FIELD[] = array (
    
'mana' => array(
        
'lang_field' => 'mana',
        
'order' => array( 'misnull','`players`.`mana` DESC' ),
        
'order_d' => array( 'misnull','`players`.`mana` ASC' ),
    ),
);

if( 
$roster_conf['show_money'] )
{
    
$FIELD[] = array (
        
'money_g' => array(
            
'lang_field' => 'gold',
            
'order' => array( '`players`.`money_g` DESC','`players`.`money_s` DESC','`players`.`money_c` DESC' ),
            
'order_d' => array( '`players`.`money_g` ASC','`players`.`money_s` ASC','`players`.`money_c` ASC' ),
            
'value' => 'money_value',
        ),
    );
}

$FIELD[] = array (
    
'stat_armor_c' => array(
        
'lang_field' => 'armor',
        
'order' => array( 'aisnull','`players`.`stat_armor_c` DESC' ),
        
'order_d' => array( 'aisnull','`players`.`stat_armor_c` ASC' ),
        
'value' => 'armor_value',
    ),
);
 
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

Re: Configuring indexalt.php

Postby sedrikk » Thu Jul 27, 2006 2:27 am

Thanks for the response. I wasnt sure if i was missing a config somewhere. Easy change, I will just have to wait to receive access.
ImageImage
User avatar
sedrikk
WR.net Apprentice
WR.net Apprentice
 
Posts: 30
Joined: Wed Jul 05, 2006 11:56 pm


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron