Support Forum
First of all, thank you for the wonderful plugin. It is exactly what I am looking for.
Using the latest version.
Currently working on the theme and modifying the template files.
Just a couple of things:
- If there are no posts/topics, I would like a message to display in the Group View, i.e. "No topics/posts" in the last poster section. Currently, it is just a blank box which doesn't look right.
- How do I move the topic/post title to be above the username? So instead of: by user, post title, date/time, I would like post title, by user, date/time. At the moment, the template in GroupView has "sp_ForumIndexLastPost" and the parameters, however there isn't a way to change how it is displayed. Will I need to use different tags?
If you need any more information, then feel free to as.
Rather than creating another post for the last poster column, is there a way to display the last poster's avatar? I've used the useravatar tag, but it doesn't display the correct avatar. Instead it was showing the guest avatar on the sections which had no posts and no avatar is displayed where there is last poster info.
I'll try to explain it as best as I can:
If I used the following code:
I get this:
which is incorrect as the blank last post section should not display an avatar. The two users should have their own avatars displays.
Even if I change the context to current, it will display the same avatar instead of guest avatar.
Basically I would like something similar to how the recentposts widget displays the avatar.
I know some people do not want to display the avatar in groupview or forum view, so an option to turn it on or off will be great.
if you set context=user, you have to pass a second argument telling us what user... ie
sp_UserAvatar('tagClass=spImg spLeft&size=30&context=user', $userid);
current would not be right as thats the current user viewing the page... so
$spThisTopic->first_user_id
or
$spThisTopic->last_user_id
in place of the $userid in my code above...
Visit Cruise Talk Central and Mr Papa's World
It's quite a bit more complicated in spGroupView as it depends on whether you are showing the last post from the main forum or if it can include the last post from a subforum.
if the main forum you would use $spThisForum->user_id
if from a sub forum you would use $spThisForum->user_id_sub
The problem is that there is no current way of determining in the template which might be used. That is something we could consider trying to make more exposed I guess.
YELLOW
SWORDFISH
|
1 Guest(s)