PHP Nuke Nederland
 
•   Home  •  Downloads  •  Your Account  •  Forums  •
PHP-Nuke Nederland: Forums

PHP-Nuke Nederland :: View topic - Menu van een ander theme gebruiken
 Forum FAQ  •   Search   •  Memberlist  •  Usergroups   •  Register   •    •  Profile  •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
View previous topic Log in to check your private messages View next topic
Author Message
Krammetje
Gevorderd
Gevorderd


Joined: Sep 12, 2006
Posts: 66

PostPosted: Tue 12 Jun 2007 5:07 Reply with quoteBack to top

Hallo.

Op mijn website (www.vogido11.nl) heb ik altijd het theme deepblue gebruikt. Nu wij naar een andere club gaan moeten de kleuren aangepast worden naar rood. Ik vond toen het theme IPBNukeRed (zie www.derde-helft/nl/test/). Hiervan heb ik enkele afbeeldingen gebruikt om de kleuren naar rood te krijgen. Ik zou echter ook graag het menu zoals die bij IPB gebruikt wordt gebruiken voor mijn originele site. Helemaal overgaan naar IPB is geen optie omdat ik Deepblue gewoon mooier, duidelijker en functioneler vind.

Het zit volgens mij in het gedeelte van de header in theme.php. Hieronder eerst de theme.php van IPB en daaronder van Deepblue. Kan iemand mij vertellen wat ik aan moet passen? Ik ben er zelf al 2 uur mee bezig geweest, maar krijg steeds foutmeldingen of het hele theme aangepast, in plaats van alleen het menu.

Code:
/************************************************************/
/* Function themeheader()                                   */
/************************************************************/

function themeheader() {
    global $banners, $sitename, $name;
    echo "<body bgcolor=\"#000000\" text=\"#FFFFCC\">";
    if ($banners) {
   include("banners.php");
   echo "<br />";
    }

    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" align=\"center\">"
   ."<tr><td width=\"100%\" bgcolor=\"#FFFFFF\">"
   ."<table border=\"0\" width=\"100%\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#D03535\">"
   ."<tr><td width=\"100%\">"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" background=\"themes/IPBNukeRed/images/logobg.gif\">"
   ."<tr><td width=\"100%\" align=\"left\"><a href=\"index.php\"><img border=\"0\" src=\"themes/IPBNukeRed/images/logo.gif\" alt=\"Welcome to $sitename!\"></a>"
   ."</td></tr></table></td></tr></table></td></tr>"
   ."<tr><td><img src=\"themes/IPBNukeRed/images/pixel.gif\" width=\"1\" height=\"5\" border=\"0\" alt=\"\"></td></tr>"
   ."<tr><td width=\"100%\">"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\" bgcolor=\"#D03535\">"
   ."<tr><td nowrap=\"nowrap\" width=\"100%\" bgcolor=\"#F5F5F5\" height=\"24\" align=\"center\">"
   ."<table><tr><td>"
   ."<a href=\"index.php\"><img src=\"themes/IPBNukeRed/images/home.gif\" border=\"0\" alt=\"Home\"></a></td><td><font  class=\"topmenu\"><a href=\"index.php\">หน้าแรก</a>     </td>"
   ."<td><a href=\"forums.html\"><img src=\"themes/IPBNukeRed/images/forums.gif\" border=\"0\" alt=\"Forums\"></a></td><td><font  class=\"topmenu\"><a href=\"forums.html\">Forum</a>     </td>"
   ."<td><a href=\"account.html\"><img src=\"themes/IPBNukeRed/images/account.gif\" border=\"0\" alt=\"Your Account\"></a></td><td><font  class=\"topmenu\"><a href=\"account.html\">Your account</a>     </td>"
   ."<td><a href=\"downloads.html\"><img src=\"themes/IPBNukeRed/images/downloads.gif\" border=\"0\" alt=\"Downloads\"></a></td><td><font  class=\"topmenu\"><a href=\"downloads.html\">Downloads</a>     </td>"
   ."<td><a href=\"submit.html\"><img src=\"themes/IPBNukeRed/images/submit.gif\" border=\"0\" alt=\"Submit News\"></a></td><td><font  class=\"topmenu\"><a href=\"submit.html\">Voeg nieuws toe</a>     </td>"
   ."<td><a href=\"topics.html\"><img src=\"themes/IPBNukeRed/images/topics.gif\" border=\"0\" alt=\"Topics\"></a></td><td><font  class=\"topmenu\"><a href=\"topics.html\">Topics</a>     </td>"
   ."<td><a href=\"top.html\"><img src=\"themes/IPBNukeRed/images/top10.gif\" border=\"0\" alt=\"Top Ten\"></a></td><td><font  class=\"topmenu\"><a href=\"top.html\">Top 10</a>   </td>"
   ."</tr></table></td></tr></table></td></tr>"
   ."<tr><td width=\"100%\"><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td bgcolor='#FFFFFF'>";
    $public_msg = public_message();
    echo "$public_msg";
    echo "</td></tr></table>"
   ."<tr><td width=\"100%\" bgcolor=\"#FFFFFF\"><img src=\"themes/IPBNukeRed/images/pixel.gif\" width=\"1\" height=\"9\" border=\"0\" alt=\"\">"
   ."</td></tr>"
   ."<table width=\"100%\" cellpadding=\"0\" bgcolor=\"#FFFFFF\" cellspacing=\"0\" border=\"0\">"
   ."<tr valign=\"top\">";
   echo "<td width=\"138\" bgcolor=\"#FFFFFF\" valign=\"top\">";
    //blocks(left);
   if ($name=='Forums') {
   /* Don't display it. */
   }
   else
   if ($name=='Members_List') {
   /* Don't display it. */
   }
   else
   if ($name=='Private_Messages') {
   /* Don't display it. */
   }
   else {
   blocks(left);
   echo "</td><td><img src=\"themes/IPBNukeRed/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td>";
   }
   echo "<td width=\"100%\">";
}



