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, 340 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 - PHPNuke - phpBB Theme conflict [ ]
 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
lpiacono
Nuke Cadet
Nuke Cadet


Joined: Sep 22, 2005
Posts: 3


PostPosted: Sun Feb 05, 2006 12:35 pm Reply with quoteBack to top

Dear nukecop users,

I have designed a website at http://www.aedgi-afip.com.ar/index.php

To my surprise, after setting up the theme of my website to my taste, I came to discover that my websites (style sheet) ".css" takes presedence over my phpBB (style sheet) ".css".

Meaning my forums text and links are the same color text the rest of my site is.

For example, since my main websites background color is blue I need the text and links to be white. --->

When you jump over to the forum, all the text and links are also white, and since my current forum theme is the defualt subsilver the text disapears against the white tables of subsliver theme.

changing the theme from subsilver to another theme doesn;t work at all.

Not only do the new themes not work at all, becuase images are missing and table are totally wacky, but the links and text still go to my websites .css and go white, which is what I want to avoid.

I guess my question would be, how do I configure my forum (phpBB) to go for my forums ".css" instead of using my websites ".css".

Please let me know whatever I can do to help you help me out. This issue is really driving me nuts. I can't get it to work no matter what I configure.

Thanks,

lpiacono
Find all posts by lpiaconoView user's profileSend private message
astalavistabd
Captain
Captain


Joined: Dec 19, 2004
Posts: 663

Location: Canada

PostPosted: Mon Feb 06, 2006 11:08 am Reply with quoteBack to top

Well, you can change your phpbb stylesheet from your overall_header.tpl OR use forum without any blocks(on the both sides)

Smile

_________________
Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required)
Find all posts by astalavistabdView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
lpiacono
Nuke Cadet
Nuke Cadet


Joined: Sep 22, 2005
Posts: 3


PostPosted: Mon Feb 06, 2006 8:44 pm Reply with quoteBack to top

ok .. awesome ...

I've been touching overallheader.tpl file and i've seen that it links to formIE.css

now formIE.css doesn't really define anything. The file that really defines something is subSilver.css

Would you recommend I point to that .css file?

I ask this becuase I believe that subSilver.css is called somewhere else.

However eventhough it is called the styles aren't being applied. I know this becuase I copied the subSilver.css conect to formIE.css and finnaly got it to override my general sites .css

what do you think? could you give me a little more advice?

Thanks!
Find all posts by lpiaconoView user's profileSend private message
astalavistabd
Captain
Captain


Joined: Dec 19, 2004
Posts: 663

Location: Canada

PostPosted: Tue Feb 07, 2006 3:42 pm Reply with quoteBack to top

What im saying is that if you want to use similar style for phpbb and phpnuke(many phpnuke themes comes with matching phpbb theme but if you use different phpbb theme with your phpnuke) you have to edit your phpbb style sheet. In that cse you have to edit your overall_header.tpl(it has your phpbb style sheet). Now i don't know why you have two style sheets for your phpbb theme. And if you overwrite your phpbb style sheet with phpnuke styles heet it can make a big mess. Neutral

_________________
Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required)
Find all posts by astalavistabdView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
t3kh34d
Nuke Cadet
Nuke Cadet


Joined: Nov 22, 2006
Posts: 2


PostPosted: Wed Nov 22, 2006 4:58 pm Reply with quoteBack to top

I too have also been experiencing the same errors as lpiacono. I have a theme that I am using that I'm very happy with, but some how the css for the theme seems to overtake the css for my PHPBB forum template. I have noticed that when I go into my admin.php and into the forum admin that the colors and css for that is exactly how I had setup my forums.php. However when I pull up my website my phpbb forums text colors are identical to the rest of the site. I have been reading my overall_header.tpl file over and over again. I see where it defines the text colors, however there is no color hex codes in there, it looks like they are actually variables or strings. Can someone tell me how to just add Hex color codes to the overall_header.tpl file?
Find all posts by t3kh34dView user's profileSend private message
saturnstroll
Nuke Soldier
Nuke Soldier


Joined: Nov 19, 2006
Posts: 18


PostPosted: Thu Nov 23, 2006 9:05 pm Reply with quoteBack to top

I'm having similar trouble. Really really vexing me.

I'm using php_nuke 7.9 with theme 411.
The package deal I bought came with a default phpbb skin,
but it uses black font on a black background. (?)
(the seller isn't helping)

To solve this, I used this in the /httpdocs/themes/411/forums/overall_header.tpl:
Code:
<link rel="stylesheet" href="themes/411/forums/forums.css" type="text/css">

but now it's causing the left hand menu to turn gray, instead of black. It's also graying out the Private Messages page.

How can we modify the forums seperate from the php_nuke theme?

pls check it out at http://www.gamergods.com/modules.php?name=Forums
Find all posts by saturnstrollView user's profileSend private message
saturnstroll
Nuke Soldier
Nuke Soldier


Joined: Nov 19, 2006
Posts: 18


PostPosted: Fri Nov 24, 2006 7:47 am Reply with quoteBack to top

I just found a huge article about creating your own phpbb style, which is what you're (we're) going to have to learn to do if you (we) want to get anything done, eh? I'm going to give it a try this weekend. I'll let you know how it turned out:

