Support Forum

Unanswered Topics

FC Francis Cabral
Francis Cabral
Member

Got the Template Tags and the Unanswered Topics plugins instaled on my SP forum, but I dont see the unread posts at the end of my forum, have I missed any step?

8 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Well to use a template tag you need to add the calling code to a template. Most usually something like a sidebar or a footer…

But I get the impression you were after something else. Are you looking for the unread/new post list under the groups and forums on the front page? If so that is not – by default – shown to the admins. Are you wanting to switch it on so admins can see it as well?

FC Francis Cabral
Francis Cabral
Member

Yes, I’m looking for the unread/new post list under the groups and forums on the front page. How do I get that?

 

Other problem, since I have installed the plugin “Unanswered Topics”, I dont get a topic a unread anymore, even if someone have just posted on it. Its like I have read every post, when I have not.

YS Yellow Swordfish
Yellow Swordfish
Member

You are going to need to make a small edit to the spGroupView.php template of the SP theme that you are using. You can use the theme editor for this.

Right at the bottom you will find the call that displays the post list which is, by default, shown to your members and moderators and guests. By default it will read:

sp_RecentPostList('show=10', __sp('Unread and recently updated topics'));

You need to add an extra argument like this:

sp_RecentPostList('admins=1&show=10', __sp('Unread and recently updated topics'));

Note the ampersand between the new and current argument.

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)

As to this second issue i can assure you the unanswered plugin and template tag simply reads data – it does not write any out. What are the symptoms you are seeing?

FC Francis Cabral
Francis Cabral
Member

Some topics just dont show as unread when someone post something new. I see that there is something by the time.

FC Francis Cabral
Francis Cabral
Member

Other problem I need to fix is that the signature area is static and when someone post a image a little big, its is cuted off. How to set the height of the signature dynamic?

YS Yellow Swordfish
Yellow Swordfish
Member

On the signature issue, sadly we were unable to make it truly dynamic because of the limitations of html. What you need to do is set a maximum height allowed for the signature display. You do this in the spTopicView.php template in the template function sp_PostIndexUserSignature(). At the end of the arguments in that function all you will see the height in pixels to allow for the display. You need to make that big enough to deal with your preferred display limit.

On the  new posts question – do you have your system and profile timezones set correctly? While not the same issue this might be the cause – this codex article explains how: http://codex.simple-press.com/codex/faq/troubleshooting/why-do-my-new-posts-show-as-posted-minus-seconds-ago/

FC Francis Cabral
Francis Cabral
Member

Got the signature fixed… about the other problem I will keep an eye open for that. Thank you for the support.

MP Mr Papa
Mr Papa
Member

np. glad we could help.  Let us know if you have any other issues….