» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 83
0 members and 83 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
Rimonabant
www.rimonabant-weight-loss.com
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on Help adding a flash header within the Purged Topics forums, part of the NM Staff category; hello i would like to know what i have to mod on the Bluebump theme in order to add a ...



Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-14-2003, 08:20 PM
Junior Member
 
Join Date: Dec 2002
Posts: 54
Help adding a flash header
hello i would like to know what i have to mod on the Bluebump theme in order to add a flash header?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-14-2003, 09:00 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
No idea what bluebump is, but try adding this to your header.html file:
Code:
<embed src="themes/Your Theme/images/file-name.swf" quality="high" width="750" height="95"></embed>
Not sure if it will work though. You'll have to try adjusting the width and height.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-14-2003, 10:12 PM
Junior Member
 
Join Date: Dec 2002
Posts: 54
Well i dont no where to put it i guess i tried but could not figure it out. here is the header info that is in the theme.php file..

Code:
function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#DEDEE6\" text=\"\" link=\"\" vlink=\"\" alink=\"\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n"
	."<table cellpadding=\"5\" cellspacing=\"0\" width=\"100%\" border=\"0\" bgcolor=\"#9999cc\"><tr><td align=\"right\">\n";
    if ($banners) {
	include("banners.php");
    }
    echo "</td></tr></table>\n"
	."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#DEDEE6\"><tr>\n"
	."<td bgcolor=\"#DEDEE6\"><IMG src=\"themes/BlueBump/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td></tr></table>\n"
	."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#BCBCCB\">\n"
	."<tr>\n"
	."<td>\n"
	."<a href=\"index.php\"><img src=\"themes/BlueBump/images/logo.gif\" align=\"left\" alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"
	."<td align=\"center\" class=\"menuehead\">\n"
	."<center><form action=\"search.php\" method=\"post\">"._SEARCH." \n"
	."<input type=\"text\" name=\"query\" size=\"14\"></form></center></td>\n"
	."<td align=\"center\" class=\"menuehead\">\n"
	."<center><form action=\"search.php\" method=\"get\">"._TOPICS." \n";
    $toplist = mysql_query("select topicid, topictext from $prefix"._topics." order by topictext");
    echo "<select name=\"topic\"onChange='submit()'>\n"
	."<option value=\"\">"._ALLTOPICS."</option>\n";
    while(list($topicid, $topics) = mysql_fetch_row($toplist)) {
    if ($topicid==$topic) { $sel = "selected "; }
	echo "<option $sel value=\"$topicid\">$topics</option>\n";
	$sel = "";
    }

    echo "</select></form></center></td>\n"
	."</tr></table>\n"
	."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#7373A4\" background=\"themes/BlueBump/images/headerline.gif\" height=\"30\">\n"
	."<tr valign=\"middle\"><td><IMG src=\"themes/BlueBump/images/pixel.gif\" width=\"24\" height=\"30\" border=\"0\" hspace=\"0\"></td><td><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"themes/BlueBump/images/toplight_bg.gif\"><tr><td width=\"4\" height=\"30\"><img src=\"themes/BlueBump/images/toplight_left.gif\" width=\"4\" height=\"30\"></td>\n"
	."<td nowrap class=\"artsubhead\" align=\"left\">\n";
    if ($username == "Anonymous") {
	echo "<a href=\"user.php\">Login/Create</a> an account\n | ";
    } else {
	echo " Welcome $username! | <a href=\"user.php?op=logout\">logout</a> | ";
    }
    echo "<script type=\"text/javascript\">\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"
        ."</script></td><td width=\"4\" height=\"30\"><img src=\"themes/BlueBump/images/toplight_right.gif\" width=\"4\" height=\"30\"></td></tr></table>\n"
	."<td align=\"left\" height=\"30\" width=\"70%\"><IMG src=\"themes/BlueBump/images/pixel.gif\" width=\"24\" height=\"30\" border=\"0\" hspace=\"0\"><A href=\"/\"><IMG src=\"themes/BlueBump/images/home.gif\" width=\"24\" height=\"30\" alt=\"Home\" border=\"0\" hspace=\"5\"></a><A href=\"topics.php\"><IMG src=\"themes/BlueBump/images/themes.gif\" width=\"24\" height=\"30\" alt=\"Topics\" border=\"0\" hspace=\"5\"></a><A href=\"download.php\"><IMG src=\"themes/BlueBump/images/downloads.gif\" width=\"24\" height=\"30\" alt=\"Downloads\" border=\"0\" hspace=\"5\"><A href=\"user.php\"><IMG src=\"themes/BlueBump/images/account.gif\" width=\"24\" height=\"30\" alt=\"Your Account\" border=\"0\" hspace=\"5\"></a><A href=\"submit.php\"><IMG src=\"themes/BlueBump/images/submitnews.gif\" width=\"24\" height=\"30\" alt=\"Submit News\" border=\"0\" hspace=\"5\"></a><A href=\"top.php\"><IMG src=\"themes/BlueBump/images/topten.gif\" width=\"24\" height=\"30\" alt=\"Top 10\" border=\"0\" hspace=\"5\"></a></td>\n"
        ."<td align=\"right\" width=\"10%\"></td>\n"
        ."</tr>\n"
        ."</table><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"\" align=\"center\" background=\"themes/BlueBump/images/under_hl.gif\" height=\"15\"><tr>\n"
	."<td><IMG src=\"themes/BlueBump/images/under_hl.gif\" height=\"15\" alt=\"\" border=\"0\" hspace=\"0\"></td></tr></table>\n"
	."\n"
	."<table width=\"95%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#DEDEE6\" align=\"center\"><tr valign=\"top\">\n"
	."<td bgcolor=\"#DEDEE6\" width=\"150\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/BlueBump/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-14-2003, 10:29 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
