You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 72 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Centering and Fixed Width Help! [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Surfmember
Nuke Cadet
Nuke Cadet


Joined: Jun 27, 2003
Posts: 7


PostPosted: Fri Aug 22, 2003 8:44 pm Reply with quoteBack to top

First need to apologize for putting what is below into the wrong Forum (Bug Reports), so will see if I can delete it there. But here is the newbie question I had:

---------------------------------------------------------------------------------

Whoever cares to help!

I'm using the Xit! Theme I dled from Nukemods months ago.

It's set at 100% from checking it out from changing different resolutions with Win98.

Now for the dumb question -

Do I go into Theme.php (ONLY?) to change it to 800X600 and be able to Center it as well?

I'm a newbie and not sure what to do....

(anyone willing to give/share stepbystep help?)

Thanks in advance!
Surfmember


Last edited by Surfmember on Wed Sep 03, 2003 4:15 pm; edited 1 time in total
Find all posts by SurfmemberView user's profileSend private message
erbuc
Corporal
Corporal


Joined: Apr 17, 2003
Posts: 65


PostPosted: Fri Aug 22, 2003 11:51 pm Reply with quoteBack to top

I beleive that the sizes for tables is in the tables.php file in the theme directory. The theme.php file manages the color scheme among other things

_________________
erbuc
*********
Live! from Bangkok, Thailand
http://www.siamcomm.com
Find all posts by erbucView user's profileSend private messageSend e-mailVisit poster's website
Surfmember
Nuke Cadet
Nuke Cadet


Joined: Jun 27, 2003
Posts: 7


PostPosted: Sat Aug 23, 2003 6:54 am Reply with quoteBack to top

That's it? Edit only Tables.php and Center everything in Tables.php as well, without having to touch any other file?

If you have an example I could go by - it would be great since I'm new.

Thanks for your input!!!!

Surfmember
Find all posts by SurfmemberView user's profileSend private message
erbuc
Corporal
Corporal


Joined: Apr 17, 2003
Posts: 65


PostPosted: Mon Aug 25, 2003 3:58 am Reply with quoteBack to top

Well, in order to protect myself and at the risk of leading you astray Smile it would be good to see the code from those two files associated with the theme. Then we can be sure. Very Happy

_________________
erbuc
*********
Live! from Bangkok, Thailand
http://www.siamcomm.com
Find all posts by erbucView user's profileSend private messageSend e-mailVisit poster's website
Surfmember
Nuke Cadet
Nuke Cadet


Joined: Jun 27, 2003
Posts: 7


PostPosted: Tue Aug 26, 2003 7:17 am Reply with quoteBack to top

Hey! Thanks for responding back!

The XIT!

Once again, the main thing I want to do is 'CENTER' this theme and make it 800X600.....
I've included 3 Files of the XIt! (top sections) Theme - HEADER.HTML, TABLES.PHP & THEME.PHP...Not sure why I've included the Theme.php..Smile




----------------------------------------------------------------------------------



HEADER.HTML FILE

<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="110" bgcolor="#FFFFFF"><a href="index.php"><img src="themes/TheXiT/images/logo.gif" border="0" alt="$sitename"></a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="150" nowrap><font class="content">$theuser</font></td>


----------------------------------------------------------------------------------

TABLES.PHP FILE

<?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=\"#D9E1E9\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
<tr>
<td bgcolor=\"#7E95AB\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td bgcolor=\"#D9E1E9\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">
<tr>
<td>";
}

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

-----------------------------------------------------------------------------------------

THEME.PHP FILE

<?php

/************************************************************/
/* Theme Name: TheXiT */
/* Theme Design: mikem (www.nukemods.com) */
/* */
/* Theme inspired by the phpbb2 style TheXiT by */
/* ProgramHouze (http://www.fsonline.ca/freeboardph/) */
/* */
/************************************************************/

/************************************************************/
/* Theme Colors Definition */
/* */
/* Define colors for your web site. $bgcolor2 is generaly */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the */
/* other two bgcolor variables follows the same criteria. */
/* $texcolor1 and 2 are for tables internal texts */
/************************************************************/

$bgcolor1 = "#D9E1E9";
$bgcolor2 = "#D9E1E9";
$bgcolor3 = "#C5D0DC";
$bgcolor4 = "#3F5569";
$textcolor1 = "#2181B0";
$textcolor2 = "#2181B0";

include("themes/TheXiT/tables.php");

/************************************************************/
/* 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, $dbi;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body bgcolor=\"#FFFFFF\" text=\"#2181B0\" leftmargin=\"10\" topmargin=\"10\" marginwidth=\"10\" marginheight=\"10\">";
if ($banners == 1) {
include("banners.php");}

$topics_list = "<select name=\"new_topic\" onChange='submit()'>\n";
$topics_list .= "<option value=\"\">All Topics</option>\n";
$toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi);
while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) {
if ($topicid==$topic) { $sel = "selected "; }
$topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
$sel = "";
}
if ($username == "Anonymous") {
$theuser = "&nbsp;&nbsp;<a href=\"modules.php?name=Your_Account&op=new_user\">Create an account";
} else {
$theuser = "&nbsp;&nbsp;Welcome $username!";
}
$public_msg = public_message();
$tmpl_file = "themes/TheXiT/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
blocks(left);
$tmpl_file = "themes/TheXiT/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);

-------------------------------------------------------------------------------------------


Which ones should be changed?? Just the Tables or/and Header??

Thanks Once Again!!
Cheers,
Surfmember
Find all posts by SurfmemberView user's profileSend private message
ferhanz
Nuke Soldier
Nuke Soldier


Joined: Aug 29, 2003
Posts: 22

Location: Lahore,Pakistan

PostPosted: Tue Sep 02, 2003 5:45 am Reply with quoteBack to top

i have the same question..have u guys got the answer yet ?
Find all posts by ferhanzView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
Surfmember
Nuke Cadet
Nuke Cadet


Joined: Jun 27, 2003
Posts: 7


PostPosted: Wed Sep 03, 2003 4:11 pm Reply with quoteBack to top

Even though I prefer phpnuke now... Mambo was a little easier for me to make 800X600 and center it as well..

With phpnuke - the blocks just continue to get messed up...

If anyone can give just an example - it would be greatly appreciated!

thanx once again,
Surfmember
Find all posts by SurfmemberView user's profileSend private message
Surfmember
Nuke Cadet
Nuke Cadet


Joined: Jun 27, 2003
Posts: 7


PostPosted: Fri Sep 05, 2003 6:22 pm Reply with quoteBack to top

Is there ANYONE I CAN PAY????

I was told this was the place to get the answer...

Surfmember
Find all posts by SurfmemberView user's profileSend private message
Surfmember
Nuke Cadet
Nuke Cadet


Joined: Jun 27, 2003
Posts: 7


PostPosted: Sun Sep 07, 2003 5:55 am Reply with quoteBack to top

Nevermind!

Finally got it .......


didn't need to touch the tables at all...=)


Surfmember
Find all posts by SurfmemberView user's profileSend private message
TheGodmaster
Captain
Captain


Joined: Aug 17, 2003
Posts: 377


PostPosted: Mon Sep 08, 2003 6:32 pm Reply with quoteBack to top

Errr so how did you do it??
any chance of telling us?

thanks
Find all posts by TheGodmasterView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.245 Seconds - 340 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::