Hello guys,
another issue..
what's wrong? the CODE HERE appears, but always! and not only if the member is logged in and if the post number is equal to 1
(and only on the home page)
can you help me?
I want to view the code only if posts=1 and if you are logged in
thanks guys Â
another issue..
what's wrong? the CODE HERE appears, but always! and not only if the member is logged in and if the post number is equal to 1
(and only on the home page)
- Code:
$(window).load(function() {
  if (typeof _userdata === "undefined") return;
  if (_userdata["user_posts"] == '1' ||  _userdata["session_logged_in"] == '1') {
   $('#fa_toolbar').before('CODE HERE');
  }
      });
can you help me?
I want to view the code only if posts=1 and if you are logged in
thanks guys Â
Last edited by Niko! on March 10th 2014, 11:41 am; edited 1 time in total