Back up your file first, then replace all the code from your post with this. Put your swf file in your theme's images folder. Find the code I added and change the name of the swf file to yours. (find file-name.swf in my code)
Code:
function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#DEDEE6\" text=\"\" link=\"\" vlink=\"\" alink=\"\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n"
   ."<table cellpadding=\"5\" cellspacing=\"0\" width=\"100%\" border=\"0\" bgcolor=\"#9999cc\"><tr><td align=\"right\">\n";
    if ($banners) {
   include("banners.php");
    }
    echo "</td></tr></table>\n"
   ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#DEDEE6\"><tr>\n"
   ."<td bgcolor=\"#DEDEE6\"><IMG src=\"themes/BlueBump/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td></tr></table>\n"
   ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#BCBCCB\">\n"
   ."<tr>\n"
   ."<td align=\"center\"><embed src=\"themes/BlueBump/images/head.swf\" quality=\"high\" width=\"100%\" height=\"95\"></embed></td>\</table>\n"
   ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#7373A4\" background=\"themes/BlueBump/images/headerline.gif\" height=\"30\">\n"
   ."<tr valign=\"middle\"><td><IMG src=\"themes/BlueBump/images/pixel.gif\" width=\"24\" height=\"30\" border=\"0\" hspace=\"0\"></td><td><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"themes/BlueBump/images/toplight_bg.gif\"><tr><td width=\"4\" height=\"30\"><img src=\"themes/BlueBump/images/toplight_left.gif\" width=\"4\" height=\"30\"></td>\n"
   ."<td nowrap class=\"artsubhead\" align=\"left\">\n";
    if ($username == "Anonymous") {
   echo "<a href=\"user.php\">Login/Create</a> an account\n | ";
    } else {
   echo " Welcome $username! | <a href=\"user.php?op=logout\">logout</a> | ";
    }
    echo "<script type=\"text/javascript\">\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"
        ."</script></td><td width=\"4\" height=\"30\"><img src=\"themes/BlueBump/images/toplight_right.gif\" width=\"4\" height=\"30\"></td></tr></table>\n"
   ."<td align=\"left\" height=\"30\" width=\"70%\"><IMG src=\"themes/BlueBump/images/pixel.gif\" width=\"24\" height=\"30\" border=\"0\" hspace=\"0\"><A href=\"/\"><IMG src=\"themes/BlueBump/images/home.gif\" width=\"24\" height=\"30\" alt=\"Home\" border=\"0\" hspace=\"5\"></a><A href=\"topics.php\"><IMG src=\"themes/BlueBump/images/themes.gif\" width=\"24\" height=\"30\" alt=\"Topics\" border=\"0\" hspace=\"5\"></a><A href=\"download.php\"><IMG src=\"themes/BlueBump/images/downloads.gif\" width=\"24\" height=\"30\" alt=\"Downloads\" border=\"0\" hspace=\"5\"><A href=\"user.php\"><IMG src=\"themes/BlueBump/images/account.gif\" width=\"24\" height=\"30\" alt=\"Your Account\" border=\"0\" hspace=\"5\"></a><A href=\"submit.php\"><IMG src=\"themes/BlueBump/images/submitnews.gif\" width=\"24\" height=\"30\" alt=\"Submit News\" border=\"0\" hspace=\"5\"></a><A href=\"top.php\"><IMG src=\"themes/BlueBump/images/topten.gif\" width=\"24\" height=\"30\" alt=\"Top 10\" border=\"0\" hspace=\"5\"></a></td>\n"
        ."<td align=\"right\" width=\"10%\"></td>\n"
        ."</tr>\n"
        ."</table><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"\" align=\"center\" background=\"themes/BlueBump/images/under_hl.gif\" height=\"15\"><tr>\n"
   ."<td><IMG src=\"themes/BlueBump/images/under_hl.gif\" height=\"15\" alt=\"\" border=\"0\" hspace=\"0\"></td></tr></table>\n"
   ."\n"
   ."<table width=\"95%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#DEDEE6\" align=\"center\"><tr valign=\"top\">\n"
   ."<td bgcolor=\"#DEDEE6\" width=\"150\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/BlueBump/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
