| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
t31os Supporter


Offline Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Posted: Sat Oct 08, 2005 1:20 pm Post subject: Re: Coppermine areas break when using a table inside opentab |
|
At least i know its not the coppermine template files, because i've removed them from my theme so i'm just using subsilver templating on coppermine.
Looks fine at high res.... first 2 pics are at 1200+ resolution, 3rd is using 800x600 though its pretty apparent of the problem until u hit a high res.
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none
|
|
| Back to top |
|
 |
t31os Supporter


Offline Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Posted: Sat Oct 08, 2005 1:22 pm Post subject: Re: Coppermine areas break when using a table inside opentable |
|
I'd be tempted to recheck my code for a 3rd or 4th time but i'm pretty sure its as it should be, and since these issues are only with coppermine i have to wonder.
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none
|
|
| Back to top |
|
 |
t31os Supporter


Offline Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Posted: Sat Oct 08, 2005 1:31 pm Post subject: Re: Coppermine areas break when using a table inside opentable |
|
Well it seems has the worst issues, but any module that uses a FORM seems to push the tables out of whack.
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none
|
|
| Back to top |
|
 |
t31os Supporter


Offline Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Posted: Sat Oct 08, 2005 2:33 pm Post subject: Re: Coppermine areas break when using a table inside opentable |
|
I've noticed if i view source on problem areas the closing tags for </body> and </html> and not present, so the HTML is incomplete.
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none
|
|
| Back to top |
|
 |
t31os Supporter


Offline Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Posted: Sat Oct 08, 2005 2:41 pm Post subject: Re: Coppermine areas break when using a table inside opentable |
|
Areas in question from the coppermine block when viewing coppermine are...
My profile
Upload approval:
Review Comments
Groups
In saying that though, it seems even the pages that display correctly, they still do not complete the HTML, still missing the closing tags for body and html.
Anyone else have a working install of coppermine on their site to verify if this happens?
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none
|
|
| Back to top |
|
 |
t31os Supporter


Offline Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Posted: Sat Oct 08, 2005 2:52 pm Post subject: Re: Coppermine areas break when using a table inside opentable |
|
Ok, removed coppermine, and added a fresh copy, still same issue.
LOL, just checked while i was typing....... omg..... footer.html was missing some important HTML  .....maybe something got lost when transferring across FTP, damn....
Will check coppermine again now...
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none
|
|
| Back to top |
|
 |
t31os Supporter


Offline Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Posted: Sat Oct 08, 2005 2:56 pm Post subject: Re: Coppermine areas break when using a table inside opentable |
|
I'm going to stop trying to get this working at less then 1024 res.
I have all pages working now, except the groups page which pushs things out of place.
I'll take a look at re-coding that part though.
Sorry for being a total tit, but i bet if i had'nt of wrote down everything as i went along i would never of found the problem.
All i can say is.. ' IM SUCH A TIT SOMETIMES.... ' i have no idea how the hell my footer lost those tags...
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none
|
|
| Back to top |
|
 |
t31os Supporter


Offline Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Posted: Sat Oct 08, 2005 3:14 pm Post subject: Re: Coppermine areas break when using a table inside opentable |
|
Ok i have all working minus the groups page, and now i've made the change, looking at it, it was pointless being that size to begin with.....
groupmgr.php in modules/coppermine
Line 65
| Code:: |
<input type="text" name="group_quota_'.$group['group_id'].'" value="'.$group['group_quota'].'" size="10" class="textinput" /> '.$lang_byte_units[1].' |
Why that needs to be size 10 anyway is beyond me....
I changed this to...
| Code:: |
<input type="text" name="group_quota_'.$group['group_id'].'" value="'.$group['group_quota'].'" size="5" class="textinput" /> '.$lang_byte_units[1].' |
Any chance this could be updated in the CVS so i don't have to tell my users that my themes will break in 1 place, check it yourself, size 10 is really not needed, 5 leaves plenty of room.
I hate to edit outside the theme, but this is required.
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none
|
|
| Back to top |
|
 |
t31os Supporter


Offline Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Posted: Sat Oct 08, 2005 3:18 pm Post subject: Re: Coppermine areas break when using a table inside opentable |
|
Its getting annoying not being able to edit my own posts in this forum
Anyways, back on topic..........
I'd also like to see checkboxes on pages such as the groups page instead of drop down menus that take up yet more space.
I believe that would be this area...
| Code:: |
foreach ($field_list as $field_name) {
$value = $group[$field_name];
$yes_selected = ($value == 1) ? 'selected="selected"' : '';
$no_selected = ($value == 0) ? 'selected="selected"' : '';
echo '
<td class="tableb" align="center">
<select name="'.$field_name.'_'.$group['group_id'].'" class="listbox">
<option value="1" '.$yes_selected.'>'.YES.'</option>
<option value="0" '.$no_selected.'>'.NO.'</option>
</select>
</td>
';
} |
I'd guess that someone here knows how to replace this with a checkbox function, like.....
IF CHECKBOX = checked, then value = 1 , etc.....
Yes i know thats far from being the code needed to work but i understand the principle, i think...
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none
|
|
| Back to top |
|
 |
t31os Supporter


Offline Joined: Sep 22, 2004 Posts: 2025 Location: Somewhere in the intertubes... lolz
|
Posted: Sat Oct 08, 2005 3:24 pm Post subject: Re: Coppermine areas break when using a table inside opentab |
|
| t31os wrote: |
Ok i have all working minus the groups page, and now i've made the change, looking at it, it was pointless being that size to begin with.....
groupmgr.php in modules/coppermine
Line 65
| Code:: |
<input type="text" name="group_quota_'.$group['group_id'].'" value="'.$group['group_quota'].'" size="10" class="textinput" /> '.$lang_byte_units[1].' |
Why that needs to be size 10 anyway is beyond me.... 
I changed this to...
| Code:: |
<input type="text" name="group_quota_'.$group['group_id'].'" value="'.$group['group_quota'].'" size="5" class="textinput" /> '.$lang_byte_units[1].' |
Any chance this could be updated in the CVS so i don't have to tell my users that my themes will break in 1 place, check it yourself, size 10 is really not needed, 5 leaves plenty of room.
I hate to edit outside the theme, but this is required. |
Or if we implement the check box function we could do something like...
| Code:: |
<td class="tableb">
<input type="hidden" name="group_id[]" value="'.$group['group_id'].'" />
<input type="text" name="group_name_'.$group['group_id'].'" value="'.$group['group_name'].'" size="12" class="textinput" />
</td>
<td class="tableb" style="white-space: nowrap;">
<input type="text" name="group_quota_'.$group['group_id'].'" value="'.$group['group_quota'].'" size="3" class="textinput" /> '.$lang_byte_units[1].'
</td> |
Increasing the flexability of working within a fixed width 1024+
I can't be the only person wanting coppermine to do this...
t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP / 2.0 / 5.1 / 5.2 / none
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Mon May 28, 2007 11:48 am Post subject: Re: Coppermine areas break when using a table inside opentable |
|
modules/coppermine/admin/index.inc got few fixes that might help you .... I'm not asking you to download the whole new file since it could easily break other thing, you are using 9.1.0.8 and latest cvs version is 9.1.2.5. But have a look at the changes, it might help you.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
|
|