Table Width

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

Table Width

Postby [HOOd]-RynDog » Sun Jul 16, 2006 5:25 am

Where can I find the code to make the tables in memberslists always be at 100% wide?

Im sure its right in front of me, but I think I am blind.

Thanks in advance!
[HOOd]-RynDog
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sun Jul 16, 2006 1:09 am

Table Width

Postby zanix » Sun Jul 16, 2006 6:37 am

memberslist.php
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: Table Width

Postby [HOOd]-RynDog » Sun Jul 16, 2006 9:43 am

Which particular <table> should I change/edit/add?
[HOOd]-RynDog
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sun Jul 16, 2006 1:09 am

Table Width

Postby zanix » Sun Jul 16, 2006 9:49 am

Actually, nevermind

We couldn't get this to expand to 100% no matter what...
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: Table Width

Postby [HOOd]-RynDog » Sun Jul 16, 2006 10:22 am

thats odd. its not possible?
[HOOd]-RynDog
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sun Jul 16, 2006 1:09 am

Table Width

Postby PleegWat » Sun Jul 16, 2006 5:07 pm

I'd think the border function is interfearing here. It's in lib/commonfunctions.lib.php. Try looking it up and setting its table to 100% width. Will definitely produce weird effects elsewhere, but if it works it might be worth adding an optional parameter to it.
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

Re: Table Width

Postby [HOOd]-RynDog » Sun Jul 16, 2006 9:01 pm

Code: Select all
FIND

<!-- START [open-'.$style.'] container -->
<table cellspacing="0" cellpadding="0" border="0">

REPLACED WITH

<!-- START [open-'.$style.'] container -->
<table width="100%" cellspacing="0" cellpadding="0" border="0">


That seemed to work for most of the tables except the Menu table. You can see it here at www.clanhood.com/phpbb/roster.php

Where could I look to make adjustments to the menu table only?
[HOOd]-RynDog
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sun Jul 16, 2006 1:09 am

Re: Table Width

Postby [HOOd]-RynDog » Sun Jul 16, 2006 9:04 pm

Can you remove the menu? I would even be interested in doing that. I just want to show to the public our guild roster only. It's too hard to get 491 members to upload there character profiles so we gave up on that part, even though its totally kick ass.
[HOOd]-RynDog
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sun Jul 16, 2006 1:09 am

Table Width

Postby zanix » Mon Jul 17, 2006 3:06 am

Yes, from every file you want it removed from, delete or comment this line
Code: Select all
require_once( ROSTER_BASE.'lib'.DIR_SEP.'menu.php' ); 

Or edit lib/menu.php to output nothing
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: Table Width

Postby spleeneater » Mon Aug 07, 2006 6:56 am

zanix wrote:Yes, from every file you want it removed from, delete or comment this line
Code: Select all
require_once( ROSTER_BASE.'lib'.DIR_SEP.'menu.php' ); 

Or edit lib/menu.php to output nothing


i officially love you. Thank you. :thumright:
now to remove the menu....
Image
User avatar
spleeneater
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Thu Jul 20, 2006 1:37 am


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron