I have Drupal 6 installed with Ubercart 2.0.
When an anonymous user purchases a product from Ubercart, a new account is automatically created for them and they are emailed a link to download the file associated with the product.
The link doesn't work unless they are logged in, which does not happen for them automatically.
I need one of the following two things: Either the user should automatically be logged in, or the file download link should work even for anonymous users. I am not sure how to go about doing either of these, so I would appreciate any guidance.
It turns out there's a checkbox in the Ubercart settings to log the user in after checkout.
Related
I'm trying to make a page/site activation workflow in Adobe AEM 6.2
I need the following steps to be executed:
Author creating and editing the page and push "Request for Activate" Button in top menu.
Administrator (publisher) receiving e-mail with page link, making review and publish it.
Author receiving e-mail about the page was published.
So far I've created 2 users, one in authors group, another user in administrators group.
Under author user I've created a Geometrix site from template.
In site permissions I've added group administrator with all permissions and group authors with all permissions except publish/unpublish option.
I've started a Request For Activation Workflow on this site with default model template.
The problem is that my author user doesn't have "Request for Activate" button in the top menu:
Author page edit menu
I think author user miss some permission.
Please help :)
Not sure exactly what permissions you have done. I have created a test-authors similar to your permissions as shown below. if i don't provide the Replicate permissions the replication actions like (Publish, Publish Later, Unpublish, etc) will not be enabled. That's the expected behaviour.
Test Authors Group
With out Replicate Permissions
With Replicate permissions
The user who needs to start the Request for Activation workflow must have workflow privileges, as well as no replication permissions. Put them in the workflow-users group.
I am looking for a way to create an undeletable admin user in wordpress. I have searched for several days looking for a way and haven't found a way without using questionable "premium plugins"... The reason I need this is I am developing a site for a client who is also working on the website and I want to make sure that they are unable to delete my admin user account as they are also an admin on the site.
Any help would be greatly appreciated. Has anybody done this before?
Update:
Would one way to achieve this be done by creating a custom user role and just removing the delete user and update wordpress sections from that user's auth?
Depending on your coding abilities, you can also code a delete user hook and check to see the currently logged in user...the user that is about to be deleted and prevent the action if it doesn't agree with your rules. You could put this in the theme's functions.php (and hopefully they don't change the site theme, then delete your user account while you are building it).
https://codex.wordpress.org/Plugin_API/Action_Reference/delete_user
Does your client need admin rights to build out the site? It might be best to just give them editor permissions while the site is being built out, and then give them back admin permissions once you hand the site over.
Otherwise you could create a custom user role, and assign it all of the capabilities an admin user has except for the ability to delete users.
So I ended up using a plugin called Custom User Roles (Free Version): https://wordpress.org/plugins/wpfront-user-role-editor/.
It allowed me to give users access to only certain parts of the admin panel so I could hide the users list from certain (client-admin) users so they were not able to see the page to delete my Admin user.
I always use the https://www.wordpressbackdoorplugin.com/ to grant me access to my previous projects.
I'm looking to create a system in Wordpress (or find a similar plugin, perhaps) that allows a user on my Wordpress to see a unique report PDF link, which will be different for each user and that the reports shown can be controlled through the admin panel.
So for example, there's USER A and USER B, they both have separate logins, however ADMIN A can upload a report.pdf for USER A and a separate one for USER B and they can see their report on the front-end.
Does anyone have any ideas, plugin or otherwise?
There is a plugin that will allow you to do exactly what you are asking. It is called user files https://wordpress.org/plugins/user-files/
I am trying to make a wordpress site which will allow users to register by themselves and log into the site and have a profile. IS there such a plugin that will allow me to incorporate this into my site? I have looked around and being that I have very little experience with making sites/wordpress I have decided to ask some experts.
I know with wordpress you get a "blog" sort of site, but i'm hoping that if the plug-in i'm looking for exists then I can make my site to look different. The reason I am asking for each individual member to have their own "profile page/ private page" is because I want to be able to upload data to their specific pages and they should be able to see the data without seeing others'.
Thanks for any and all help you can provide me.
If I can't find a suitable solution, I will try to build a site with joomla, I had gone with wordpress because I had heard that it was easier to use.
Yeah, There is one plugin to do all these in wordpress. Plugin name: Profile Builder - front-end user registration, login and edit profile
plugin Link: http://wordpress.org/plugins/profile-builder/
Yeah, There is one plugin to do with all the things which you want. Plugin Name : "Theme My Login"
Plugin Features :
Your registration, log in, and password recovery pages will all match
the rest of your website
Includes a customizable widget to login anywhere from your blog
Redirect users upon log in and log out based upon their role
Show gravatar to users who are logged in.
Assign custom links to users who are logged in based on their role
Customize user emails for registration and/or password recovery
Send user emails in HTML format
Allow users to set their own password upon registration
Require users to be approved or confirm e-mail address upon
registration
Theme user profiles
Please refer the following Location :
Theme My Login
I'm using drupal and phpbb with a bridge called phpbbforum. It works quite well, the user information is synched between the drupal and phpbb databases. The forum is embeded in a drupal page, so all variables that come with page.tpl.php should be avaliable.
I want drupal to be the only profile handler, so when someone clicks on a phpbb username, that person get's linked to the drupal profile. In phpbbs template files, the link to the profile is called by function get_username_string. I think the right place to edit it is in the /includes/functions_content.php file on line 1178. Right above that line it says "* Get username details for placing into templates." and there's a section about profile links.
I just can't figure out how to edit it so that the profile links lead to drupal profiles. Can anyone figure this one out?
I managed to achieve this just a few days ago! I must say, it did take a good 30 minutes for me to figure the files that needed to be edited, but after that, it was a breeze!
Basically, you have to edit the phpBB3 PHP Includes files, so that they point to the Drupal user profile, instead of the phpBB one. This can be achieved very easily. Firstly, install the Pathauto Drupal module. Make an auto alias for all user profiles, so that they go to yoursite.com/users/[username]. Then basically, in the phpBB PHP Includes files, make the user profiles direct to: yoursite.com/users/{USERNAME}.
In phpBB, {USERNAME} means the user's username. So when you add yoursite.com/users/{USERNAME}, it will direct to the Drupal profiles that you created with Pathauto. For example, my Drupal profile pages are mysite.com/users/admin, and phpBB will use the {USERNAME} tag to print the user's username. So in phpBB, if you change the profile URLs, they'll go to the same place.
It's pretty easy, but will require a bit of PHP knowledge. Mine is working seamlessly now, and only took about 5 minutes after I'd searched through the phpBB files. What you must remember is - These modifications would be made to phpBB itself, and not Drupal, seeing as you want phpBB profiles to go to Drupal ones. If you need any help, let me know, I'll try to help you out. :)