The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Only discussions started by the user in a widget

Go down

Only discussions started by the user in a  widget Empty Only discussions started by the user in a widget

Post by Majong January 3rd 2015, 10:43 am

I would put in a widget link "Number of Topics" located in the profile because clicking on this link you will see only the open discussions started by the user and not all of his posts in general.


I found this tutorial ( Says to place this code in widget), but it does not work. Can not see anything.

Code:
<div id="newwall"></div>
<script>
(function(){
 var uid = _userdata["username"];
  var url = '/st/' + uid;
var result = '<a href="' + url + '">Trova i tuoi argomenti</a>';
  $('#newwall').append(result);
})();
</script>
avatar
Majong
New Member

Posts : 2
Reputation : 1
Language : Italian-English

http://aureomicina.forumattivo.it

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum