Character Page vs Per-Character Display

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

Character Page vs Per-Character Display

Postby ElMauro » Wed Aug 01, 2007 5:40 pm

Hi again, hope this will not be another stupid question.. hope so..

I know, if we set as "user" in character page then the character display will be individual for anyone.
But the question is.. how to set a per-character display default config?
By default is all enabled, if a new member upload his profile then will be showing everything (all on in per-character display) and then I need to check everyone to switch them to the default display idea, wich for example is:

talents off, spellbook off, bags off, mail off, bank off, money off. everthing else ON.
So if some member want to show his bank items, then will be enabled for that member.

Maybe a good thing will be making the per-character display all OFF by default. or add a function like "set this config as default".


---
ok while writing this post just found howto. correct me if wrong plz:

admin.php

Code: Select all
<td class="membersRow'.(($i%2)+1).'">';
// first horizontal column , "off" buttons
         $html .= '<input type="radio" id="chard_f'.$k.'_'.$values['member_id'].'" name="disp_'.$values['member_id'].':'
.$val_name.'" value="3" '.( $values[$val_name] == '3' ? 'checked="checked"' : '' ).' /><label for="chard_f'.$k.'_'.$values['member_id'].'">off</label><br />'."\n";

//second hcolumn, "on" buttons
         $html .= '<input type="radio" id="chard_n'.$k.'_'.$values['member_id'].'" name="disp_'.$values['member_id'].':'
.$val_name.'" value="1" '.( $values[$val_name] == '1' ? 'checked="checked"' : '' ).' /><label for="chard_n'.$k.'_'.$values['member_id'].'">on</label>'."\n";
         $html .= '</td>';


switch from value="1" to value="3" in the first h_column and from 3 to 1 in the second hcolumn. and will be all off by default.

edit: well, that doesn´t work. :((

just change te default button pos. but not the default setting.

damn.. is not difficult. just need to change a single value from 3 to 1..
but WHERE ! lol
Last edited by ElMauro on Wed Aug 01, 2007 6:23 pm, edited 3 times in total.
ElMauro
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Wed Jul 04, 2007 6:28 pm

Character Page vs Per-Character Display

Postby zanix » Thu Aug 02, 2007 2:43 am

In Roster Config, look on the left side
"Per Character Display"
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

Character Page vs Per-Character Display

Postby ElMauro » Sat Aug 04, 2007 9:44 pm

well.. kinda
but Im not that stupid yet :p

Let me ask again, sorry if I can´t explain myself:

"Per Character Display" default = ALL ON (when adding a new guildmember all tables are set to 3 [on] by default)

But what I want:

"Per Character Display" default = ALL OFF (set to 1 intestead of 3, when adding new member tables)

Thxx ! I will keep trying to find where is the php code portion that creates new member sql tables with the per-character display rows enabled as default (value = 3..)
ElMauro
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Wed Jul 04, 2007 6:28 pm

Character Page vs Per-Character Display

Postby PleegWat » Sun Aug 05, 2007 1:00 am

I think it's the DB table default.

* checks

Yup. You need to go into phpmyadmin or similar and change the default value of the fields.
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

Character Page vs Per-Character Display

Postby ElMauro » Wed Aug 08, 2007 7:03 am

thanks !
that was simple..
Sorry, learning here :p
ElMauro
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Wed Jul 04, 2007 6:28 pm


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron