Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues
Author Message
FireATST
RavenNuke(tm) Development Team



Joined: Jun 12, 2004
Posts: 654
Location: Ohio

PostPosted: Tue Jul 10, 2007 2:00 pm Reply with quote

I am attempting to edit the colors of the fisubice theme in RN21001. I have fumbled through figuring out how to change everything so far but the forums background to match the fisubice theme background color. I have searched for the last 2 hours and tried the suggestions found there without out any luck. More than likely it is just something simple I have overlooked but the longer I look at this, the worse it looks....lol.

I have tried to change the subsilver.css in the forums admin section with no change. I have tried editing the overall_header.tpl in the module/forums/subsilver folder. I have tried the forums.css file. Some of the changes I could see the background color correctly for a split second and then something over rode the settings back to the original fisubice background color.

I am finding just what a mess in general the coding for themes working with forums as described by fkelly in one of his posts ( can't remember for sure which one right now, but I remember him describing in the future possibly looking to straighten some of this mess out)..... Laughing

Any how, would someone please save my sanity by pointing me to the correct file for this version to where I can match the background of my forums page to the background color I have made in the theme itself.....I would greatly appreciate it, and my dogs would to since I take my frustrations out on them....(lol, j/k, I don't mistreat my dogs) I would provide a link to what I am working on, but I am working on it locally trying to get everything right before moving on to the production site. Any help would be greatly appreciated.
 
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Tue Jul 10, 2007 2:23 pm Reply with quote

I just did that yesterday. Change the background color of your forum in forums.css and overall_.header:
Quote:
The content of the posts (body of text) */
body{background:#your-color-here;color:#000000;font:12px Verdana,Arial,Helvetica,sans-serif;

In /themes/fisubice/forums/ are the important files:1.forums.css and 2. overall_header.tpl Smile
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Tue Jul 10, 2007 2:38 pm Reply with quote

Also, remember that whenever you change an external CSS file on your server you may not see the effects of the change until you clear your browser's cache. That has bitten me soooo many times. Smile

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
FireATST







PostPosted: Tue Jul 10, 2007 3:45 pm Reply with quote

thanks for the replies.....Smile I had forgotten also Gremmie about that possibility....that would be so not funny if that is what it turns out to be..... ROTFL

Just gave it a shot and thanks Susann that took care of it. Apparently when I made the changes before I did just to one of the files at a time. The change would take place and then the other file would over write it apparently. It now looks as it should...... Laughing
 
Gremmie







PostPosted: Tue Jul 10, 2007 6:16 pm Reply with quote

Yes, that is the "double head" problem again that currently exists with forums integration. Sad
 
mars
Worker
Worker



Joined: Jul 08, 2006
Posts: 123
Location: Bloomsburg,Pennsylvania

PostPosted: Thu Jul 12, 2007 12:19 pm Reply with quote

You can actually move all of the style tags out of overall_header.tpl into forums.css and then remove the head and body tags from overall_header.tpl

The forums will still work fine.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Gremmie







PostPosted: Thu Jul 12, 2007 1:58 pm Reply with quote

Yes I have done that on my own site. We just need to do it in RavenNuke next. It is complicated when you have to support many themes.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Thu Jul 12, 2007 6:18 pm Reply with quote

Gremmie, we should take a page out of 64bitguy's book on this with the CSS. For modules that want to use the module-specific style sheet, the module simply needs to define a constant. We could do the same here IF there is a need to modify a core RN file that is. If the changes are strictly forum files as mentioned, then I don't see a concern... But, I am NOT a theme expert and have not worked with a bunch of them to know whether we'd be causing more harm than good.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
mars







PostPosted: Thu Jul 12, 2007 7:06 pm Reply with quote

Well all of my themes use the forums.css file for styling. I never include the styles or header tags in overall_header.tpl
 
Gremmie







PostPosted: Thu Jul 12, 2007 7:23 pm Reply with quote

montego: Yes I'm sure we can hammer this out. We had some discussion on this in mantis, I will have to refresh my memory and read what we put in there.

Another (minor) problem is what do you put in simple_header.tpl? It should link to an external style sheet (forums.css). But which one? Smile This is easy for my site where there is only one theme.

(simple_header.pl is used in an iframe (I think) to display previous posts when replying to a forum post)

mars: That's great but not all the themes in RavenNuke have a forums.css. So there is some work to be done to merge the styles in overall_header.tpl with a theme's style.css file. Or better yet, as we are talking about, creating a Forums.css file for each theme. We are thinking about adding support for individual modules to have their own Module.css file in the style directory.
 
mars







PostPosted: Thu Jul 12, 2007 8:08 pm Reply with quote

I would suggest doing a file check for themes/ThemeName/forums/forums.css
If it exists link it, if it doesn't then don't or link a default forums.css in the modules/forums folder.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©