Anytopics doesn't show link to current topic

Argos

No, doesn't work. But maybe that's because I don't use the Read More link. I use the title as a link.
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

Argos

Nice, I'll try that later, my server is currently offline  :cry:
Thanks!
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

chio

Instead of (around line 176):
$the_line .= '<a href="'.$topic_link.'">'.$readmore_text.'</a>';
use:
if ($topicdata['topic_id'] != $this_id) {$the_line .= '<a href="'.$topic_link.'">'.$readmore_text.'</a>';}

untested, should work.

Argos

It would be nice if the current link was inactive though... Is that possible?
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

Argos

Quote from: chio on March 09, 2010, 12:40:18 PM
Remove in anytopics/include.php (around line 142):
AND topic_id <> '$this_id'"

But: Why should anytopics show a link to a page that is already active?

Thanks!

Because the block header is "Latest topics", not "Latest topics, without the current one"  :-D
I just don't like the fact that the list changes with each topic page, I think it might be confusing.
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

chio

Remove in anytopics/include.php (around line 142):
AND topic_id <> '$this_id'"

But: Why should anytopics show a link to a page that is already active?

Argos

It seems that Anytopics doesn't show the link to the topic that's currently viewed. So if you have 4 items, and currently are watching one of them, there are only 3 Anytopics links showed, and the link to the current one is invisible. I want to show all of them. Somehow Anytopics "knows" that you are currently wataching a topic, which I find kinda magical in itself. On non-Topics pages, the full Anytopics list is shown!

Example: on http://www.klantinteractie.tv there is an Anytopics block (called "Nieuwste impressies") in the left column, showing links to all topics. But on Topics pages themselves, the link to the current Topic is not there anymore. Try opening a topic on http://www.klantinteractie.tv/pages/impressies.php, and the check the Anytopics block in the left column.

What's going on, and what can I do to show also the currently opened topic?
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!