Hi.

I would like to remove the link to the last post (the top row in the field) in the forum overview. Is it possible?

I have found that function _advanced_forum_get_last_topic($tid) (in advanced_forum.module) is controlling this. I can remove n.title AS topic_title and c.subject AS reply_title in both query requests. The

Any hints?

Comments

michelle’s picture

Version: 6.x-1.x-dev » 6.x-1.0-alpha2
Status: Active » Fixed

Ack, you're killing me. You know how many hours of my life I've spent trying to get that in there? Sigh...

Well, if you really must, no, don't modify the code. Hacking the module is a bad idea. You'll have to re-make the change every time you upgrade. And that code doesn't even exist anymore in the current version.

To change this, modify advf-forum-submitted.tpl.php. Despite what I said a minute ago, it doesn't matter if you do this in the module directory... The next alpha is going to bring such sweeping theme changes that it will need to be redone anyway. At that point, though, you'll want to make the change in your theme, not in the module.

Michelle

grn’s picture

Status: Fixed » Closed (fixed)

Thanks Michelle.

My users were confused by this information, because it posts the last node title, which is not always very specific. I think it would make more sense only to display the title/subject of the forum topic instead of the title of the comments.

The @time ago
by !author'
are nice features which the feedback group liked.

Sorry for killing you ;-)

michelle’s picture

Ok, now I'm confused... The node title _is_ the forum topic... At any rate, glad you got it working.

Michelle

miahawk’s picture

Status: Active » Closed (fixed)

I'm having a bit of the same issue and wanted to chime in that I have the contrib mod Comment Subjects installed, which allows the user to change the subject in a comment/reply, so the last post topic can seem mysterious with all the titles trimmed the way they are.

I'm glad you got the "in" in there... I'm going to try lengthening the last reply subject and whatever follows "in" when there's a subforum because it seems to be really short. it might be nice to have the length configurable.

miahawk’s picture

Status: Closed (fixed) » Active

Sorry, I didn't change the status so you'd see this.

psicomante’s picture

Status: Closed (fixed) » Active

Perhaps i duplicate issues..but i think that this could be a final status of this module. Grn, do you like this? I think it's very "compressed" and user friendly.

http://drupal.org/files/issues/phpbb_forum_last_thread.jpg

michelle’s picture

Status: Active » Fixed

That's what you get in core. I've spent countless hours struggling to add the title of the thread to that list and I'm not about to take it out now. You all are free to customize it all you want on your own forums, of course.

Michelle

psicomante’s picture

i didn't know that the link to the last topic (the icon) was included in core :O. Is it yet in d6 o in d7? However title tag can be filled with topic's title.

michelle’s picture

No, that icon isn't there. Just the name & time. I didn't notice the tiny little thing when I looked before.

Michelle

grn’s picture

Psicomante - it looks fine. Respect the main dev's decision.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.