Forum Replies Created
-
It is NOT working on my site either…..
in reply to: Bookmarks plugin doesn't workHow to exclude admins by name? Just list name as exclusion or add this?
adminactivity
in reply to: Activity Feed ExclusionI’m sorry I do not understand. I have found the files;
default_avatar_female.jpg jpg 5.2 KB
default_avatar_male.jpg jpg 4.6 KBBut they are not in a folder. I do not really know/understand CSS. What do I add and where?
I have the image I wish to use in the media library. I have spent a bout 20 hours on this and am still confused. I have been changing them manually one at a time.
The other issue I have (and then the site will be done!) is there are several places I cannot figure out how to change the background and font color. I have spent hundreds of hours going through style sheets line by line. The main one is the font color over member directory where it says “found 13 members” you can’t see the font because it’s grey and my background is blue. That and the forms, the background and font color on all the forms.
Any help is very gratefully accepted.
in reply to: default images for membersWhich file am I editing? I have done through and changed all the colors I can find. So look for a link? http://link.com? in which file?
in reply to: default images for membersSo you are reselling userpro bundled with a theme and want it to auto-activate? Doubt the author agreed to that.
in reply to: Theme BundlingLook for a 404.PHP file inside your theme files. Then change the words if needed to say what you like. Mine said this page cannot be found searching might help, just find the words in the file and change them
Then for each page you create on the left when you create it it should let you check for logged in members or public.
in reply to: custom redirect page when content only to memberThe issue is the individual computer NOT userpro. This happens when the computer does not have default email set up. Hope this helps other people.
in reply to: email link from profiles not workingYou need to go through all your settings, that is in redirects I believe.
I have an interesting situation. I came into all this building a website stuff out of popular demand LOL. I have been maintaining a blog and working with people who are having UFO/ET experiences for several years now. I’ve gotten so popular (like hundreds of non-repeat hits a day, LOL not sure how) that it was time to create a community.
So I paid for premium hosting, downloaded wordpress, spend my last dime on userpro and have been lost ever since! I am WAY WAY above my paygrade here. The good thing I am not having to deal with people who have already singed up, it’s a fresh start. But I just could not figure out the shortcode stuff then one day it clicked! So I used my IE developer tools and stole all the shortcodes out of the examples page here at the userpro site. So I thought if I can help other people with it I would.
My HUGE problem is still linking authors to their posts. Now if you click a post it just says it can’t find it. UGH! The following stuff is not that important but the link to authors is.
Also anyone know if I can download a trial of the message service and see if I like it? If so where? The site is profile.mytwinflame.info, it’s mostly locked down right now and will be moved before we go live. But I have the Jun 1st date I promised everyone… I’m not sure I’m gonna make it.If anyone has any suggestions about the author linking and the following please let me know! UFOchick at gmail.com
Dana
in reply to: Tutorials list, others? shortcode how it worksIt took hours to put that list together. I pulled the html off of the page where all the examples are and took the codes from there. Here are my completed noted below.
I am still completely stuck. I do not understand PHP so if the answer is that please tell me WHERE to put the code. I need to link the user/author to the posts they make and find a way to have the name of the user on the post.
Second my followers/following has disappeared from the profiles, how can I put them back? I don’t want to reload because I have over 90 custom fields put in.
Here are the notes some are from posts here on the forum. The ones above are also here except the links.
All Activity with listing ten per page.
[userpro template=activity activity_all=1 activity_per_page=10]Activity of those you are following.
[userpro template=activity]If you want to show those who are following you.
[userpro template=followers]If you want to show those you are following.
[userpro template=following]to show LOGGED in user regardless if you’re on profile or not
add: user=loggedin
to show author following/followers add user=author
to show custom user following/followers add user=USERNAME
user=loggedin will show logged in user followers/ing
user=author will show post author followers/ing
user=CUSTOM_USER ….
This is for use outside the FOLLOWERS/FOLLOWING Frontend pages. This should make the job easier to display them anywhere you want, not just stricted inside followers/following page, all based on providing the user= option
The most common use will be user=loggedin (Logged user) but you can use user=author to show this for post authors in their posts! so people know who are following the authors!
[userpro template=view header_only=true]
data-publish_heading=’Add a New Post’
data-publish_button_primary=’Publish’data-passwords_do_not_match=’Passwords do not match’
data-password_not_strong=’Password is not strong enough’data-following_heading=’Following’
data-followers_heading=’Followers’data-postsbyuser_num=’12’
data-postsbyuser_mode=’grid’
data-postsbyuser_thumb=’50’
data-postsbyuser_showthumb=’1′
data-postsbyuser_category=’0′
data-postsbyuser_types=’post’
data-postsbyuser_taxonomy=’category’ data-layout=’float’data-card_width=’250px’
data-card_img_width=’250′
data-card_showbio=’1′
data-card_showsocial=’1′data-register_heading=’Register an Account’
data-register_side=’Already a member?’
data-register_side_action=’login’
data-register_button_action=’login’
data-register_button_primary=’Register’
data-register_button_secondary=’Login’
data-register_group=’default’
data-register_redirect=’0′
data-registration_closed_side=’Existing member?login’
data-registration_closed_side_action=’login’data-emd_filters=’1′
data-emd_thumb=’200′
data-emd_social=’1′
data-emd_bio=’1′
data-emd_fields=’first_name,last_name,gender,country’
data-emd_layout=’masonry’
data-emd_per_page=’20’
data-emd_col_width=’22%’
data-emd_col_margin=’2%’
data-emd_accountstatus=’Search by account status’
data-emd_photopreference=’Photo Preference’
data-emd_country=’Search by Country,dropdown’
data-emd_gender=’Gender,radio’
data-emd_paginate=’1′
data-emd_paginate_top=’1′>
data-emd_thumb=’200′ data-emd_social=’1′
data-emd_bio=’1′ data-emd_fields=’first_name,last_name,gender,country’
data-emd_layout=’masonry’ data-emd_per_page=’20’
data-emd_col_width=’22%’ data-emd_col_margin=’2%’data-type=’default’
data-login_group=’default’ data-login_redirect=’0′
data-rememberme=’true’
data-login_heading=’Login’
data-login_side=’Forgot your password?’
data-login_side_action=’reset’
data-login_button_action=’register’
data-login_button_primary=’Login’
data-login_button_secondary=’Create an Account’
data-login_group=’default’
data-login_redirect=’0′
data-rememberme=’true’data-delete_heading=’Delete Profile’
data-delete_side=’Undo, back to profile’
data-delete_side_action=’view’
data-delete_button_action=’view’
data-delete_button_primary=’Confirm Deletion’
data-delete_button_secondary=’Back to Profile’
data-delete_group=’default’data-reset_heading=’Reset Password’
data-reset_side=’Back to Login’
data-reset_side_action=’login’
data-reset_button_action=’change’
data-reset_button_primary=’Request Secret Key’
data-reset_button_secondary=’Change your Password’
data-reset_group=’default’
data-reset_heading=’Reset Password’data-change_heading=’Change your Password’
data-change_side=’Request New Key’
data-change_side_action=’reset’
data-change_button_action=’reset’
data-change_button_primary=’Change my Password’
data-change_button_secondary=
data-change_group=’default’
data-change_button_secondary=’Do not have a secret key?’data-list_heading=’Latest Members’ data-list_per_page=’5′
data-list_sortby=’registered’
data-list_order=’desc’
data-list_users=’0′
data-list_group=’default’
data-list_thumb=’50’
data-list_showthumb=’1′
data-list_showsocial=’1′
data-list_showbio=’0′
data-list_verified=’0′
data-list_relation=’or’
data-list_heading=’Latest Members’
data-list_per_page=’5′
data-list_verified=’0′
data-list_relation=’or’data-online_heading=’Who is online now’
data-online_thumb=’30’
data-online_showthumb=’1′
data-online_showsocial=’0′
data-online_showbio=’0′
data-online_mini=’1′
data-online_mode=’vertical’data-memberlist_table=’0′
data-memberlist_v2=’1′ data-memberlist_v2_pic_size=’86’
data-memberlist_table=’0′
data-memberlist_table_columns=’user_id,picture,name,country,gender,role,email_user,message_user’
data-show_on_mobile=’picture,name,country,email_user,message_user’
data-memberlist_v2=’1′
data-memberlist_v2_pic_size=’86’
data-memberlist_v2_fields=’age,gender,country’
data-memberlist_v2_bio=’1′
data-memberlist_v2_showbadges=’1′
data-memberlist_v2_showname=’1′
data-memberlist_v2_showsocial=’1′
data-memberlist_pic_size=’120′
data-memberlist_pic_topspace=’15’
data-memberlist_pic_sidespace=’30’
data-memberlist_pic_rounded=’1′
data-memberlist_width=’100%’
data-memberlist_paginate=’1′
data-memberlist_paginate_top=’1′
data-memberlist_paginate_bottom=’1′
data-memberlist_show_name=’1′
data-memberlist_popup_view=’0′
data-memberlist_withavatar=’0′
data-memberlist_verified=’0′
data-memberlist_filters=’0′
data-memberlist_default_search=’1′data-activity_heading=’Recent Activity’
data-activity_per_page=’10’
data-activity_side=’refresh’
data-activity_user=’0′ data-emd_filters=’1′
data-activity_heading=’Recent Activity’
data-activity_all=’0′
data-activity_per_page=’10’
data-activity_side=’refresh’
data-activity_user=’0′data-edit_button_primary=’Save Changes’
data-edit_group=’default’data-view_group=’default’
data-social_target=’_blank’
data-social_group=’default’data-publish_heading=’Add a New Post’
data-publish_button_primary=’Publish’data-margin_top=’0′
data-margin_bottom=’30px’
data-align=’center’
data-skin=’elegant’
data-required_text=’add text’
data-type=’default’
data-link_target=’_blank’
data-error_heading=’An error has occured’
data-per_page=’12’
data-sortby=’registered’
data-order=’desc’
data-relation=’and’
data-search=’1′
data-exclude=’0′
data-show_social=’1′
data-facebook_redirect=’profile’
data-logout_redirect=’0′
data-modal_profile_saved=’Your profile has been saved!’
data-template=’login’
data-max_width=’480px’
data-default_avatar_male=’http://userproplugin.com/userpro/wp-content/plugins/userpro/img/default_avatar_male.jpg’
data-default_avatar_female=’http://userproplugin.com/userpro/wp-content/plugins/userpro/img/default_avatar_female.jpg’
data-layout=’float’ data-margin_top=’0′
data-margin_bottom=’30px’
data-align=’center’
data-keep_one_section_open=’0′ data-allow_sections=’1′
data-permalink=’http:your link’
data-field_icons=’1′ data-profile_thumb_size=’80’
data-view_group=’default’
data-social_target=’_blank’
data-social_group=’default’
data-link_target=’_blank’
data-error_heading=’An error has occured’
data-per_page=’12’
data-sortby=’registered’
data-order=’desc’
data-relation=’and’
data-search=’1′
data-exclude=’0′
data-show_social=’1′
data-facebook_redirect=’profile’
data-logout_redirect=’0′[userpro_loggedin]Welcome back! Happy to see you again![/userpro_loggedin]
[userpro_loggedin]Welcome, [first_name] [last_name]! Your current user role is [role] and here is your current profile picture [profilepicture round][/userpro_loggedin]
echo get_avatar
class=’userpro-field userpro-field-custom_video ‘
data-key=’custom_video’><div class=’userpro-label iconed’><label for=’custom_video-720′>Video Embed</label><span class=”userpro-tip” title=”Enter video embed code here.”></span></div><div class=’userpro-input’><textarea class=’normal’ type=’text’ name=’custom_video-720′ id=’custom_video-720′
data-ajaxcheck=” data-help=’Enter video embed code here.’ data-label=’Video Embed’ data-placeholder=” data-_builtin=’0′ data-hidden=’0′ data-hideable=’0′ data-html=’1′ data-locked=’0′ data-private=’0′ data-required=’0′ data-type=’textarea’ data-woo=’0′ ></textarea><div class=’userpro-clear’></div></div></div><div class=’userpro-clear’></div>Author Avatars
Example: [authoravatars roles=administrator,editor]
hiddenusers: Remove users from the list
Hide one or multiple users from the list. Both login names and user ids are allowed as values. Separate multiple values by a comma.
Example: [authoravatars hiddenusers=admin]
avatar_size: The size of the avatar images
You can adjust the size of the avatar by specifying the avatar_size parameter.
Example: [authoravatars avatar_size=25]
link_to_authorpage: Disable the link to author pages (deprecated)
This is deprecated since version 0.7. Please use the user_link parameter instead.
By default user avatars are linked to their Author Page. If your theme doesn’t support them or you don’t want to show them e.g. for subscribers, then you can easily disable them by setting this parameter to false.
Example: [authoravatars link_to_authorpage=false]
user_link: Link user avatars to user website, blog or authorpage
As of version 0.7 you can link users not only to their respective Author Page but also their website if available or blog on WordPress MU sites.
Version 0.7.3 adds the option to link users to their respective BuddyPress Members page.
Allowed values: false, authorpage (default), website, blog (wpmu only), bp_memberpage (only if budypress installed),bppress_memberpage( (only if bbpress installed)
Example: [authoravatars user_link=website]
show_name: Show user names next to avatars
If you’d like to show the user display names next to the avatars set the show_name parameter to true.
Example: [authoravatars show_name=true]
show_biography: Show user biographies next to avatars
If you’d like to show the user biographies next to the avatars set the show_biography parameter to true.
Example: [authoravatars show_biography=true]
show_postcount: Show the users’ post count next to their name
Set this option to true to show a user’s postcount next to their name (in brackets). If the user name is not displayed (see “show_name” parameter) then the postcount will be shown within the title of the image, i.e. it can be seen on mouse-over.
Example: [authoravatars show_postcount=true]
min_post_count: Set a required minimum number of posts
Since version 0.8 you can only show users which have a specified number of posts. This allows for example to hide all authors which have not written any posts yet.
Example: [authoravatars min_post_count=1]
limit: The maximum number of avatars shown
Example: [authoravatars limit=3]
order: The order in which users are shown
Users are ordered by their display name A-Z by default. You can adjust this by changing this parameter. Possible values are: random, user_id, user_login, display_name, post_count (0.7+), date_registered (0.7+).
Example: [authoravatars order=random]
page_size: Max number per page
With this set paging markup (“< 1 2 3 4 5 >”) will be displayed below the avatars block.
The avatars are reloaded via ajax.
Note: this code is only used in the shortcode in page or post and not in a widget.Example: [authoravatars page_size=10]
sort_direction: The direction in which users are ordered
As of version 0.7 you can specify the sort direction, ascending or descending.
Valid values are “asc” or “ascending” (default) and “desc” or “descending”.Example: [authoravatars order=date_registered sort_direction=descending]
You can also use this shorter version:
Example: [authoravatars order=date_registered,desc]
blogs which blogs to show authors from
This is only for multi-site (WPMU) mode.
Before you use this you need to grant a site permission to see other blogs in the site on the network admin control panel
/wp-admin/network/settings.php?page=wpmu_author_avatars[userpro template=postsbyuser postsbyuser_mode=compact postsbyuser_thumb=100] shows posts on profile when logged in
[userpro template=card user=author]
or See if either of these shows author on the post
[userpro template=view user=author]
Author will be DYNAMICALLY fetched from author archive.
For registration shortcode, you can use new shortcode option:
form_role=”author” for example or form_role=”support” etc.. form_role will override default role setting and make it form-specific ok? clear?
[userpro template=register form_role=author]
REgister forms for certain roles? supported??
[userpro template=register form_role=vendor]———————————————————————————————————————————-
PHP
Good day! By this function we show comment author <?php echo $userpro->permalink($comment->user_id); ?> How to show link to profile of author of post?
<?php echo $userpro->permalink( get_the_author_meta(‘ID’) ); ?> This should display the profile URL based on author ID.
To link author to users and posts
In your functions/api.php
Change this
$link = apply_filters(‘userpro_user_profile_url’, $link, $user_id);
to:
if ($request == ‘profile’ || $request == ‘view’) {
$link = apply_filters(‘userpro_user_profile_url’, $link, $user_id);
}This will affect only profile permalinks and keep login, register, other pages un-affected.
in reply to: Tutorials list, others? shortcode how it worksThis reply has been marked as private.in reply to: Having Profile Permalink Issue? Please see thisIssue; when any user admin or other clicks on any part of a post by any user it gives the error “Not Found
Apologies, but the page you requested could not be found. Perhaps searching will help.”
Permalinks setting is; username
Is there a way to show the author/user attached to each post? I need the post to link to the profile of the author. if this is a PHP change please tell me which file I am changing and where the php goes.
I have no users before userpro. My regular test people I am signing up as contributors do they need to be authors?
I will add site and login in the next post so people can learn from my question and the answer.
in reply to: Having Profile Permalink Issue? Please see thisWhen I create a new user on the backend it places it in the userpro part also. Like if I create a user named test I fill out the form on the backend then I can login in the userpro login as that user and it works fine.
in reply to: Please ALLOW Us TO Create New Users On the FRONT End[userpro template=memberlist v2=1 memberlist_v2_bio=0 memberlist_v2_fields=gender,age,status memberlist_v2_showsocial=0 memberlist_v2_verified=0]
This what I used to add and remove items.
in reply to: Enhanced Member DirectoryOn my computer it takes awhile to save. To see if it is saved open another page and see if the fields show up.