Community Support Forums — WordPress® ( Users Helping Users ) — 2011-11-23T00:01:30-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16006 2011-11-23T00:01:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16006&p=53729#p53729 <![CDATA[Re: MultiSite/S2m]]>
current_user_can which I assumes that the user does not exist in the current installation of that particular site.

I tried this but it seems to work current_user_is_for_blog($blog_id,"access_s2member_level1") replacing id with the blog id found when you hoover over the site name when you at the super admin mode.

But You'd have to reverse the call..not sure why

Code:
<?php if (current_user_is_not_for_blog($blog_4,"access_s2member_level1")){ ?>


PUBLIC STUFF

<?php } else { ?>

PRIVATE STUFF

<?php } ?>


Interesting that current_user_can works fine at the footer but not in the header

Sam

updates: :shock:

Was using the wrong role when I was viewing admin Vs user

here's the correct role:

<?php if (current_user_can_for_blog($blog_4,"access_s2member_level1")){ ?>

Statistics: Posted by drbyte — November 23rd, 2011, 12:01 am


]]>
2011-11-22T22:41:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16006&p=53728#p53728 <![CDATA[MultiSite/S2m]]>
I found this but not sure if it is compatible with S2m

Multisite User Management
http://wordpress.org/extend/plugins/mul ... tallation/

I installed it and it seems to work fine but the only drawback is that you can only assign one role.

Sam

Statistics: Posted by drbyte — November 22nd, 2011, 10:41 pm


]]>