Support Forum

Recent Forums

JM Jonathan Munoz
Jonathan Munoz
Member

I want the recent forums plugin to look like the one on the homepage footer how would I do that with the avatar on the left side. the buddypress link to profile is not letting the widget to appear aswell here is my page: www.somosguatemala.com the widget is on the right sidebar. It reads Reciente Temas: Foros

7 Answers

New Answer

MP Mr Papa
Mr Papa
Member

homepage footer?  you can style the recent posts tag/widget to look like you want… also you can add/remove stuff (user, avatar, names, etc) to customize the appearance…

see: http://codex.simple-press.com/codex/plugins/our-plugins/the-template-tags-plugin/template-tag-recent-posts/

sorry, not  understanding your buddypress issue..   can  you elaborate please?

JM Jonathan Munoz
Jonathan Munoz
Member

I want it to look like this what was the css code that you used to create this and where would i put that css? I want the avatar and the name to be able to link to the persons Buddypress how do i do that??

Simple-Press.png
MP Mr Papa
Mr Papa
Member

to generate it, we use:

sp_RecentPostsTag(‘listTags=0&itemOrder=ADUTF&beforeTopic&beforeForum=In &beforeUser=  By:&afterUser=<br />&limit=5&beforeDate=&afterDate=&avatarSize=35&truncate=44’);

some styling added to your wp theme…

#spRecentPostsTag .spListItemTag {
    padding-bottom: 5px;
}

.spListItemTag {
    line-height: 1.3em;
    padding: 3px 0 1px;
}

.widget-wrapper .spAvatar {
    padding-bottom: 3px;
}
.widget-wrapper .spAvatar {
    float: left;
}
.spListItemTag img {
    margin: 0 10px 0 0;
    vertical-align: middle;
}

.spTextTag {
    text-transform: capitalize;
}

JM Jonathan Munoz
Jonathan Munoz
Member

Where do i add : sp_RecentPostsTag(‘listTags=0&itemOrder=ADUTF&beforeTopic&beforeForum=In &beforeUser=  By:&afterUser=<br />&limit=5&beforeDate=&afterDate=&avatarSize=35&truncate=44’);

I am using the widget to display the recent forums

MP Mr Papa
Mr Papa
Member

then convert the arguments to the template tag to the widget options.. there is a one to one match…

JM Jonathan Munoz
Jonathan Munoz
Member

Great got it to work now how do i make my avatar and name of user to go to there profile if im using the widget?

MP Mr Papa
Mr Papa
Member

it follows your basic forum setting for this..  so on forum – profiles – profile options…