TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 376
  • Total: 377
  • @rjen

Auto-refreshing News Block

Started by pianoman723, November 06, 2007, 06:27:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pianoman723

I'd like for my News block to scroll the news, or even better, to refresh itself every few seconds with the next in the sequence of news items.  I know I used to have this functionality before I started using TP.  It would just show up at the top of my site and nicely fade between items every 8 seconds or so.  I don't know if I've messed something up or if the TP News block is missing some code, but for whatever reason, my news block is static.  It won't refresh or scroll through items at all.  The only way I can view a different news item is to refresh the page.

I thought I remembered a setting over in Admin | News & Newsletters | Settings.  I suspect I've messed something up, because when I try to get back to that page it gives me a yummy parse error: unexpected ',' in /Sources/ManagePermissions.php on line 1340.  I went and looked and took out the only ',' in line 1340, tried again, and I get another parse error: T_CONSTANT_ENCAPSED_STRING on line 1342.  At this point, I'm going to back away very slowly and wait for the bomb squad to come and defuse this thing for me, because as you can plainly see, I'm once again in over my head.

Can anyone tell me what I've messed up, how to fix it, and if it's even related to my issue?  Thanks so much.

If it'll help, here's my site:  http://concordstudentworship.com/Plugins/mboard/index.php

Zetan

Try

Admin > Current Theme >
[ ] Enable News
[ ] Show news fader on board index
Fading delay between items for the news fader [     ]

Which will only show on the Forum Index.. Each theme should have this option. If you have your site set with a front page and want to create a News block, there is an option to do that, or you can create your own using SSI functions.

pianoman723

Thanks Zetan.

I have the Admin options you specified selected, but my News still won't fade.  I keep getting these errors on my Forum page in IE:

QuoteLine: 484
Char: 7
Error: 'backColor.1' is null or not an object

Line: 26
Char: 2
Error: 'smfFadeContent.length' is null or not an object

Have I messed something up in the code?  I've searched for 'smfFadeContent.length' in every index.php and index.template.php file I can think of, and I can't find it anywhere.

Also, once I get this fixed, how do I build the News thing into an SSI block?  I know absolutely nothing about SSI functions.

Lesmond


pianoman723

I appreciate your finding that for me, Lesmond.  I went in and changed all my color codes to 6 digits.  Still the same thing.  Is the style.css all I have to change?

Lesmond

Have you done a hard refresh, sometimes don't show up strait away,
not having this theme I would know for sure, if there is anywhere else

pianoman723

Not sure what a hard refresh is.  What does that mean exactly?

Ken.

Use your keyboard and do Ctrl + F5 and it will force the page to actually do a complete refresh.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Lesmond


pianoman723

Cool, thanks for that.  Unfortunately, no change.  Any other ideas?

This website is proudly hosted on Crocweb Cloud Website Hosting.