If this doesnt work let us know and maybe someone else can help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-14-2003, 10:37 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
Also I don't know if you wanted the swf to cover the entire header or just a banner size. Or if you still want a logo, please be descriptive when you first post here so we can help better.
More changes will have to be made depending on what you really want.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-15-2003, 03:44 PM
Junior Member
 
Join Date: Dec 2002
Posts: 54
Ok im realy sorry about that ..thanks for the fast reply. what i want to do is complety take out the logo and make my flash logo be the top header. i dont need the serach function or any of that stuff. just want to have my flash header. Dont need any type of banner function.

Hope this helps
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-15-2003, 03:57 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
OK I edited the code in my last post. Give it a try. You'll have to name the .swf file and put that file in your theme's images folder.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-15-2003, 03:58 PM
Junior Member
 
Join Date: Dec 2002
Posts: 54
Ok here is what i got this is what i want but where the logo.gif part is where i want my head.swf file to be. here is the code .

Code:
function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#DEDEE6\" text=\"\" link=\"\" vlink=\"\" alink=\"\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n"  ."<table cellpadding=\"5\" cellspacing=\"0\" width=\"100%\" border=\"0\" bgcolor=\"#9999cc\"><tr><td align=\"right\">\n";
    if ($banners) {
 include("banners.php");
    }
    echo "</td></tr></table>\n"
 ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#DEDEE6\"><tr>\n"  ."<td bgcolor=\"#DEDEE6\"><IMG src=\"themes/BlueBump/images/pixel.gif\"
width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td></tr></table>\n"
 ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#BCBCCB\">\n"  ."<tr>\n"  ."<td>\n"  ."<a href=\"index.php\"><img src=\"themes/BlueBump/images/logo.jpg\"
