News Fader shows ALL items at once

Started by pirc-bw, February 22, 2014, 06:06:42 PM

Previous topic - Next topic

Lou69

5000 I believe is the default value for the Default Curve theme. 6000 can't hurt and will give your members a little bit longer to read the news message.



Lou69

Quote from: pirc-bw on February 22, 2014, 11:13:57 PM
That's because all the blurbs are two lines long.
But click the Home button or refresh and you will see what I mean.

Hmm ... OK, I do see that ... but it is very quick. I have to hit Home sevearl times quickly. This may be a timing issue with the server connection/internet connection. Everytime you click Home, this brings you back to 'zero' so to speak. Perhaps the involved news items are being fast shuffled in the cache? Only a guess. You could try clearing the cache from Forum Maintenance.

I will set up a quick test on my test site. Be right back.

Lou69

Well ... I set up six news messages. Everything worked OK using the Core theme and the Yabb SE theme. That was on 2.0.6.

I can look at your index.css if you want.

You can also try clearing your browser cache as well as the site cache.

pirc-bw

I did that, but there was no change.
I just gave you permission to view the Admin area. 
The theme we are using is BW Old Style Browns
Merlene
Version Information:
Forum version: SMF 2.0.16
Current SMF version: SMF 2.0.16
www.bw-forums.com

Lou69

OK .. I am looking at the index.css now. Be right back.

Lou69

Did you use the default index.css from the Core theme for the new theme?

PM me on your site, your user name so we can look at this.

pirc-bw

Yes, I only changed colors and the images used by the CSS.
I have PM'd you
Merlene
Version Information:
Forum version: SMF 2.0.16
Current SMF version: SMF 2.0.16
www.bw-forums.com

Lou69

Quote from: pirc-bw on February 22, 2014, 11:34:59 PM
I did that, but there was no change.
I just gave you permission to view the Admin area. 
The theme we are using is BW Old Style Browns

The index.css for the BW Old Style Browns is the Default for Curve ... not the Core theme index.css.

pirc-bw

Merlene
Version Information:
Forum version: SMF 2.0.16
Current SMF version: SMF 2.0.16
www.bw-forums.com

Lou69

Not necessarily.  :)   But, the index.css is missing 3 or 4 of the news Divs that are in the original default index.css.  Not sure if that is causing your issue though.

You can use WinMerge to find those, a stare and compare or I can do it for you. But not tonight.  :)  It is after midnight here.


pirc-bw

You can probably do it faster and better.  Tomorrow will be fine.  It's my bedtime too.
Merlene
Version Information:
Forum version: SMF 2.0.16
Current SMF version: SMF 2.0.16
www.bw-forums.com

Lou69

No problem, I replied to your PM on your site.

take care.

Shambles

Try adding a background colour to your index.css file:

#smfFadeScroller
{
background-color: #000000;   <============
text-align: center;
padding: 0 2em;
overflow: auto;
margin: 1em 0;
color: #575757; /* shouldn't be shorthand style due to a JS bug in IE! */
}


A number of posts over the years have complained about misbehaving news faders, and on a couple of occasions this has fixed it. Costs nothing. Worth a try.

Lou69

Quote from: Shambles on February 23, 2014, 10:23:55 AM
Try adding a background colour to your index.css file:

#smfFadeScroller
{
background-color: #000000;   <============
text-align: center;
padding: 0 2em;
overflow: auto;
margin: 1em 0;
color: #575757; /* shouldn't be shorthand style due to a JS bug in IE! */
}


A number of posts over the years have complained about misbehaving news faders, and on a couple of occasions this has fixed it. Costs nothing. Worth a try.

Hmm .. did not know that. Certainly that is not in the index.css that they are using. I made a few other minor corrections in their index.css but did not do what you have suggested. One for the memory banks.  :)

Shambles

As I said - may do nothing to resolve the issue but it costs zilch to try it.

Lou69

Another possibility is that they have Global Headers installed from SMFHacks. So the news items appear in the header area and in the news bar at the same time.

When not logged in you see the news in the header. When logged in you see the news in the header and news bar. Could try uninstalling the Global Headers and see what happens.

The news in the header is static and remains that way unless you click on Home or refresh the page. The news bar is doing its fading in and out thing as it should.

Lou69

#36
I really believe this is an issue with the Global Header mod. I have installed SMF 206 and 207 on a test server and then installed the Global Headers mod. Using the code the OP provided I can reproduce this issue of the news items appearing twice. This is with the Default Curve theme and with the OP's custom theme.

The event is drive by the user clicking the Home button or the browser refresh button. Sometimes the additional news items will flash by quickly and sometimes will hang for a second or two. No idea if it is browser related but this does occur in FF 27 and IE 11.

Uninstalling Global Header and relying only on the news fader/news items and all works normal.

pirc-bw

It also occurs in Chrome and Safari.

Thanks for all your help, Lou69!
Merlene
Version Information:
Forum version: SMF 2.0.16
Current SMF version: SMF 2.0.16
www.bw-forums.com

Advertisement: