darroosh
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Super Admin deletedOr I can ask the question better, How to give full privileges to an admin ( programatically )?
Forum: Networking WordPress
In reply to: Super Admin deletedI confirmed now that it’s not multsite useing this code :
if ( is_multisite() ) { echo 'Multisite is enabled'; } else{ echo 'no'; }
It outputted : no.
So now, As you said, I must not be having a superadmin, but why my administrator accounts lacking some privileges although they are set as administrators?
Forum: Networking WordPress
In reply to: Super Admin deletedHow to know if it’s multisite or no ?
Forum: Networking WordPress
In reply to: Super Admin deletedSorry, It’s not mutisite, how can I transfer it to another section?
I tried adding this admin, but it comes lacing some priviledges such as installing new plugins because his role is administrator and not super admin
What should I do?
Regards,
Forum: Installing WordPress
In reply to: Some Admin privilages lost after wordpress updateSorry, I’m using version 4.1 not 4.2
It was just a typoForum: Installing WordPress
In reply to: Some Admin privilages lost after wordpress updateThank you.
It’s not server permission
It’s wordpress user permission.Forum: Plugins
In reply to: Want to access user dataI found it ..
I will write it to help any one find this post !
something like :
<?php global $current_user; get_currentuserinfo(); echo 'Username: ' . $current_user->user_login . "\n"; echo 'User email: ' . $current_user->user_email . "\n"; echo 'User first name: ' . $current_user->user_firstname . "\n"; echo 'User last name: ' . $current_user->user_lastname . "\n"; echo 'User display name: ' . $current_user->display_name . "\n"; echo 'User ID: ' . $current_user->ID . "\n"; ?>
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]