Drupal 7 - delete own account - drupal

I just installed drupal-7.16. I would like to have following functionality:
As a non-admin user I would like to delete/block my own account.
Is it possible?
I found User Delete module, but there is no version for drupal 7.x.

OK, I found that it's possible from drupal properties.
Just log in as admin, go to People -> Permission
and enable permission "Cancel own user account" for authenticated users.

Related

Wordpress not showing menu options in admin

I started working on a wordpress page that was not finished by the previous developer, the problem is that when i open the page, it show every post like this
[mk_page_section bg_image=”http://ladietamigliore.it/wp- content/uploads/2016/04/adriani_magro.jpg” bg_position=”center center” bg_stretch=”true” min_height=”600″ sidebar=”sidebar-1″][vc_column][vc_row_inner][vc_column_inner][vc_empty_space height=”120px”][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner width=”1/2″][vc_images_carousel images=”446,447,448,449,450″ img_size=”full” onclick=”link_no” mode=”vertical” autoplay=”yes” hide_pagination_control=”yes” wrap=”yes”][/vc_column_inner][vc_column_inner width=”1/2″][mk_padding_divider size=”200″ visibility=”hidden-sm”][vc_column_text]
i think that a plugins is not installed or that an update is missing, so i go to the wp-admin and it look like this
there is not option for post or anything, whats wrong? how can this be fixed?
Apparently that user doesn't have any admin rights - a "real" admin would have to change your user "role" in the user profile in order to give you access to all admin actions.
It looks like your user is not an Administrator, you can check this by going to /wp-admin/users.php and looking at the 'Role' column. If you have access to the Db you can run the below SQL query for updating an user role as administrator. Here I’m assuming user id as 2.
[sql] UPDATE wp_usermeta SET meta_value=’a:1:{s:13:"administrator";b:1;}’ WHERE user_id=2 AND meta_key=’wp_capabilities’
[/sql]
your and not getting all option because you are account don't Administration access. so you have to get administration access

Drupal Users permissions and roles

Dear friends i'm doing Bsc final for my final year project i have choose Drupal site to build the shopping cards website. I have lots of question to complete my part of the project. unfortunately i could not put my all questions at same page.
How would you grant a particular permission to a particular user?
An individual user or a user role?
To set user role permissions you need to go to the permissions page under 'people' in the admin menu. Or if you are logged in as admin, just stick this on the end of your url /users/admin#overlay=admin/people/permissions

Invite users to view nodes that are hidden from public.

I am using the question module on my Drupal 7.x website and I want some specific people to answer that.
Node_invite and rsvp modules only have a 6.x version.
You can use the Node Access Password or the Access Links modules. These allow for node access by using a password and a path alias respectively.
Notice that you should uncheck the permission of "View published content" from all kind of user roles and of course from anonymous users.

Why can't I access my Drupal6 admin or pages?

I am reactivating an old Drupal project that was created by a past employee. He left no instructions on how to access Drupal. I gained access to the postgres database Drupal is using and changed everyone's password. I also made sure all users had administrator role and that administrator role has all permissions. When I log in with any of the users, I simply get "Access denied" for every page I try to go to. I've tried /admin, /user, /node, and several other pages. Changing the password definitely reset their password because I'm not getting an invalid login message, just an access denied message. The site is first being authenticated through apache using LDAP, and I made sure there are apache users that match the Drupal users. I am totally stumped. As I said, the person who did this project initially is gone and can't be reached. I have looked at several similar topic threads and can't figure this out.
have you enabled the ldap mod in apache?
try /?q=user
is phpMyAdmin installed? Check users there as well.

How to implement SSO with moodle and wordpress blog?

I have moodle installation and wordpress blog. When user logged on to moodle want to access wordpress blog. i want to implement sso with moodle(1.9.7) and wordpress(3.0.1) blog.
I am using External DB authentication plugin.
I want to access my wordpress blog through my Moodle database. I did all given steps at Authenticate Users From Moodle Into WordPress MU. Right now, admin is able to sign in both moodle and wordpress using my moodle database, But other users in facing "wrong user name or password error".
Kindly advice
Thanks in advance.
You can login because you changed you admin password to match on each system.
Your other users can't login because they are in effect using 2 separate accounts.
Your users on Moodle will need their authentication changing in their profile to "External Database", at present they are most likely set to "manual".
Try editing a user profile and change the authentication method to "External Database" then get the user to login using their Wordpress login details.
Should fix it.
If it works, change all the other accounts to the same setting.
Regards,
Lewis

Resources