i need a little help..... im creating a 2nd blog plugin that will basicly be my news, i have one account on my site that controlls all the news and i want to restrict this 2nd blog plugin to that specific user guid iv been trying this and it kinda works il explain
if ($user_guid == 56) {plugin info here}
ok so my guid is 56 when i use this code it works in the sence that it doesnt show the plugin but the problem is I AM 56 and im not seeing it.....any ideas? i also tried this
if ($user_guid == 56) $guid = elgg_get_logged_in_user_id; {plugin info here}
but still nothing, im pretty sure the function is working its just not recognizing me as GUID 56
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- iionly@iionly
iionly - 0 likes
You must log in to post replies.elgg_get_logged_in_user_guid() might work instead.