Hi, can you help,
I see author pane contents only on comments to forum topic, not in toppic (first post) itself.

Comments

winniepoo’s picture

I'm using AP 6.x-2.0-alpha2 and AF of the same version.
Author Pane is displayed correctly in forum comments, but there is no it in main post.

In the corresponding template advanced_forum.naked.post.tpl.php
there is section

<div class="forum-post-wrapper">
<div class="forum-post-panel-sub">
<?php print $author_pane; ?>
</div>
</div>

it should work both for post and for comments
but in the forum post section I see in html page only

<div class="forum-post-wrapper">
<div class="forum-post-panel-sub">
</div>
</div>

if I write smth like

<div class="forum-post-wrapper">
<div class="forum-post-panel-sub">

<?php if ($top_post): ?>
<?php print $name; ?>
<?php endif; ?> 

<?php print $author_pane; ?>
</div>
</div>

I see author name in post section.
So it seems that $author_pane variable is undefined in forum main post.
What can I do with it?

michelle’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

I can't think of any reason why it wouldn't be there. Is there anything special about your main node? Is it a different node type than "forum topic"? Are you using any modules that alter it?

Michelle

winniepoo’s picture

No, it is standard forum topic node. No special modules.
Special things, that I can see now - author pane is not shown when user real name is in non-english (russian) language.
When the author of first post has english-written name - it is all OK with author pane.
If in russian - there is no author pane in the main post - only in comments.

michelle’s picture

Title: Author Pane in the main post » Russian name causes AP to not display
Status: Postponed (maintainer needs more info) » Active

Well, it sounds like there's some issue there with the Russian... I haven't the foggiest idea what it could be, though. I don't know if it's an AF issue or an AP issue or something else entirely so I'll leave it here for now. Without more of a clue, though, I don't know if there's anything I can do. I don't have any Russian sites to test on.

Michelle

michelle’s picture

Status: Active » Closed (won't fix)

I don't think there's anything I can really do here. If someone has a patch, feel free to re-open and I'll look at it.

Michelle