Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 52
4 members and 48 guests
cliaqr5cksaw8w9, comcdimercialro, howtg9tohel3xjd, httfzop://www.d
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
Old
  (#11 (permalink))
Junior Member
 
Status: Offline
Posts: 9
Join Date: Mar 2003
Location: Seattle, WA
04-22-2003, 08:48 PM

Quote:
Originally Posted by chatserv
The line:
Code:
echo "\n" ." \n";
will return a parse error because it should be:
Code:
. "\n"
. "\n"
Hey, chatserv thanks for the response.

Well, now I don't get any errors but, it still doesn't show anything in the header. I even tried commenting out all of the graphics to see if it might be showing underneath but, it wasn't there either. The search will show when I uncomment it and I can add text using a similar format to the search code but, still no date or time.

What is the code or where is the code that puts the date and time in the forum header? Will that work here also?

Please, keep the suggestions coming. I will try anything at this point.

Thanks to all for your efforts.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#12 (permalink))
Moderator
 
Status: Offline
Posts: 338
Join Date: Jan 2003
04-22-2003, 09:11 PM

Try using the following as a themeheader function:
Code:
function themeheader() { 
global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi; 
    cookiedecode($user); 
    $username = $cookie[1]; 
    if ($username == "") { 
        $username = "Anonymous"; 
    } 
    echo "<body bgcolor=\"324252\" text=\"000000\" link=\"0000ff\" vlink=\"0000ff\">"; 
    if ($banners) { 
   include("banners.php"); 
    } 
echo "<table width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">" 
."<form action=\"modules.php?name=Search method=\"post\"><tr>" 
."<td height=\"3\" background=\"themes/UniverseMetal/images/bgtop.gif\" align=\"left\" valign=\"top\"><img src=\"themes/UniverseMetal/images/logo_top.gif\" border=\"0\"></td>"
."<td height=\"3\" background=\"themes/UniverseMetal/images/bgtop.gif\" align=\"right\" class=\"content\"></td>"
."</tr>" 
."</table>" 
."<table height=\"1\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">" 
."<tr>" 
."<td align=\"left\" width=\"1\" background=\"themes/UniverseMetal/images/topbarleft_bg.gif\"><img src=\"themes/UniverseMetal/images/topbarleft_1.gif\" border=\"0\"></td>" 
."<td align=\"left\" width=\"1\" class=\"topbar\" background=\"themes/UniverseMetal/images/topbarleft_bg.gif\"><nobr><font class=\"tiny\">".translate("Welcome to the")." $sitename</font></nobr></td>"
."<td align=\"left\" width=\"1\" background=\"themes/UniverseMetal/images/topbarleft_bg.gif\"><img src=\"themes/UniverseMetal/images/topbarleft_2.gif\" border=\"0\"></td>"
."<td align=\"right\" width=100% class=\"topbar\" background=\"themes/UniverseMetal/images/topbarmid_bg.gif\"></td>"
        ."<td height=\"3\" background=\"themes/UniverseMetal/images/topbarleft_bg.gif\" align=\"right\" width=\"100%\"><nobr><font class=\"date\">\n"
        ."<script type=\"text/javascript\">\n\n" 
        ."<!--   // Array ofmonth Names\n" 
        ."var monthNames = new Array( \"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"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(monthNames[now.getMonth()] + \" \" + now.getDate() + \", \" + thisYear);\n" 
        ."// -->\n\n" 
        ."</script></nobr></font></td>\n"
."<td align=\"right\" width=\"1\" background=\"themes/UniverseMetal/images/topbarright_bg.gif\"><img src=\"themes/UniverseMetal/images/topbarright_1.gif\" border=\"0\"></td>"
."<td align=\"right\" width=\"1\" class=\"topbarright\" background=\"themes/UniverseMetal/images/topbarright_bg.gif\"><nobr>"
        ."\n"
        ."\n" 
."<td align=\"right\" width=\"1\" background=\"themes/UniverseMetal/images/topbarright_bg.gif\"><img src=\"themes/UniverseMetal/images/topbarright_2.gif\" border=\"0\"></td>" 
."</tr></form>" 
."</table>
" 
."</td></tr><tr><td valign=\"top\" width=\"100%\" bgcolor=\"324252\">" 
."<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\" width=\"100%\"><tr><td valign=\"top\" width=\"200\" bgcolor=\"324252\">"; 
    blocks(left); 
    echo "<img src=\"images/pix.gif\" border=\"0\" width=\"150\" height=\"1\"></td><td width=\"100%\" valign=\"top\">";
}
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#13 (permalink))
Junior Member
 
Status: Offline
Posts: 9
Join Date: Mar 2003
Location: Seattle, WA
04-23-2003, 12:35 AM

chatserv - Hey, thanks alot, that's a great start. Atleast the date is showing now.

Still a few problems though. First, is that it is up too high and has pulled most of the header to the right/offcenter. Second, there is a "&" sign in the bottom right corner, not sure why. Last, there is still no time.

If you could take a look to see what I mean:

http://www.freelancecoalition.com/testing/

Where the "&" sign is at is where I would like the date and time to be. However, when the search text and box where there the dark lines didn't go all the way to the end. They stopped just short of the word search.

Any ideas?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#14 (permalink))
Moderator
 
Status: Offline
Posts: 338
Join Date: Jan 2003
04-23-2003, 01:21 AM

I modified the code and it should now come closer to what you want, i have that theme but my images vary so naturally widths and extra features will vary, but at least you now have a headstart, getting it to be what you want should now be easier.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#15 (permalink))
Junior Member
 
Status: Offline
Posts: 9
Join Date: Mar 2003
Location: Seattle, WA
04-23-2003, 03:33 AM

Quote:
Originally Posted by chatserv
I modified the code and it should now come closer to what you want, i have that theme but my images vary so naturally widths and extra features will vary, but at least you now have a headstart, getting it to be what you want should now be easier.
Thanks you, thank you, thank you, that worked perfect for the date. I didn't even need to make any adjustments.

I hate to even ask after all the effort that was put into getting the date to work but, does anyone have any ideas about how to add the time in. I would like it to be like the time at the top of the subsilver or my forums. Where it changes based on the users time zone setting in their profile. However, at this point will settle for just having GMT.

chatserv and everyone else who provided input thus far, I would just like to say thank you all very much. I really appreciate the help.
   
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
How do you stop the Flash header from reloading each time mayhem Nuke 7.x - General 0 10-03-2004 06:14 AM
User Reg. Date and MKtime ehsanix Purged Topics 2 08-06-2003 05:18 PM
forum date prob? ShRapNeR Open topics 1 05-25-2003 12:19 AM
Date not showing up anymore dac Purged Topics 11 03-03-2003 08:50 PM
Test post date, Joined date mikem Open topics 5 10-06-2002 02:56 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.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