View Single Post
  #1 (permalink)  
Old 03-11-2003, 11:01 PM
dds dds is offline
Junior Member
 
Join Date: Feb 2003
Posts: 14
Enhanced Download Module Help!!
Enhanced Download Module not working properly already been to nuekstyles to ask from help from Shawn but no go still the problem lm having is this it say's to add this to your theme's table's in the table.php

Quote:
NOTE: Depending on the theme(s) your using... You always have to configure
your Open & Close Table functions. You MUST make your OpenTable2();
function stretch to the width of 100%. This is a MUST. The actual
Table 2 function is used in the ENTIRE NUKE script, about 4-5 times.
To change the OpenTable2 functions... you have to open either your
theme.php file, or if you have a file called tables.php, edit that one
instead... The files are located:

html/themes/Your_Theme/theme.php

or

html/themes/Your_Theme/tables.php

If you have a tables.php file, then that is the file to edit, as it
has your tables functions. If you do not see a tables.php file, and
only see a theme.php file, then your table functions are in that file.
This will NOT affect your website. The only serious place was
in the Members List module, when it show's who is online. For
10000 times the appearance of our Enhanced Downloads Mod, you need
to make your OpenTable2(); functions with the width of 100%, for
BOTH tables in that function. You have a table inside a table.
Stretch both. We took the unused table 2 fucntions and put them
to good use throughout our Enhanced 6.0 Full script...
and l have this in my theme table.php

Code:
<?php
/************************************************************/ 
/* OpenTable Functions */ 
/* */ 
/* Define the tables look&feel for you whole site. For this */ 
/* we have two options: OpenTable and OpenTable2 functions. */ 
/* Then we have CloseTable and CloseTable2 function to */ 
/* properly close our tables. The difference is that */ 
/* OpenTable has a 100% width and OpenTable2 has a width */ 
/* according with the table content */ 
/************************************************************/ 

function OpenTable() { 
global $bgcolor1, $bgcolor2; 
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\"> 
<tr> 
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\"> 
<tr> 
<td bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\"> 
<tr> 
<td bgcolor=\"#000066\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> 
<tr> 
<td bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\"> 
<tr> 
<td>"; 
} 

function CloseTable() { 
echo "</td> 
</tr> 
</table></td> 
</tr> 
</table></td> 
</tr> 
</table></td> 
</tr> 
</table></td> 
</tr> 
</table>"; 
} 

function OpenTable2() { 
global $bgcolor1, $bgcolor2; 
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n"; 
echo "<table width=\"100% \" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n"; 
} 

function CloseTable2() {
    echo "</td></tr></table></td></tr></table>\n";
}

?>
and my problem is this it still pushes my download section way over that it takes out the right side blocks and a large gapping space l need to know
how to get it centered again like it suppose to be as shawn says it should be but its not its fine when you click on Downloads and go to the module then when you selcet the catagorey it then pushes way over while your viewing the downloads them selves with there supscritions any idea on how to fix this problem ... would be great thanks ...

dds ops:
Reply With Quote