Code:
/************************************************************/
/* Function themeheader()                                   */
/************************************************************/

function themeheader() {
    global $banners, $sitename;
    echo "<body bgcolor=\"#0E3259\" text=\"#000000\" link=\"0000ff\">"
   ."<br>";
    if ($banners) {
   include("banners.php");
   echo "<br>";
    }

    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\" align=\"center\">\n"
   ."<tr><td width=\"100%\">\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
   ."<tr><td width=\"100%\">\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
   ."<tr><td width=\"100%\" height=\"88\" bgcolor=\"#FFFFFF\">\n"
   ."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><a href=\"index.php\"><img border=\"0\" src=\"themes/DeepBlue/images/logo.gif\" alt=\"Welcome to $sitename!\" hspace=\"20\"></a></td><td align=\"right\"><img border=\"0\" src=\"themes/DeepBlue/images/logo-graphic.gif\"></td></tr></table></td></tr>\n"
   ."<tr><td width=\"100%\" bgcolor=\"#000000\" height=\"19\" valign=\"bottom\">\n"
   ."<a href=\"index.php\"><img border=\"0\" src=\"themes/DeepBlue/images/home.gif\" width=\"140\" height=\"18\"></a>"
   ."<a href=\"account.html\"><img border=\"0\" src=\"themes/DeepBlue/images/account.gif\" width=\"140\" height=\"18\"></a>"
   ."<a href=\"downloads.html\"><img border=\"0\" src=\"themes/DeepBlue/images/downloads.gif\" width=\"140\" height=\"18\"></a>"
   ."<a href=\"submit.html\"><img border=\"0\" src=\"themes/DeepBlue/images/submit.gif\" width=\"140\" height=\"18\"></a>"
   ."<a href=\"topics.html\"><img border=\"0\" src=\"themes/DeepBlue/images/topics.gif\" width=\"140\" height=\"18\"></a>"
   ."<a href=\"top.html\"><img border=\"0\" src=\"themes/DeepBlue/images/top10.gif\" width=\"140\" height=\"18\"></a>"
   ."</td></tr><tr><td width=\"100%\" height=\"10\" bgcolor=\"#d3e2ea\">\n"
   ."</td></tr></table>\n"
   ."</td></tr><tr><td width=\"100%\"><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td bgcolor='#d3e2ea'>\n";
    $public_msg = public_message();
    echo "$public_msg<br>";
    echo "</td></tr></table><table width=\"840\" cellpadding=\"0\" bgcolor=\"d3e2ea\" cellspacing=\"0\" border=\"0\">\n"
   ."<tr valign=\"top\">\n"
   ."<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
   ."<td width=\"138\" bgcolor=\"d3e2ea\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}
View user's profileSend private message
zeromechanic
Administrator
Administrator


Joined: Oct 01, 2004
Posts: 1527
Location: Emmeloord

PostPosted: Tue 12 Jun 2007 6:21 Reply with quoteBack to top

Ik heb net die test site eens zitten bekijken.

Ik zie niks bijzonders aan dat menu, lijkt mij gewoon het standaard menu wat bij PHPNuke geleverd word.

Kun je misschien een link geven waar die theme kunt downloaden en/of bekijken.
Dan kunnen we je misschien verder helpen.

Bekijk anders het sommaire menu, wordt ook op deze site gebruikt.
Dit menu is zelf in te delen in categorieen etc etc.

_________________
Te Lezen: Forum Regels | Te Gebruiken
View user's profileSend private messageVisit poster's website
zeromechanic
Administrator
Administrator


Joined: Oct 01, 2004
Posts: 1527
Location: Emmeloord

PostPosted: Tue 12 Jun 2007 6:22 Reply with quoteBack to top

ow sorrie, was ietsje te snel.

Je bedoelt het top menu Rolling Eyes

_________________
Te Lezen: Forum Regels | Te Gebruiken
View user's profileSend private messageVisit poster's website
Krammetje
Gevorderd
Gevorderd


Joined: Sep 12, 2006
Posts: 66

PostPosted: Tue 12 Jun 2007 16:08 Reply with quoteBack to top

Ik bedoel inderdaad het topmenu. Ik hoop dat iemand me kan helpen.
View user's profileSend private message
Krammetje
Gevorderd
Gevorderd


Joined: Sep 12, 2006
Posts: 66

PostPosted: Sat 16 Jun 2007 3:57 Reply with quoteBack to top

Niemand die me kan helpen?

Ik heb overigens ook nog een andere vraag, die denk ik makkelijk is. Hoe pas ik de achtergrondkleuren aan? Ik bedoel dus dat donkerblauw en dat lichtblauw. Ik weet dat het in style.css of theme.php zit, maar kan niet precies achterhalen waar precies.
View user's profileSend private message
Krammetje
Gevorderd
Gevorderd


Joined: Sep 12, 2006
Posts: 66

PostPosted: Wed 20 Jun 2007 6:16 Reply with quoteBack to top

Inmiddels heb ik de 2e vraag zelf al opgelost.

Zoals ik al dacht zat het in theme.php. Daar staat tweemaal de kleur donkerblauw in vermeld die je allebei moet aanpassen (bgcolor 3), verder staat er volgens mij 5 maar de lichtblauw in vermeld (bgcolor 4).
Als je de code van theme.php naar word kopieert kun je het makkelijk in 1x allemaal aanpassen middels 'ctrl + f' en dan 'vervangen'.

Hopelijk kan iemand me helpen met de eerste vraag!
View user's profileSend private message
nedkelly
Elite Support
Elite Support


Joined: Aug 23, 2004
Posts: 533

PostPosted: Wed 20 Jun 2007 13:25 Reply with quoteBack to top

Dit zijn vaak images, deze zou je normaal over kunnen zetten als ze de zelfde maat hebben. Of deze zelf maken in b.v. photoshop.
Zorg dat ze de zelfde maat hebben, de zelfde naam en de zelfde path.
View user's profileSend private messageVisit poster's website
Krammetje
Gevorderd
Gevorderd


Joined: Sep 12, 2006
Posts: 66

PostPosted: Thu 21 Jun 2007 5:35 Reply with quoteBack to top

Images vervangen lukt inderdaad wel, maar in dit geval zijn het 2 verschillende soorten.

De eerste (zie www.vogido11.nl) heeft een heel ander topmenu dan de tweede (www.derde-helft.nl/test/). Ik wil het tweede topmenu als het ware in de eerste site implementeren, als dat mogelijk is.
View user's profileSend private message
zeromechanic
Administrator
Administrator


Joined: Oct 01, 2004
Posts: 1527
Location: Emmeloord

PostPosted: Thu 21 Jun 2007 5:40 Reply with quoteBack to top

Probeer dit eens :

In DeepBlue:
Vervang :
Code:

   ."<a href=\"index.php\"><img border=\"0\" src=\"themes/DeepBlue/images/home.gif\" width=\"140\" height=\"18\"></a>"
   ."<a href=\"account.html\"><img border=\"0\" src=\"themes/DeepBlue/images/account.gif\" width=\"140\" height=\"18\"></a>"
   ."<a href=\"downloads.html\"><img border=\"0\" src=\"themes/DeepBlue/images/downloads.gif\" width=\"140\" height=\"18\"></a>"
   ."<a href=\"submit.html\"><img border=\"0\" src=\"themes/DeepBlue/images/submit.gif\" width=\"140\" height=\"18\"></a>"
   ."<a href=\"topics.html\"><img border=\"0\" src=\"themes/DeepBlue/images/topics.gif\" width=\"140\" height=\"18\"></a>"
   ."<a href=\"top.html\"><img border=\"0\" src=\"themes/DeepBlue/images/top10.gif\" width=\"140\" height=\"18\"></a>"


Door code uit IPB:
Code:

   ."<a href=\"index.php\"><img src=\"themes/IPBNukeRed/images/home.gif\" border=\"0\" alt=\"Home\"></a></td><td><font  class=\"topmenu\"><a href=\"index.php\">หน้าแรก</a>     </td>"
   ."<td><a href=\"forums.html\"><img src=\"themes/IPBNukeRed/images/forums.gif\" border=\"0\" alt=\"Forums\"></a></td><td><font  class=\"topmenu\"><a href=\"forums.html\">Forum</a>     </td>"
   ."<td><a href=\"account.html\"><img src=\"themes/IPBNukeRed/images/account.gif\" border=\"0\" alt=\"Your Account\"></a></td><td><font  class=\"topmenu\"><a href=\"account.html\">Your account</a>     </td>"
   ."<td><a href=\"downloads.html\"><img src=\"themes/IPBNukeRed/images/downloads.gif\" border=\"0\" alt=\"Downloads\"></a></td><td><font  class=\"topmenu\"><a href=\"downloads.html\">Downloads</a>     </td>"
   ."<td><a href=\"submit.html\"><img src=\"themes/IPBNukeRed/images/submit.gif\" border=\"0\" alt=\"Submit News\"></a></td><td><font  class=\"topmenu\"><a href=\"submit.html\">Voeg nieuws toe</a>     </td>"
   ."<td><a href=\"topics.html\"><img src=\"themes/IPBNukeRed/images/topics.gif\" border=\"0\" alt=\"Topics\"></a></td><td><font  class=\"topmenu\"><a href=\"topics.html\">Topics</a>     </td>"
   ."<td><a href=\"top.html\"><img src=\"themes/IPBNukeRed/images/top10.gif\" border=\"0\" alt=\"Top Ten\"></a></td><td><font  class=\"topmenu\"><a href=\"top.html\">Top 10</a>   </td>"

_________________
Te Lezen: Forum Regels | Te Gebruiken
View user's profileSend private messageVisit poster's website
Krammetje
Gevorderd
Gevorderd


Joined: Sep 12, 2006
Posts: 66

PostPosted: Thu 21 Jun 2007 17:29 Reply with quoteBack to top

Hmm.. ik zie nu wel de menubalk die ik wil hebben, alleen ziet het er in de layout nog niet helemaal goed uit. De menubalk staat rechts naast de rest van de site, in plaats van onder het logo.

De code in theme.php is nu als volgt:

Code:
/************************************************************/
/* Function themeheader()                                   */
/************************************************************/

function themeheader() {
    global $banners, $sitename;
    echo "<body bgcolor=\"#990000\" text=\"#000000\" link=\"0000ff\">"
   ."<br>";
    if ($banners) {
   include("banners.php");
   echo "<br>";
    }

    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\" align=\"center\">\n"
   ."<tr><td width=\"100%\">\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
   ."<tr><td width=\"100%\">\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
   ."<tr><td width=\"100%\" height=\"88\" bgcolor=\"#FFFFFF\">\n"
   ."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><a href=\"index.php\"><img border=\"0\" 
src=\"themes/DeepBlue/images/logo.gif\" alt=\"Welcome to $sitename!\" hspace=\"0\"></a></td></tr></table></td></tr>\n"
   ."<tr><td width=\"100%\" bgcolor=\"#000000\" height=\"19\" valign=\"bottom\">\n"
      ."<a href=\"index.php\"><img src=\"themes/IPBNukeRed/images/home.gif\" border=\"0\" alt=\"Home\"></a></td><td><font  class=\"topmenu\"><a href=\"index.php\">Home</a>     </td>"
   ."<td><a href=\"forums.html\"><img src=\"themes/IPBNukeRed/images/forums.gif\" border=\"0\" alt=\"Forums\"></a></td><td><font  class=\"topmenu\"><a href=\"forums.html\">Forum</a>     </td>"
   ."<td><a href=\"account.html\"><img src=\"themes/IPBNukeRed/images/account.gif\" border=\"0\" alt=\"Your Account\"></a></td><td><font  class=\"topmenu\"><a href=\"account.html\">Your account</a>     </td>"
   ."<td><a href=\"downloads.html\"><img src=\"themes/IPBNukeRed/images/downloads.gif\" border=\"0\" alt=\"Downloads\"></a></td><td><font  class=\"topmenu\"><a href=\"downloads.html\">Downloads</a>     </td>"
   ."<td><a href=\"submit.html\"><img src=\"themes/IPBNukeRed/images/submit.gif\" border=\"0\" alt=\"Submit News\"></a></td><td><font  class=\"topmenu\"><a href=\"submit.html\">Voeg nieuws toe</a>     </td>"
   ."<td><a href=\"topics.html\"><img src=\"themes/IPBNukeRed/images/topics.gif\" border=\"0\" alt=\"Topics\"></a></td><td><font  class=\"topmenu\"><a href=\"topics.html\">Topics</a>     </td>"
   ."<td><a href=\"top.html\"><img src=\"themes/IPBNukeRed/images/top10.gif\" border=\"0\" alt=\"Top Ten\"></a></td><td><font  class=\"topmenu\"><a href=\"top.html\">Top 10</a>   </td>"
   ."</tr><tr><td width=\"100%\" height=\"10\" bgcolor=\"#ffeedc\">\n"
   ."</td></tr></table>\n"
   ."</td></tr><tr><td width=\"100%\"><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td bgcolor='#ffeedc'>\n";
    $public_msg = public_message();
    echo "$public_msg<br>";
    echo "</td></tr></table><table width=\"840\" cellpadding=\"0\" bgcolor=\"ffeedc\" cellspacing=\"0\" border=\"0\">\n"
   ."<tr valign=\"top\">\n"
   ."<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
   ."<td width=\"138\" bgcolor=\"ffeedc\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}
View user's profileSend private message
Display posts from previous:      
 Donaties   Adverteren 
Wilt u het forum steunen, dan kunt u nu eenvoudig doneren met PayPal.
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
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

Web site powered by PHP-Nuke

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2004-2008 by BlueLion.
SEO enhanced with the Sitemapper script
You can syndicate our news using the file backend.php or ultramode.txt
Powered by PHP Powered by MySQL Apache Webserver Valid robots.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Pagina rendering: 0.12 seconden


[Valid News RSS]

RSS Feeds:
[RSS 2.0 News Feed]
[RSS 2.0 Download Feed]
[RSS 2.0 Forum Feed]
[RSS 2.0 Link Feed]
:: fisubsilver shadow phpbb2 style by Daz :: PHP-Nuke theme by BlueLion ::