Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

List of topics on member profile Summary

Aloittaja natasa (NT), helmikuu 08, 2014, 05:55:02 AP

« edellinen - seuraava »

natasa (NT)

Hello!
It would be nice to have a list of all (or last 10-20) topics
of member when I go to his Profile -> Summary.

(It can be put in Simple Portal custom PHP block, for example,
or wherever on profile Summary page)

How can I accomplish that?
Thanks!

(this is for SMF 2.0.x version)


margarett

You can access that after you reach the profile (not on the "landing page" as you migh want...)

Or you can maybe use this
http://custom.simplemachines.org/mods/index.php?mod=3809
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

LainaaOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

natasa (NT)

I know that margarett, thanks, but I need something 'for dummies'.
What about list under the member name:

'[Add To Buddy List]
Send PM
Show Posts
Show Stats '

is there a way to change 'Show Posts' to 'Show Topics' or
to add 'Show Topics'?

margarett

Have to check but I guess it should be possible. I'll give it a peek ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

LainaaOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

margarett

So, easy as it gets :P

Themes/default/languages/Profile.english.php
find:
$txt['showTopics'] = 'Topics';
Replace with:
$txt['showTopics'] = 'Show Topics';

Themes/defaull/Profile.template.php
Find:
<a href="', $scripturl, '?action=profile;area=showposts;u=', $context['id_member'], '">', $txt['showPosts'], '</a><br />
Add before:
<a href="', $scripturl, '?action=profile;area=showposts;sa=topics;u=', $context['id_member'], '">', $txt['showTopics'], '</a><br />
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

LainaaOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

natasa (NT)


Advertisement: