» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 72
0 members and 72 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
buy Rimonabant - Help dieters achieve significant weight loss without having to slog in the gym

Register Now! Contact Us

About this Page
This is a discussion on subsilver theme minor width issue within the Theme packs forums, part of the nukemods releases category; hello, i have searched the boards with no luck. i recently installed the subsilver theme and all works well, but ...



Go Back   Nukemods Forum » nukemods releases » Theme packs

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2003, 04:31 PM
Junior Member
 
Join Date: Mar 2003
Posts: 4
subsilver theme minor width issue
hello,
i have searched the boards with no luck. i recently installed the subsilver theme and all works well, but a minor issue with table width:

please see

www.issa-kc.org/index.php

the width at the top is wider than the rest of the page. just looking at how to resolve this issue. *of note: i have uploaded multiple times with the same results.

thanks for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-11-2003, 04:50 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
What/who's version of subsilver are you using? Is it from downloads at this site? It doesn't look like it because there is no credits in the footer from nukemods. So we would have to see the theme files in order to suggest a cure.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-11-2003, 05:01 PM
Junior Member
 
Join Date: Mar 2003
Posts: 4
actually, it is from this site
thanks for your reply. the download was actually from your site. i only uploaded the theme for nuke, not for the forums since the forums already had it. here is the theme.php under the "themes\subsilver" folder

<?php

/************************************************** **********/
/* THEME NAME: ffx69_phpbb2 */
/* THEME DEVELOPER: ffx69 (http://www.ffx69.de */
/* THEME Logos and Icons from phpbb2 SubSilver Theme */
/************************************************** **********/

/************************************************** **********/
/* */
/* Theme Colors Definition */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************** **********/

$thename = "subSilver";
$bgcolor1 = "#EFEFEF";
$bgcolor2 = "#EFEFEF";
$bgcolor3 = "#EFEFEF";
$bgcolor4 = "#EFEFEF";
$textcolor1 = "#006699";
$textcolor2 = "#006699";

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

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

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

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

function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "
"._NOTE." $notes\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font size=\"2\" color=\"#505050\">$thetext
$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"modules.php?name=Your_Account?op=userinfo&a mp;uname=$informant\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." \"$thetext\" $notes\n";
echo "<font size=\"2\" color=\"#505050\">$boxstuff</font>\n";
}
}

/************************************************** **********/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************** **********/

