Hide user posts from guests

Go down

Solved Hide user posts from guests

Post by TamDonCo on July 15th 2016, 3:21 am

I got this code from Ace 1

$(function() {
$('a[href="/u1"]').parents("div.post").css("display", "none");
});

this code will hide the user posts from members, but when members logout as guests, they can see posts

Anyway to hide posts from guests too ??


Last edited by TamDonCo on July 18th 2016, 3:38 pm; edited 1 time in total
avatar
TamDonCo
Forumember

Posts : 338
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Solved Re: Hide user posts from guests

Post by TamDonCo on July 18th 2016, 3:38 pm

I have solution in another topic

Thanks
avatar
TamDonCo
Forumember

Posts : 338
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Solved Re: Hide user posts from guests

Post by APE on July 18th 2016, 5:48 pm

Topic moved to the garbage.
Please read our forum rules:  ESF General Rules



avatar
APE
Administrator
Administrator

Male Posts : 12327
Reputation : 1284
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


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