align=\"left\" alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"  ."</tr></table>\n"  ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#7373A4\" background=\"themes/BlueBump/images/headerline.gif\" height=\"30\">\n"  ."<tr valign=\"middle\"><td><IMG src=\"themes/BlueBump/images/pixel.gif\"
width=\"24\" height=\"30\" border=\"0\" hspace=\"0\"></td><td><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"themes/BlueBump/images/toplight_bg.gif\"><tr><td width=\"4\" height=\"30\"><img src=\"themes/BlueBump/images/toplight_left.gif\"
width=\"4\" height=\"30\"></td>\n"
 ."<td nowrap class=\"artsubhead\" align=\"left\">\n";
    if ($username == "Anonymous") {
 echo "<a href=\"modules.php?name=Your_Account\">Login/Create</a> an account\n | ";
    } else {
 echo " Welcome $username! | <a href=\"modules.php?name=Your_Account&op=logout\">logout</a> | ";
    }
    echo "<script type=\"text/javascript\">\n"
        ."<!--   // Array ofmonth Names\n"
        ."var monthNames = new Array( \"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"Aug
ust\",\"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"
        ."</script></td><td width=\"4\" height=\"30\"><img src=\"themes/BlueBump/images/toplight_right.gif\" width=\"4\" height=\"30\"></td></tr></table>\n"
 ."<td align=\"left\" height=\"30\" width=\"70%\"><IMG src=\"themes/BlueBump/images/pixel.gif\" width=\"24\" height=\"30\" border=\"0\" hspace=\"0\"></td>\n"
        ."<td align=\"right\" width=\"10%\"></td>\n"
        ."</tr>\n"
        ."</table><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"\" align=\"center\" background=\"themes/BlueBump/images/under_hl.gif\" height=\"15\"><tr>\n"  ."<td><IMG src=\"themes/BlueBump/images/under_hl.gif\" height=\"15\" alt=\"\" border=\"0\" hspace=\"0\"></td></tr></table>\n"
  ."\n"
 ."<table width=\"95%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#DEDEE6\" align=\"center\"><tr valign=\"top\">\n"  ."<td bgcolor=\"#DEDEE6\" width=\"150\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/BlueBump/images/pixel.gif\"
width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
hope this helps. should have done that first but it was late ..sorry
what i did is put <embed src=\"themes/BlueBump/images/head.swf\" quality=\"high\" width=\"750\" height=\"95\"></embed></td>\n"

where i have my img src=\"themes/BlueBump/images/logo.jpg\"
but this does not work
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-15-2003, 04:00 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
Hello chech my last post.
You may need to use this in place of what I posted first.
Code:
<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\"
 WIDTH=\"100%\">
<param NAME=\"movie VALUE=\"themes/bluebump/images/head.swf\"> <param NAME=\"wmode VALUE=\"transparent\"> <param NAME=\"menu VALUE=\"false"> <param NAME=\"quality VALUE=\"best\">
<param NAME=\"bgcolor VALUE=\"#ffffff\">
<embed src=\"themes/bluebump/images/head.swf\" menu=\"false\" quality=\"best\" bgcolor=\"#ffffff\"  WIDTH=\"100%\" TYPE="application/x-shockwave-flash" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"></embed>
</object>
And check the path and folder names and spelling I used.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-15-2003, 04:28 PM
Junior Member
 
Join Date: Dec 2002
Posts: 54
Hmm no i get the same error. i was geting before

Parse error: parse error, unexpected $ in /home/evil1/public_html/themes/BlueBump/theme.php on line 232

Fatal error: Call to undefined function: themeheader() in /home/evil1/public_html/header.php on line 47
line 232 is the ?> at the end of my theme.php file and line 47 in my header is themeheader();

Dont no i cant get it to work....lol
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
adding a flash intro to a php-nuke installation? natenkiki2004 Nuke 7.x - General 3 07-06-2007 10:14 PM
Flash header not working in IE Duke Nuke 7.x - Themes 0 12-17-2005 04:01 PM
Adding flash into the banners current position gsfmrmoo Site design 0 02-25-2005 10:57 PM
How do you stop the Flash header from reloading each time mayhem Nuke 7.x - General 0 10-03-2004 06:14 AM
flash banner in header stevron Theme packs 4 04-10-2003 08:13 PM


All times are GMT -5. The time now is 01:30 AM.


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