http://www.phpbb.com/kb/article.php?article_id=197
Find all posts by saturnstrollView user's profileSend private message
saturnstroll
Nuke Soldier
Nuke Soldier


Joined: Nov 19, 2006
Posts: 18


PostPosted: Sat Nov 25, 2006 7:37 pm Reply with quoteBack to top

Okay, the forum is up with only a couple glitches.
I followed the following post:

http://www.nukecops.com/postlite23968-phpbb.html
in case that link breaks, here is the code by "mikem"
Code:
#####################################################################
## These are the changes that need to be applied to the            ##
## THEME PACKS(Themes with matching Nuke theme and Forum template) ##
## in order to assure they will work with                          ##
## PHP-Nuke version 6.5 BETA7 and UP ONLY!!            ##
## written by mikem of http://www.nukemods.com                     ##
#####################################################################
## How to upgrade a Nuke6.0 theme with matching            ##
## phpBB ported Forum 2.0.6 template.               ##
##                                                         ##
## YourTheme will be the example name of the theme/template        ##
## used for reference only in this tutorial.                       ##
#####################################################################

Perform these steps on your Computer, not on your FTP
Then upload your Theme pack when your done.

You first need to create a folder named
forums
in the themes/YourTheme directory

In modules/Forums/templates/YourTheme
copy all the contents

Paste all the files you just copied into
themes/YourTheme/forums  directory
You can delete the admin folder in the forums directory once this is done.

you can then delete
modules/Forums/templates/YourTheme entire folder and contents
Since Nuke 6.5 does not need the Forum template anymore.

You must leave the Style selection in the Forum Admin configuration
set as your regular template in your
modules/Forums/templates/YourTemplate
This SHOULD be subsilver(leave subsilver in your modules/Forums/templates
folder, and do not change that setting in Forum Admin, EVER!!!)
The Forum will use the Default template that is shown in the
Forum Admin configuration to display the Forum Admin pages ONLY.
Your Forum Admin template will not change with your theme selection anymore.
If that doesn't make sense, trust me or email me at - ha right

Nuke will use the themes matching template from it's forums directory.
If that directory DOES NOT exist in your themes/YourTheme folder, then
the theme will revert to the Default template for the Forums.

You should now have in your Themes folder the following
themes/YourTheme/theme.php and other files
themes/YourTheme/images
themes/YourTheme/forums
themes/YourTheme/style

#####################################################################

files that need renamed.
Look in:
themes/YourTheme/forums/
rename:
YourTheme.css
to
forums.css

also rename:
YourTheme.cfg
to
forums.cfg

Do a FIND/REPLACE in all the files in
themes/YourTheme/forums/
for
YourTheme.css
they need to be changed to
forums.css

#####################################################################

Look in forums.cfg
delete all instances of
modules/Forums/

#####################################################################

Look in theme_info.cfg
Change these lines:
$YourTheme[0]['template_name'] = "YourTheme";
$YourTheme[0]['style_name'] = "YourTheme";
$YourTheme[0]['head_stylesheet'] = "YourTheme.css";

to

$YourTheme[0]['template_name'] = "forums";
$YourTheme[0]['style_name'] = "forums";
$YourTheme[0]['head_stylesheet'] = "forums.css";


#####################################################################

In themes/YourTheme/forums/

Path changes need applied to all files:

change all paths from
modules/Forums/templates/YourTheme/
to
themes/YourTheme/forums/

and also change paths from if they exist
templates/YourTheme/
to
themes/YourTheme/forums/


#####################################################################
NOTES:
overall_header.tpl in the themes/YourTheme/forums folder
You may need to add a </td> </table> closing tags.
The footer maybe broken in some templates. Just check it.
You'll know if the footer is broken. When you change to your theme
and go to the Forums, the Nuke footer jumps all the way up to
right under the Forums.

The bodyline, forumline and background color of the Forum may need
some attention in certain templates.
look in:
themes/YourTheme/forums/forums.css
or
themes/YourTheme/forums/overall_header.tpl
for references

One last thing. I've noticed the themes in Nuke6.5 when you
have the forum template included with them. They don't use the
Forums css style sheet. Instead, it uses the css code that is in
most of the overall_header.tpl files in most templates.
If you run into color problems with BG colrs etc. Try copying all
your css style sheet css code to your overall_header.tpl file, overwriting
the css code that is already there.

#####################################################################
WARNING! This is not an official Nuke theme changes list from
Nuke6.0 to Nuke6.5. Use it at your own risk. I am not resposible if
you break anything.
#####################################################################

and the quote from brianpuffer:
Quote:
i finally did it just one problem but first what i did was in the overall_header.tpl file were you say try adding the forums.css script in the file


i tried and failed

what i did was check where it referenced to the stylesheet in the script of the overall file and linked to the exact file

like this(somewhere in the head of the script


<link rel="stylesheet" href="themes/Clan/forums/forums.css" type="text/css">



and walla it works


Still not perfect, but getting closer.
Find all posts by saturnstrollView 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 - TUTTISU E-COMMERCE http://www.tuttisu.it
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.042 Seconds - 122 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::