Download & Extend

Name not showing in Forum Thread List

Project:Authorship Module
Version:4.7.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

In the list of Forum Threads, in the "Created" field, the name that was submitted is not showing (I'm using the Authorship Module to allow Anonymous Users to give a name when posting) and is left empty.

AttachmentSize
forum.jpg35.82 KB

Comments

#1

Category:bug report» support request

If you mean by "threads" comments and replies, you cannot use this module to do that. The Authorship module can only re-write the name for nodes. This is due to the fact that the comment.module's API is far more limited than node.module.

#2

After looking at your screen grab, I see what you mean. The problem here is that the forum extracts the "by" field directly from the database and doesn't "run it through" the normal sequence of node_load() module hooks.

It's therefore impossible for any contrib module to change the display in that column. So it's not a fault in this module, if anything, it's a fault in forum module.

Having said that, I doubt forum module will change. Imagine the performance impact if it had to load every node in the list? Your forum would be somewhat slow to say the least.

A possible work-around for this could be done in your theme layer. But the Authorship module works by node and not user. I could a a by user function so that you could overload the the theme_username() function but you would have a performance penalty to pay in all that extra database loading.

#3

Wonderful module; can you suggest anyway to completely hide the created column in the forum thread so that the username would no longer be an issue??? when you said using the theme, could you expand on it?

thnx
p15650

#4

Status:active» fixed

I believe it's all down to themeing, can't say more than that I'm affraid

#5

Status:fixed» closed (fixed)