Forum Replies Created
-
Ahmed excellent work thank you all is working so far…. There’s just one small adjustment when you click edit profile that works! great! making changes and updates work great! but when you save then hit view profile… profile goes to a blank profile with ?author=0 if you refresh the page then the profile comes back.
in reply to: Profile Card Logged in userAhmed thanks for looking into a solution and just as alexwadja said it depends on the theme. The theme I’m using has a default profile that is linked to author.php so I just replaced it with userpro shortcode and used
//Change profile URL to author URL
add_filter(‘userpro_user_profile_url’, ‘userpro_author_url’, 99, 2);
function userpro_author_url($link, $user_id) {
return get_author_posts_url( $user_id );
}As well. Now I can tell you this theme uses the same auth at the top of author.php as userpro and also in the registration form the action=login_post… Which I assume that it is making some sort of default post in the system to activate author from ?author=0 to the correct ?author=1, ?author=2 and so on with the correct id to match new user.
in reply to: Profile Card Logged in userOk basically I want the correct user displayed on author.php even if user has 0 post. I want users to view other user profiles on author.php and not having to be logged in public should be able to view as well. Presently if user A views user B user A is displayed is the problem Why? because user A has 0 post. But when user A makes a post everything works probably.
The problem with this is when a new user registers and click the profile link connected to author.php they won’t see their profile because they haven’t made a post. Not good will confuse the user and not every user will post they may just register to view and follow other users. Basically this is a major function with wordpress and userpro was built around wordpress it should work. Great plugin but without this it can be useless in a lot of projects. Thanks
in reply to: Profile Card Logged in userI’m having the same issue with view profile… Userpro is built for wordpress this should have been addressed and solved it’s quit simple users need to be shown on author.php correctly even if they haven’t made a post. There’s a theme that does this well and it’s no where as good as userpro so it’s a small fix for you guys. This will for sure hold back userpro there’s been many issues discussed here on this topic… Please fix this in your next update it’s really important for wordpress profiles.
in reply to: Profile Card Logged in userThis reply has been marked as private.I read in my search it’s looking for the email string to be $email during registration if that helps.
in reply to: Integration with theme need help????I knew that it will require custom integration I was asking so Can you point me in the right direction. Here’s the thing I can register with the theme’s default registration but can only login with userpro login. So there has to be a connection somewhere.
Here’s the error Catchable fatal error: Object of class WP_User could not be converted to string in /xxxxx/xxxx/public_html/xxxxxxx/wp-includes/formatting.php on line 1943
I’ve managed to get userpro to create the user in a similar way of the default registration in sends an email with user and pass like the default but when I try to login I get that error above which is:
/**
* Verifies that an email is valid.
*
* Does not grok i18n domains. Not RFC compliant.
*
* @since 0.71
*
* @param string $email Email address to verify.
* @param boolean $deprecated Deprecated.
* @return string|bool Either false or the valid email address.
*/
function is_email( $email, $deprecated = false ) {
if ( ! empty( $deprecated ) )
_deprecated_argument( __FUNCTION__, ‘3.0’ );// Test for the minimum length the email can be
if ( strlen( $email ) < 3 ) {
/**
* Filter whether an email address is valid.
*
* This filter is evaluated under several different contexts, such as ’email_too_short’,
* ’email_no_at’, ‘local_invalid_chars’, ‘domain_period_sequence’, ‘domain_period_limits’,
* ‘domain_no_periods’, ‘sub_hyphen_limits’, ‘sub_invalid_chars’, or no specific context.
*
* @since 2.8.0
*
* @param bool $is_email Whether the email address has passed the is_email() checks. Default false.
* @param string $email The email address being checked.
* @param string $message An explanatory message to the user.
* @param string $context Context under which the email was tested.
*/
return apply_filters( ‘is_email’, false, $email, ’email_too_short’ );
}Thanks
in reply to: Integration with theme need help????ok thanks again I will try your sugestion and report back… My reason for having it network wide is so if a user want to update their profile while editing their site they wont have to go to both they can just make all changes at their subsite and if they chose to they can visit the primary blog.
The mini profile I’m using just so the can be searched on the primary blog with a link that takes the search to their multisite. That’s my reason for multisite wide.
Is there any plans for file attachments for download?
in reply to: Global Changes Not Showing Up On Multisite???Thank you for the detailed information much appreciated. Will wait for further progress regarding multisite issues.
Thanks
in reply to: Global Changes Not Showing Up On Multisite???Just sent email subject is : USERPRO MULTISITE HELP
FTP info is in the email as requested
Thanks for your help
in reply to: Retrieving user data multisite?????OK thanks emailing you now!
in reply to: Retrieving user data multisite?????