TinyPortal

Development => Support => Topic started by: fak3 on June 18, 2009, 12:22:30 PM

Title: Can't click on some 'Read more' links
Post by: fak3 on June 18, 2009, 12:22:30 PM
This is the strange bug ever. :buck2:
Browsing my website (www.mysammy.it) with IE7-8 or Opera you'll notice that you can't click on some Read more links (look at the first newspost), while there are no problems if you use FF or Chrome.
Why? What can I do?

These are my forum specs: SMF 1.1.9, TinyPortal 1.0 beta 3, custom theme (kani) by Fussilet and just few addons...
Title: Re: Can't click on some 'Read more' links
Post by: Zetan on June 18, 2009, 01:08:28 PM
I don't have any problem as a Guest using IE6.
Title: Re: Can't click on some 'Read more' links
Post by: fak3 on June 18, 2009, 01:22:39 PM
??
I tried with IE6 and there is the same problem. You have to look at the Read more link in the first newspost ('Read more' in italian is 'Leggi tutto'), see the screenshot below. :)

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg196.imageshack.us%2Fimg196%2F2664%2Freadmore.th.jpg&hash=cb1ee3f9ad20df50edf14fcb03600ba746d4d045) (http://img196.imageshack.us/i/readmore.jpg/)

Thank you for the quick reply!
Title: Re: Can't click on some 'Read more' links
Post by: Zetan on June 18, 2009, 01:47:20 PM
I see.

I think it's probably due to the content in the post, it seems to be a Flash video? I'm at work and those are blocked. Try removing the video as a test.. I've had similar issues and have had to juggle the content around a bit till I get the desired results, however, I don't use TP's built in articles that retrieve forum posts, I use a custom one that uses SSI_boardNews, pretty much the same thing, only it's configurable within the article code or block.
Title: Re: Can't click on some 'Read more' links
Post by: Zetan on June 18, 2009, 01:50:26 PM
If you visit my site, the home page, you'll see mine is similar.. but I can increase or decrease the ammount of characters displayed in the article.
Title: Re: Can't click on some 'Read more' links
Post by: fak3 on June 18, 2009, 02:10:30 PM
Quote from: Zetan on June 18, 2009, 01:47:20 PM
I think it's probably due to the content in the post, it seems to be a Flash video? I'm at work and those are blocked. Try removing the video as a test..
You're right, removing the youtube video did the trick... TP is now starting to make me mad. :( ;D

Quote from: Zetan on June 18, 2009, 01:47:20 PM
I don't use TP's built in articles that retrieve forum posts, I use a custom one that uses SSI_boardNews, pretty much the same thing, only it's configurable within the article code or block.
Sounds interesting, can you be more specific? What's the difference?

Quote from: Zetan on June 18, 2009, 01:50:26 PM
If you visit my site, the home page, you'll see mine is similar.. but I can increase or decrease the ammount of characters displayed in the article.
Can you do that for each article? Example: article 1 with 400 characters displayed, article 2 with 390 characters displayed...

Thank you Zetan.
Title: Re: Can't click on some 'Read more' links
Post by: Zetan on June 18, 2009, 03:22:46 PM
You can do better than "for each article" ;)

You can output from a board, perhaps like I have, a News board where the first post features on the home page.

Code (PHP type Article or Block) Select


ssi_boardNews($board = 40.0, $limit = 3, $start = null, $length = 1050, $output_method = 'echo');



Title: Re: Can't click on some 'Read more' links
Post by: fak3 on June 18, 2009, 03:55:39 PM
I'm doing some tests with your method, thank you. :) By the way, isn't this a bug for the bug tracker?
Title: Re: Can't click on some 'Read more' links
Post by: Zetan on June 18, 2009, 04:13:40 PM
You're welcome.

Quote from: claudio_o on June 18, 2009, 03:55:39 PM
By the way, isn't this a bug for the bug tracker?

Not really, it isn't a "bug" as such. It's likely to be using SMF's SSI functions, TP is pretty much doing the same thing as my method. It is probably not rendering all the HTML in the video, if you look at my home page there is an article just about to render some HTML, not enough characters to affect the news:

<...[More]

If it's a bug anywhere, which it isn't, it's in the SMF's SSI function. It's purely down to the character count.