meta key of email
Author | Posts |
---|---|
July 15, 2014 at 8:31 pm 23621 | |
Sekander Badsha | Hi How can i use email of the custumer fields? what is the meta key and can i use it? |
July 17, 2014 at 12:07 pm 23690 | |
Sekander Badsha | Hello Ba Seckou, |
July 17, 2014 at 11:01 pm 23731 | |
Ba Seckou | Hi It’s working now thunks. But I have one problem now: [wpuf_profile type=”registration” id=”xxxx” wpuf_can_post=”no” wpuf_addpost_notice=”Msg “] it’s not working because the 2 roles can mike post. Haw can i do that’s to be working. Please help! |
July 20, 2014 at 9:10 pm 23816 | |
Sekander Badsha | You can decide the user roles in the registration forms. Even you can use different registration forms for different user roles. But you can’t control the post forms. |
July 21, 2014 at 6:20 pm 23876 | |
Ba Seckou | This reply has been marked as private. |
July 21, 2014 at 9:01 pm 23888 | |
Sekander Badsha | Not functions.php, in the page that contains your form. As an example you have a form to post videos and that form is inside a page named “Post Video”. So you’ll have to paste the code in the “Post Video” page. Because that code, only the “Post Video” page will be inaccessible to some user roles. |
July 21, 2014 at 9:07 pm 23890 | |
Ba Seckou | This reply has been marked as private. |
July 22, 2014 at 12:11 pm 23932 | |
Sekander Badsha | Here I have modified a page template for a role “subscriber”. I’m using the full width template of twenty twelve for a form. And The template will check for the user role and control the access to the pages that are using this template. get_header(); if (!current_user_can( ‘subscriber’ ) ) { <div id="primary" class="site-content"> <?php while ( have_posts() ) : the_post(); ?> </div><!– #content –> <?php } You can use any user role instead of “subscriber”. But make sure you make a new template to use for the forms to restrict access. |
July 22, 2014 at 1:20 pm 23938 | |
Ba Seckou | This reply has been marked as private. |
July 24, 2014 at 2:39 pm 24060 | |
Sekander Badsha | You’re quite near! But the template should be in your theme folder. |
July 24, 2014 at 7:34 pm 24084 | |
Ba Seckou | This reply has been marked as private. |
August 5, 2014 at 3:00 pm 24566 | |
Sekander Badsha | Yes. If you’re using a theme named “Detube”, then yes. |
August 7, 2014 at 12:55 am 24687 | |
Ba Seckou | This reply has been marked as private. |
August 11, 2014 at 1:01 pm 24905 | |
Sekander Badsha | When You create a page from wp-admin, you’ll see a field on the right side to select template. Select this tempate from there and save. You should place the shortcode inside the page you just made from wp-admin. |
August 11, 2014 at 4:40 pm 24932 | |
Ba Seckou | This reply has been marked as private. |
August 16, 2014 at 6:59 pm 25279 | |
Sekander Badsha | If you’re not familiar with codes, please hire a developer. |