Previous Thread
Next Thread
Print Thread
Hop To
#195539 08/28/2007 10:36 AM
Joined: Jun 2007
Posts: 33
F
newbie
newbie
F Offline
Joined: Jun 2007
Posts: 33
I just updated a forum with version 7.2.1 and have received a bunch of complaints about the highlighted rows for threads containing new posts.

For the life of me I can't figure out which CSS class contains this formatting. Can someone enlighten me?

Thanks!

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
In the style under Forum summary option


.new-alts's I believe


Joined: Jun 2007
Posts: 33
F
newbie
newbie
F Offline
Joined: Jun 2007
Posts: 33
Ok, I found it in the control panel style editor, but when I download the css file, it's not there.

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Whats not? Code is blank? if so just copy what you have for the standard one in that section and paste it in.

Joined: Jun 2007
Posts: 33
F
newbie
newbie
F Offline
Joined: Jun 2007
Posts: 33
The new-alt classes are all blank, however the highlighted rows are showing up in the fourms, which is really driving me crazy.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
You can just click the "copy" link next to each of the ones that are blank to give you some basic styles for the empty ones and then save it. At that point you should be able to go back in and tweak those.

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Thanks Rick, thats what I meant. Guess it sounded right in my head smile


Copy .newintopic and paste in .alt-newtopic, .new-newintopc, and .new-alt-newintopic and repeat for the others.

Last edited by gliderdad; 08/28/2007 3:28 PM.
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
actually it's even easier, if you use the 'Copy' links to the right. and the javascript will do the copy/paste for you with one click..

it's a preference thing though and your method works good too..

Joined: Jun 2007
Posts: 33
F
newbie
newbie
F Offline
Joined: Jun 2007
Posts: 33
Thanks, I think I got it figured out now. smile

I have another question, why does the css file keep changing its big long number?

For instance, when I installed the update, the default style was:

ubbthreads_1188329717.css

now it's:

ubbthreads_1187958099.css


Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Basically it keeps it from being cached when a change is made. Some browsers will cache the style sheet, and you might go and change it but users are still getting the old one since it has the same name. We put a timestamp on the end of it, so the name will always change whenever the style is changed, which assures that users will always get your new style.

Joined: Jun 2007
Posts: 33
F
newbie
newbie
F Offline
Joined: Jun 2007
Posts: 33
Makes sense. Thanks for the explanation ... it helps to know the reason behind it. smile

I was updating the CSS file on my computer and uploading it, and then wondered why it wasn't showing up.


Joined: Jun 2006
Posts: 16,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
the stylesheet should be considered a "temporary" file; the styles are generated from data in the database and the stylesheet will be purged if updated.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Ruben), 1,277 guests, and 207 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)