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
astalavistabd Captain
Joined: Dec 19, 2004
Posts: 663
Location: Canada
Posted:
Mon Feb 06, 2006 11:08 am
Well, you can change your phpbb stylesheet from your overall_header.tpl OR use forum without any blocks(on the both sides)
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!
astalavistabd Captain
Joined: Dec 19, 2004
Posts: 663
Location: Canada
Posted:
Tue Feb 07, 2006 3:42 pm
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.
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?
saturnstroll Nuke Soldier
Joined: Nov 19, 2006
Posts: 18
Posted:
Thu Nov 23, 2006 9:05 pm
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:
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:
#####################################################################
## 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
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
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