I created a few Boardnews blocks for various boards on a forum. and when I created one for a board that did not have any topics in it , the site stopped responding. No errors, no nothing. Just got an hour glass for a few seconds and then it said page was done. but it never loaded the site. As soon I went in to the database and deleted that block the site responded.
Once I placed a topic in that board the boardnews functioned worked as it should...
Also i am using .74 and smf rc1
Thank you for the report. I will hunt down that bug.
Hello,
Talking bout strange activity... I have a weird thing too :-\.
I have installed Tiny portal recently and it works great! Absolutely thanks for that BLOC!
I have put the Boardnews from SMF on the frontpage as you can see at: http://www.muziek4um.nl and it works like it should.
But then the strange fenomena... All articles give a beautiful "read more" link, even the short ones EXCEPT the one thats now at the top ( the one saying: "Verbal Kint Live @ DIF-Magazine Launch ") .
I also made a new topic to test and that one automatically came at the top of that one and even the test topic was also giving a "read More" link. ???
Ain't that weird? Or could it be because of the amount of comments the topic has?
Thanks in advance for reply.
Ed.
It puts a "Read more" link at the end of every news item, whether the whole thing is displayed or not. I copied the code for the subroutine into a center block and changed it.
<div class="post" style="padding: 2ex 0;">', $news['body'], '</div>';
if (substr($news['body'],-3) == '...')
echo $news['link'];
echo '</div>';
I have it look for the ... at the end of the body. If it's there, it prints out the Read more link. Otherwise not. Also I eliminated the link to post comments to those posts.
Thanks a lot for the advise but my complaint is not the "read more" link that appears cause I love it.
The problem is that only with one message its not showing up. And I would like it on all messages specially on ones where its really needed.
I'm sorry. I guess I misunderstood. The code I posted will make it be there where it's needed and not be there when it's not. That is, if the whole post isn't there, then the Read more link appears.
You must have edited your post while I was writing mine, because I didn't see the link to your site. That is odd behavior.
The link to my site is still there :)
Quote from: Muziek4um on August 07, 2006, 12:39:31 AM
Hello,
Talking bout strange activity... I have a weird thing too :-\.
I have installed Tiny portal recently and it works great! Absolutely thanks for that BLOC!
I have put the Boardnews from SMF on the frontpage as you can see at: http://www.muziek4um.nl and it works like it should.
The problem is solved. I changed something in the message (like I had done before ???) and at once the "read more" link appeared again on the first message on the "home" page. :2funny:
Now on other message it dont... :laugh:
Thanks anyway!
www.muziek4um.nl
Ed.
Aaarrggh (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.muziek4um.nl%2FSmileys%2Fdefault%2Fwallbash.gif&hash=7339276ade6115b341c191571a4d9fa65c74b55c)
I have same trouble again...
www.muziek4um.nl