user_request

NAML documentation   Watch a video
   Usages of this macro
... in post_limit.naml
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<macro name="user_request">
    <script type="text/javascript">
        var posts_today;
        var path = '/template/NamlServlet.jtp?macro=user_response&user=';
        var url = Nabble.userId;
        if(url!=null){
        $.getScript(path+url+Nabble.getClientID() ,function(data){
        posts_today = data;
        if(posts_today > 0){
        $('.reply_link').css('display','none');
        }
        });   
        }
    </script>
</macro>