Re: Limit number of posts
Posted by
Harvey on
Oct 18, 2014; 6:41pm
URL: https://support.nabble.com/Limit-number-of-posts-tp7591916p7592046.html
Does this work?
<macro name="user_request">
<script type="text/javascript">
var posts_today;
var path = '/template/NamlServlet.jtp?macro=user_response&user=454739';
var url = Nabble.userId;
$.getScript(path+url+Nabble.getClientID() ,function(data){
posts_today = data;
if(posts_today > 19){
$('.reply_link').css('display','none');
}
});
</script>
</macro>
HTTPS Please!