barinagabriel
Forum Replies Created
-
Elliot,
by default, the login/register forms redirect to the same page (they refresh), so if you are telling me that you are redirected to the homepage it’s a sign that something is not ok.
What you can try to adapt and use this code, and see if it helps you further: https://pastebin.com/ChQZXyJV
Regards,
GabrielHello,
yes, the premium versions both have extra (custom) fields, amongst which a country select (more info: https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=cozmoslabs&utm_medium=banner&utm_campaign=top-banner#profile-builder-features)
However, if you want to add your own custom fields, you can use the built-in filters, but you will need to do quite a bit of coding.
Regards,
GabrielHello,
are you referring to the shortcodes you need to put in the pages?
If yes, they are presented here (and in the readme file): https://www.ads-software.com/plugins/profile-builder/
[wppb-edit-profile] – to grant users front-end access to their profile (requires user to be logged in).
[wppb-login] – to add a front-end login form.
[wppb-register] – to add a front-end user registration form.
[wppb-recover-password] – to add a password recovery form.To be honest, the way I see it, is you either didn’t change all of the needed constants, or changed it in the wrong file.
As you could see, PB uses a different value, than the one you have set.
Also, nobody else mentioned this, so in all fairness, I doubt PB is malfunctioning.Please re-check the .ini file, and let me know what you found out.
Gabriel
Doing echo ini_get ( ‘upload_max_filesize’ ); for instance in the function.php file what value gets returned?
Hello,
the constant (not variable) WPPB_SERVER_MAX_UPLOAD_SIZE_MEGA is defined in the profile-builder\index.php file, line 60, and holds the value of the “upload_max_filesize” from php.ini, not sure about “max_upload_filesize” (if it even exists).
There are even filters in place, should you need to change this values in PB *only*.
Let me know if there is anything else!
Gabriel
Hello,
we are currently working on a premium version, which will also have the auto-login feature you are seeking.
Until then, you can check the following link for more info: https://www.cozmoslabs.com/forums/topic/auto-login-after-registration-4/ – hope this helps!
Regards,
GabrielHello @daniel,
a full list of features and pricing can be found here as well: https://www.cozmoslabs.com/wordpress-profile-builder/
We will soon release a completely new version, with new features, but these ones will stay the same.
@batman42ca: thank you for your reply!
Regards,
GabrielHello Sylvain,
and thank you for letting us know!
We are currently finalizing work on the new UI of PB, which will have this redone as well.
Since this new version should be launched within the month, I honestly don’t think we will release a new update just with this (though I will certainly note it).
Thank you once again!
Regards,
GabrielHello,
when login with email is done, PB generates a unique username, so that, when added to the DB, the username and emails are still separate and in the proper place (column).
Not sure what happens, though, in the case you mentioned with the forum. I would assume that the automatically generated username will be displayed instead, but WP has many filters in place which you can use to customize this.
Regards,
GabrielHello,
unfortunately PB is known to not work with all themes/plugins/server settings, there is nothing we can do about that.
My question is: does it work on localhost with the same theme? If yes, it is the server-settings.
Also, I would recommend you delete the login-details from the site, as you might get someone spamming you.
Let me know if there is anything else I can help you with.
Regards,
GabrielHello,
this would require extensive use of the filters to make the fields read-only, and even so, it is not guaranteed that any user with some web knowledge can’t make changes to their profile.
The best course of action I would recommend is using the Userlisting addon (PB Pro) to only list certain users; more info about it can be found here: https://www.cozmoslabs.com/wordpress-profile-builder/
Let me know if you need any further info.
Regards,
GabrielHello,
in theory it is possible using a combination of extra fields (present in the pro version) and quite a lot of custom code (javascript and CSS), mainly from your behalf, but unfortunately there is no built-in functionality of this kind.
Let me know if there is anything else I can help you with!
Regards,
GabrielHello,
the way I see it you have pre_user_email to start creating your CPT, though at the point this filter is run, it only checks for a valid email (same goes for the login-name a few lines before), but the hooks run a few moments after adding the user are in the following condition:
if ( $update )
do_action(‘profile_update’, $user_id, $old_user_data);
else
do_action(‘user_register’, $user_id);Unfortunately these are the only filters/hooks that you could use without overwriting the whole function.
Regards,
GabrielHello,
we are using the wp_insert_user WP function to add a new user, and it’s source code can be found here: https://core.trac.www.ads-software.com/browser/tags/3.8.1/src/wp-includes/user.php#L0 – on line 1298.
In that function, you have a lot of filters you can hook onto to create your CPT (the ones indexed with the “pre_” word).
Let me know if you need any further info/help regarding this!
Regards,
Gabriel