Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2003
Posts: 131
Journeyman
Journeyman
Offline
Joined: Jun 2003
Posts: 131
Hi - my final question for now about how the "facelift" works on my test board. Decided to do it now, because I noticed DLT was signed on.

On the screen that shows posts (flat) on a given topic, the box above the posts that shows the category and forum on the left, and nav buttons on the right, is now considerably harder to read because a much darker color is chosen than before. Was it intended that the text in the box be white on dark rather than the way it is? When that dark color is used elsewhere, e.g., for a couple of buttons at the bottom of the screen, the text is white on dark. (Sorry...I don't know what this is called officially.)

I tried this on a couple of different stylesheets, and it was basically the same, e.g., "green day". I also note that the two brackets that separate the category and forum names in the box ARE in white!

So anyway, my question is whether this display was intended, and in any case, how I might choose a different color for the box, or adopt a white on dark font??

Thanks - Tony


Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmmm.... you can make changes to the .nav section of your css file. Higher numbers and letters make it lighter, lower makes it darker


- Allen wavey
- What Drives You?
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
It would help me to understand what the problem is if you would post a link to your board so I can see it myself.

I haven't noticed any difficulty viewing text with Facelift and the standard CSS...

Joined: Jun 2003
Posts: 131
Journeyman
Journeyman
Offline
Joined: Jun 2003
Posts: 131
Hi...here's the link to what I guess is called the showflat screen:
showflat on my test board

This is with "green day". (EDIT: I changed this to "infopop", which was the worst case.) I've checked the standard stylesheets with regular font size and have found three (including this one) where the navigation bar above the posts is much darker than it appears with the standard 6.3 templates. (I have no idea how this could happen.) With "infopop" it is even darker and almost impossible to read, at least with netscape and IE on my computer. I also installed the preview stylesheet mod. and there the colors appear the same as in standard 6.3.

Also, I looked into the green day css under .navigation (is that where I should have looked), and I really couldn't relate what I saw to this issue. Besides, why should the navigation bar have a darker color in the show post screen than in the forum screen? In standard 6.3 the nav bars are the same color in these two screens. Of course, with the facelift, the buttons on the right side of the bar have been changed to simple text links...

Anyway, I'd appreciate it if you would let me know whether you see what the issue is and, even better, if you have some idea what might be causing it.

Thanks much- Tony

Last edited by TonyNew; 07/02/2003 2:19 AM.
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
It looks like the "catandforum" class is missing in your style sheets, or you've editted the showflat.tmpl file and removed the "catandforum" class from the table cell that holds the catagory and forum info...

Sponsored Links
Joined: Jun 2003
Posts: 131
Journeyman
Journeyman
Offline
Joined: Jun 2003
Posts: 131
Hi, again, and thanks for the suggestion.

I've gone in and checked the stylesheet, and it has catandforum, which as far as I can tell just specifies the font...right? not the colors? (at least for css "infopop"?)

I compared the page source for the showflat page as it is actually displayed in my test board (which has "facelift") and in my main board (which has standard 6.3). The difference seems to be that the standard showflat page has a "darktable" specification, while the facelift doesn't, for this bar. I went back and compared the two showflat templates, and as far as I can tell this is true there, also. Both DO specify "catandforum".

I'm confused over what has to be specified in a template, like "showflat"!!!

Anyway, I decided to go back and download facelift again, and upload the showflat template again, which I did, but I get the same result. So I'm curious as to how the colors in the navbar are specified in showflat if "darktable" isn't included, but maybe that's just my lack of understanding of how templates and stylesheets work together!

Only other thing is that maybe I did something wrong with "YASM". If so, could that have something to do with this?

sorry for the confusion on my part...any further idea, or suggestion of what I should check?

Thanks - Tony




Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
An old mod that I had made to the showflat display crept into Facelift...



As soon as I finish this post I'll update the zip file in the mod. You can get the updated file attached to this post.

Thanks for finding the bug!
Attachments
87838-showflat.tmpl (0 Bytes, 181 downloads)

Joined: Jun 2003
Posts: 131
Journeyman
Journeyman
Offline
Joined: Jun 2003
Posts: 131
IT WORKS!!! and glad to help, considering how much I like the facelift!

I'm just relievd it isn't some obscure corruption somewhere in my setup that I never would have been able to find!

So, tell me - is the "darktable" class specified in somethng that the showflat template calls BEFORE it specifies "catandforum"?

Anyway, now my only apparent bug is related to my installation of Josh's mod for the pulldown on the post icons...ONCE, since I installed it, I chose one of the available icons, and when the post appeared, the icon wasn't there...just a period. If it happens again, I'll ask Josh about it. I just hope it's not some weird interaction arising from installing 6.3, YASM, facelift, and the pulldown mod in the wrong order...)

Thanks again for facelift! It's ! Tony

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Thanks for the props

The darktable class is used to control everything in the table cell, and catandforum class is used just for controling the text. I don't like the use of darktable in that particular cell because it makes it impossible to add a background graphic to that cell without changing the look of every cell that uses darktable (and there are many that use that class). So I set the class for the showflat and showthreaded navigation bars to tdheader.

As for the pull down post icons producing a period: I have the same problem on my site, I just haven't gotten around to asking Josh about it. Go ahead and start a new thread for the problem and we'll see what he says

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Dal - i think I solved this for him somewhere -

The pull down preview icon menu is a bit more than just a template. It requires that you change a couple of lines in the addpost.php script.

As the javascript pulldown menu (in order to do the preview) has to use the full URL to the icon https://www.ubbdev.com/forum/images/icon/book.gif rather than just book.gif.

So there's a bit of code in addpost.php that'll trim that back to just book.gif.

Sponsored Links
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
You mean this?

Code
 <br />// ------------------------ <br />// Icon Pull Down Mod Start <br />	$Icon = get_input("Icon","post"); <br />// strip off the URL <br />	$Icon = basename($Icon); <br />// ------------------------- <br />// Icon Pull Down Mod Stop <br /> <br />


I have it in my addpost.php script but it's not working

Edit: Here is the html that gets sent to the client:

Code
 <br /> <br /><img alt="." src="/ubbthreads/images/icons/http://www.dalantech.com/ubbth" <br /> <br />

Last edited by Dalantech; 07/03/2003 3:26 AM.
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
yeah, that should do it -
So youv'e got broken icons on the addpost screen and completed posts?

Do a view source and see what URL it has for the icon.

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
I think we are posting to this thread at the same time

Here is the complete image tag:

Code
 <br /> <br /><img alt="." src="/ubbthreads/images/icons/http://www.dalantech.com/ubbth" hspace="5" width="15" height="15" style="vertical-align: text-top" /> <br /> <br />


It's from the postlist screen.

Last edited by Dalantech; 07/03/2003 3:38 AM.
Joined: Jun 2003
Posts: 131
Journeyman
Journeyman
Offline
Joined: Jun 2003
Posts: 131
Josh...after I installed the pulldown, things seemed to work, but then at least once since then, I've gotten a period instead of the selected icon on the postlist screen (I think it's called), and nothing at all before the title on the showflat screen. So the pulldown is there, but - even though I believe I followed the complete instructions - at least once the icon didn't show up on the message..? Tony


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)