function themeheader() {
global $user, $banners, $sitename, $slogan, $cookie, $prefix;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body bgcolor=\"#E5E5E5\" text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#ffffff\">\n"
."<tr>\n"
."<td background=\"themes/subSilver/images/cellpic3.jpg\" width=\"200\" align=\"left\" valign=\"middle\">\n"
."<a href=\"index.php\"><img src=\"themes/subSilver/images/logo.gif\" align=\"center\" alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"
."<td bgcolor=\"#FFFFFF\" align=\"right\">\n"
."\n"
."\n"
."<td background=\"themes/subSilver/images/cellpic3.jpg\">\n"
."
\n"
."\n";
if ($banners) {
include("banners.php");
}
echo "
<td background=\"themes/subSilver/images/cellpic3.jpg\">\n"
."\n"
."<bgcolor=\"#FFFFFF\" align=\"left\">\n"
."</select></font></form></td></tr></table></td>\n"
."<td bgcolor=\"#FFFFFF\" valign=\"top\"></td>\n"
."</tr></table>\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#363636\">\n"
."<tr>\n"
."<td bgcolor=\"#000000\" colspan=\"4\"><IMG src=\"themes/subSilver/images/pixel.gif\" width=\"1\" height=1 alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
."</tr>\n"
."<tr valign=\"middle\" bgcolor=\"#FFFFFF\">\n"
."<td width=\"15%\" nowrap><font size=\"2\">\n";
if ($username == "Anonymous") {
echo "<a href=\"modules.php?name=Your_Account\">Login</a></font>\n";
} else {
echo "Hello $username! <a href=\"modules.php?name=Your_Account&op=logout\">l ogout</a>";
}
echo "
</font></td>\n"
."<td align=\"center\" height=\"10\" width=\"71%\"><font size=\"2\">\n"
."<img src=\"themes/subSilver/images/icon_mini_login.gif\" border=0 align=\"center\"> <A href=\"index.php\">Home</a>&nbsp \n"
."<img src=\"themes/subSilver/images/icon_mini_search.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Downloads\">Downloads</a>&nbsp \n"
."<img src=\"themes/subSilver/images/icon_mini_profile.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Your_Account\">Your Account</a>&nbsp \n"
."<img src=\"themes/subSilver/images/icon_mini_members.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Forums\">Forums</a>&nbsp \n"
."[/b]</font>\n"
."</td>\n"
."<td align=\"right\" width=\"15%\"><font size=\"2\">\n"
."<script type=\"text/javascript\">\n\n"
."<!-- // Array ofmonth Names\n"
."var monthNames = new Array( \"January\",\"February\",\"March\",\"April\",\"May \",\"June\",\"July\",\"August\",\"September\",\"Oc tober\",\"November\",\"December\");\n"
."var now = new Date();\n"
."thisYear = now.getYear();\n"
."if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n"
."document.write(now.getDate() + \". \" + monthNames[now.getMonth()] + \" \" + thisYear);\n"
."// -->\n\n"
."</script>
</font></td>\n"
."<td></td>\n"
."</tr>\n"
."<tr>\n"
."<td bgcolor=\"#000000\" colspan=\"4\"><IMG src=\"themes/subSilver/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
."</tr>\n"
."</table>
\n"
."\n"
."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
."<td><img src=\"themes/subSilver/images/pixel.gif\" width=\"5\" height=\"3\" border=\"0\" alt=\"\"></td></tr></table>\n"
."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
."<td><img src=\"themes/subSilver/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
."<td width=\"155\" valign=\"top\">\n";
$public_msg = public_message();
echo "$public_msg
";
echo "</td></tr></table><table width=\"840\" cellpadding=\"0\" bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\">\n"
."<tr valign=\"top\">\n"
."<td><img src=\"themes/subSilver/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
."<td width=\"138\" bgcolor=\"ffffff\" valign=\"top\">\n";
blocks(left);
echo "</td><td><img src=\"themes/subSilver/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}

/************************************************** **********/
/* Function themefooter() */
/* */
/* Control the footer for your site. You don't need to */
/* close BODY and HTML tags at the end. In some part call */
/* the function for right blocks with: blocks(right); */
/* Also, $index variable need to be global and is used to */
/* determine if the page your're viewing is the Homepage or */
/* and internal one. */
/************************************************** **********/

function themefooter() {
global $index;
if ($index == 1) {
echo "</td><td><img src=\"themes/subSilver/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"155\">\n";
blocks(right);
}
echo "</td><td><img src=\"themes/subSilver/images/pixel.gif\" width=10 height=1 border=0 alt=\"\">\n"
."</td></tr></table>\n"
."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
."<td height=\"17\"></td>\n"
."</tr></table>\n"
."
"
."<table width=\"97%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#EFEFEF\" align=\"center\"><tr valign=\"top\">\n"
."</tr><tr align=\"center\">\n"
."<td width=\"100%\" colspan=\"3\">\n";
footmsg();
echo "</td>\n"
."</tr></table>\n";
}

/************************************************** **********/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************** **********/

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#EFEFEF\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\" bgcolor=\"#006699\" width=\"100%\"><tr><td>\n"
."<table background=\"themes/subSilver/images/cellpic3.gif\" border=\"0\" cellpadding=\"3\" cellspacing=\"2\" bgcolor=\"#EEEEEE\" width=\"100%\"><tr><td align=\"left\">\n"
."<font class=\"option\" color=\"#363636\"><img src=\"themes/subSilver/images/icon_delete.gif\" align=\"center\">$title</font>\n"
."</td></tr></table></td></tr></table>\n";

FormatStory($thetext, $notes, $aid, $informant);
echo "</td></tr></table>\n"
."<table background=\"themes/subSilver/images/cellpic5.jpg\" border=\"0\" cellpadding=\"1\" cellspacing=\"0\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"100%\"><tr><td align=\"center\">\n"
."<font color=\"#000000\" size=\"1\">"._POSTEDBY." ";
formatAidHeader($aid);
echo " "._ON." $time $timezone ($counter "._READS.")
</font>\n"
."<font class=\"content\">$morelink</font>\n"
."</td></tr></table></td></tr></table>\n"
."
\n\n\n";
}

