Currently, I'm developing WordPress site.In that,I have to allow normal users to Login/register.After, they can post posts.After the approval of the admin, the post will be published on the site.Also, concern user wants to view, edit or delete his/her previous posts.
Is any plugin there?
Here you need to use two different plugin.
1) User Front Login / Register ::
https://wordpress.org/plugins/zm-ajax-login-register/
2) User can post from the front end ::
https://wordpress.org/plugins/ppress/
Thanks
Related
In Wordpress there is an author.php template file that you can use to display author information. I am wondering if there is a way to create a template file to display a users information (any role), even if they are not an author to any post, but is a registered user.
By default, wordpress is handling profile page for authors only.
In your case, registered user seems any subscriber or editor also have profile page.
To handle that scenario you need to add plug-in.
User Profile Page
Ultimate Member
I have a landing page with a call to action that points a user to a video and a quiz. The quiz is powered by a larger LMS, LearnDash.
LearnDash has the option to require the end user to enter information (fields are customization) before receiving their grade on the quiz.
When the user submits that information, I'd like to have it register them an account on the site. I'm not sure where to begin linking this process together.
I do know buddypress uses register.php to create an account,how do I hook that up to a button?
You can utilize the following three hooks to customize the registration form: register_form, registration_errors, & user_register.
You can learn more about customizing the registration form in the WordPress Codex by visiting this link.
https://codex.wordpress.org/Customizing_the_Registration_Form
If using hooks is to complicated, there are a number of WordPress plugins available that make customizing the registration page a breeze.
RegistrationMagic - Plugin
Ultimate Member - Plugin
I've created a custom field (Checkboxes) in Wordpress > Users > Profile Fields. My site is an omni site for news, so it collects news from 20 different sources via RSS, and adds them ass posts in my Wordpress site. This is how my custom field looks like:
If you're only a visitor on my front page I'll show all posts on the startpage.
If you are a logged in user; then you should be able to select and save wich of the 20 sources you want to read in your startpage on my site. This is possible to select and save today, but only from BP User Settings page:
Now, the issue with the Users Profile Settings page is:
a) I do not want to have the form in the tab "Profile > Edit". I want my form on my startpage (above the news flow, for logged on users of course) and perhaps in a widget sometime - anyhow - the most important this is freedom to place (and style) the form wherever I want.
b) The form includes fields I want to remove (Name and Description, i.e. "sources" = field name) etc.
The user on the image above has selected and saved to read news from 2 different sources on my website. The code that handles this is on the startpage in my index.php is:
$sources = xprofile_get_field_data( 'sources', $current_user_id, $multi_format = 'array' );
query_posts(array('category__and'=>array($sources)));
Question
Is there a way of retrieving this form and update in from anywhere for logged in users?
I don't want to be bound to the idea of only having the form in the Profile Settings page. I want the user to have to form above my news flow on the startpage of my site, so the users gets the feeling of "Oh, I can customize my news flow if I create an account!" - and this should be done from anywhere for logged in users.
If I am getting it correctly, you want to display the form to logged in users. Have you tried
<?php if ( is_user_logged_in() ) { ... } ?> function?
you may also wish to update user fields with
update_user_meta()
I want to build a multi user website where my users register and their account is created.
After sign up the user gets a specific url to build his website. Like. Mysite.com/user1
Now the user can login to the control panel and publish his data. Eg he has created a faq page.
His faq page should be available like
Mysite.com/user1/faq
I've done everything but this faq page building does not work at all.
I check the user for existence in the DB and route to his page in the routes.php file
:any = home/loader/$1
And in loader.php I fetch the details and display his welcome page, for the faq page, I have created a function in the loader.php controller as
Faq()
And built a custom view for it but now when I try to access the page it only loads the welcome page.
I tried all methods but it does not work.
I suggest you have a look at the Tutplus
http://code.tutsplus.com/tutorials/basecamp-style-subdomains-with-codeigniter
It explains how to work with wildcard routing in codeigniter
So I have few articles in my menu which are for registered users only. I want them to be visible for everyone but if the user is not logged-in once he clicks on the menu I want him get redirected to the login page..
I saw this tutorial: Auto redirect guests to login but it seems outdated, in joomla 3.3 I can't find any "alias" menu item type.
Is there any alternative for that?
Iam using Joomla 3.3.1 with Community Builder.
-Thank you.
There are two ways you could do this really. One is through code and the other is through the administrators panel. I'm assuming based on the question you are interested in the back end solution.
This involves creating two unique menu items with the same name (alias' would need to be different). One which is only visible to logged in users, which points to the component view desired. The second menu is only visible to guests, and will point to the user log in component view with a redirect url set to component view you wish them to be redirected to.
I attached a link below to an article explaining how to only show menu items to guests and have them hide when users are logged in.
http://docs.joomla.org/How_do_you_hide_something_from_logged_in_users%3F