Thanks – this looks great – and works great.
I have an idea – I dont know if you can do it..
Suppose a Buddpress member Max visits the profile of Jane – then he sees her profile – On the left will be Profile – then below it Friends .
On the right will be another VIEW and then the tabbed profile.
Can we remove Friends -conditionally – that is – Max cannot see that Tab – and none else – only Jane can see her Tab.
Also can we also remove the View – line – since it just takes space – no utility – for a visitor – or for Max – but shows only for Jane – she also sees the Edit and others too.
Thanks
www.marryadevotee.com
Hi Mahaprabhu,
CSS isn’t very smart. In fact, it’s quite dumb. You can only use some really basic logic and even then, most of that logic isn’t very usable at this time due to lack of browser support (@import and @media are the exceptions). You can’t do if/else so what you’re trying to do is effectively impossible without a lot of additional PHP (or JavaScript) to add body classes of all of the possible variables you may want to check. Unfortunately, that’s beyond the scope of what we can help you with on our forums, but you could hire a developer to implement this for you. We recommend using Codeable. You’ll be able to hire someone at an hourly rate to do this work for you. I’m sorry mate. :(