/************************************************** **********/
/* Function themeartikel-gross() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************** **********/

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#EFEFEF\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\" bgcolor=\"#EFEFEF\" width=\"100%\"><tr><td>\n"
."<table background=\"themes/subSilver/images/cellpic3.gif\" border=\"0\" cellpadding=\"3\" cellspacing=\"2\" bgcolor=\"#EFEFEF\" width=\"100%\"><tr><td align=\"left\">\n"
."<font class=\"option\" size=\"1\"><img src=\"themes/subSilver/images/icon_delete.gif\" align=\"center\">$title</font>
\n"
."</td></tr></table>\n"
."<font size=\"1\">"._POSTEDON." $datetime "._BY." ";
$posted .= formatAidHeader($aid); echo "$posted";
if (is_admin($admin)) {
echo "
[ <a href=\"admin.php?op=EditStory&amp;sid=$sid\">"._ED IT."</a> | <a href=\"admin.php?op=RemoveStory&amp;sid=$sid\">"._ DELETE."</a> ]\n";
}
echo "</td></tr></table></td></tr></table>
";
echo "<a href=\"modules.php?name=News&amp;new_topic=$topic\ "><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"3\" vspace=\"0\" bgcolor=\"#EFEFEF\"></a>\n";
FormatStory($thetext, $notes="", $aid, $informant);
echo "</td></tr></table>
\n\n\n";
}

/************************************************** **********/
/* Function themebox() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************** **********/

function themesidebox($title, $content) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\" bgcolor=\"#006699\" width=\"165\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"165\">\n"
."</table>\n"
."<table border=\"0\" cellpadding=\"3\" cellspacing=\"2\" bgcolor=\"#FFFFFF\" width=\"100%\">\n"
."<tr><td background=\"themes/subSilver/images/cellpic1.gif\" align=\"center\">\n"
."<font class=\"titel\" size=\"1\">$title</font>\n"
."</td></tr>\n"
."<tr>\n"
."<td bgcolor=\"#EFEFEF\"><font size=\"1\">$content</td>\n"
."</tr>\n"
."</table></td></tr></table>\n"
."
\n\n\n";
}

?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-11-2003, 05:19 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
I think the problem is this:
Code:
echo "</td></tr></table><table width=\"840\" cellpadding=\"0\" bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\">\n"
Seems like the 840 should be 100%, but I'm not sure. Someone else confirm this?? :?:
Just try changing it to see and if not change it back.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-11-2003, 05:27 PM
Junior Member
 
Join Date: Mar 2003
Posts: 4
thanks!
thanks a ton! that's what it was.

take care
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-11-2003, 05:36 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
I think this too needs fixing but not sure:
Code:
/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/

function themeheader() {
global $user, $banners, $sitename, $slogan, $cookie, $prefix;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body bgcolor=\"#E5E5E5\" text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#ffffff\">\n"
Either change the 97% to 100% or change the one you allready changed to 97%
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-11-2003, 08:50 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Originally Posted by Martin
I think the problem is this:
Code:
echo "</td></tr></table><table width=\"840\" cellpadding=\"0\" bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\">\n"
Seems like the 840 should be 100%, but I'm not sure. Someone else confirm this?? :?:
Just try changing it to see and if not change it back.
You are right on Martin. Fixed table widths can be a beotch...it is so much better for table widths to be percentages. That way it adjusts with the users resolution to a point.

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Having a minor issue creating a module kabilos Nuke 7.x - Modules 11 01-05-2006 10:52 PM
How to change a 100% width theme to fixed width? ryanrlamothe Site design 2 03-11-2005 07:49 PM
F1 theme in portal but subsilver in forum admin index! WHY? SlashDot Theme packs 0 11-25-2004 01:32 PM
Best (Overall) Theme Size (width...) B-truE Nuke 6.5 to 6.9 - Themes 6 04-30-2003 03:51 PM
Request: FI Subsilver Shadow Theme joho-noho Theme pack requests 4 04-25-2003 09:44 PM


All times are GMT -5. The time now is 10:39 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31