Authors Addon
-
I have added the Authors Addon. It surely adds many nice features, but I’m a little bit confused of how it’s intended to be used:
Am I correct in understanding that it does not really replace the users registration I already have available for users via create add? It looks to me that any user can login via the interface added by the Authors addon, but only those who have signed up via the addon can use many of the features the addon provide. It’s bit confusing.
Your plugin only allow users created via “Authors” to have their profile displayed in public. I also notice that trying to edit phone number after logging in via Authors with a user created via create add feature, the phone number is not stored. So again I see Authors only really work with users created via Authors. Why would normal users be allowed to login via Authors?
Can I prevent / disable users to Register directly ? Or if not at least require admin to approve new users?
-
The users who register from the [adverts_add] shortcode should be able to access the Authors dashboard the same way as users who register using Authors Registration form or the wp-login.php page.
If you do not want the users to post from page with [adverts_add] shortcode if they are not registered then you can use the shortcode with “requires” params like this
[adverts_add requires="read"]
Then only logged in users who have the “read” capability will be able to post Ads.
Hi Greg, I’m not sure if you correctly understood my question. I’ll try to explain my problem a bit better:
1) Firstly can you confirm that the plugin treat users created via the [adverts_add] as users created via [adverts_author_register] 100% equal? From what I have seen the plugin treats the users very differently. Example, I cannot create / display profile for users created with [adverts_add], this only works if user was created via [adverts_author_register].
Users created with [adverts_add] can login via [adverts_author_register] and see the Authors dashboard. But if this user try to “Edit Profile” and enter data here. This data is never stored.
2) About my question “Can I prevent / disable users to Register directly?” – With the standard config users can register via [adverts_author_register] or [adverts_add] and immediately publish an unlimited number of ads. I would like to have some control over this either by require new users to be approved by admin or to require new ads to be approved by admin. (I don’t have “Fee per category” active).
More info: I now see that your plugin create the users in two different ways depending on the shortcode in the page where the user vas registered.
[adverts_add] creates “Users” and they cannot be displayed via [adverts_authors_list].
[adverts_author_register] creates “Authors”, but this don’t seem to be a standard wordpress author, this is the only user type what can edit his data with the Authors dashboard.So this is very confusing to me as I don’t think the documentation mentioned this, I have looked trough it many times. So could you please explain the difference between these and how the idea is to use them best.
I can’t see anything about this in the addon documentation https://wpadverts.com/documentation/authors/
The [adverts_add] creates just an account which can be seen in wp-admin / Users panel, the [adverts_author_register] creates an account and a user profile (the advert-author custom post type) so only user created using [adverts_author_register] can be instantly displayed on the [authors_list] all other users need to complete their profile first from the authors dashboard.
You mentioned that while registering with [adverts_add] the user cannot edit profile in the Authors dashboard, i will check that, if this is the case then it is a bug in the Authors extension.
Greg, could you please explain why they create different user types ? What is the reason for that ? Without knowing this it’s hard to know how to best setup the site.
About the second part.. yes it seemed as a bug but as I see different signup methods create different kinds of users, its a bit confusing all.
Another issue realated to this if I delete a user created with [adverts_add] I have the option to move the ads created by this user to another user, but only as long as this other user was created by [adverts_add]. I’m not able to move the ads to users created with [adverts_author_register]. Now I have to recreate the ads as I move the users as the users created with [adverts_author_register] seem to work better, ref the bug listed above etc.
I think I found another bug in the authors addon:
I created a new user via the Authors addon. In users profile there is a phone number set and it show when click “Edit Profile”. But when creating a new ad this number is not prefilled into the form. If it’s a feature it will be problematic for users that have many ads to put the phone number in every time they publis an ad, for sure they will forget it many times. The email address is displayed in the form, but possible to edit, that’s perfect.6) As admin of the site do I really have no method to change password or other details of “authors” created by the Authors addon? That would not really work as users would always mess something up and we need to help them out.
Also if I delete an “author” the ads belonging to the user is still there. Are there no feature for this?
7) I don’t want the “Profile Page” feature on my site. My site will have both private and professional users and the plugin display Profile page for all users that sign up via Authors Addon. So it will become a mess when also private users create profiles.
So to remove the feature I can disable “Allow changing privacy on registration”. And I can remove the “privacy” meny options with options in the shortcode [adverts_author_manage show_menu].
The problem is that if I do that user still have references to the Profile Page in the message that is displayed in “home” page:
“Your profile page is private… Update privacy settings…” And it links to: “View My Profile Page”.
If I remove the home page user have no info about number of active ads or when ads expire. And I get error message “Panel home does not exist.” after registration etc.
Do I have a better way to solve this or is my best option what I described here?
(Ideally the profile page should only be available for certain groups of users, same as “Featured ads” I think.)
1. what do you mean by different user types? By default, both [adverts_add] and [adverts_authors_register] create a user with role Subscriber unless you have WP configured otherwise.
2. where do you delete the users from wp-admin / Users panel or from wp-admin / Authors panel? If you are deleting from wp-admin / Authors panel then you are deleting only the user public profile, the account will not be removed.
To move the data on Author deletion you would need to delete the user from wp-admin / Users panel.
6. again it seems you are mixing the author public profiles with the user accounts. The public user profile is created when registering with Adverts Authors but this is NOT a user account. The user account that is log in and password is in wp-admin / Users panel, every user created either by WPAdverts or WPAdverts Authors has an entry there, otherwise, he would not be able to login, sorry, i am not sure how else to explain this to you.
In other words for all users created the password you need to change from wp-admin / Users panel, not from wp-admin / Authors.
7. you can remove information about the author profile by adding the code below in your theme functions.php file
add_action( "adverts_authors_tpl_panel_default", "disable_authors_profile_info", 1 ); function disable_authors_profile_info() { global $wpadverts_authors; $obj = $wpadverts_authors->get_shortcode_manager()->wpa_authors_manage; remove_action( "adverts_authors_tpl_panel_default", array( $obj, "default_profile_message" ) ); }
1) That does not correspond with my experience of your plugin. I have installed it on a 100% clean, new and standard wordpress installation and your plugin create the user types in TWO DIFFERENT WAYS depending on that shortcode / addon is used.
If you are sure about what you wrote. Please let me know.. I’ll setup again from zero on a new install. Not an option I’m happy with. But either this will solve the strange things I see or I’ll give up soon…
[adverts_add] and [adverts_author_register] create different user types.. one of them is a “normal” wordpress user and the other is some other custom datatype/taxonomy .. not sure what to call it. In my opinion the documentation of your Authors addon is not very clear on this point.. and that there are two types of users is confusing and I can’t be the only one with this issue.
Can you send me some screenshot which will show the different user types? I am not sure if we are on the same page here at all or if we are looking at the same things.
Or maybe i will ask differently what data do you expect to have in wp-admin panel when:
1. creating user from [adverts_add]?
2. creating user from [adverts_autor_register]?Hi again Greg, now I think I got it. I did not realize that the listings in “Authors” are linked to “Users”, apologies for that. (If the documentation explained this we would have avoided this long thread ;)) But you have a bug in your plugin/addon that confused me and made me think they are two different types of users:
Users who sign up with [adverts_add] can login with the Authors addon and access the dashboard but they cannot update their profile by setting phone number, public name, slogan or description. Your plugin does not give any error when this kind of user try to store this info. Your plugin happily display “Your profile has been saved.” but nothing is actually stored.
Logically as these kind of users are not listed in “Authors” that might explain but.. but from the users perspective and my as well as site admin. It seem very strange that they can login but can’t create/update their profile as other users?
Do we agree that this is a bug, not a feature?
When can it be fixed and the addon updated?
Thanks!
- This reply was modified 6 years, 2 months ago by kamoe.
Hi, yes this actually is a bug in the Authors extension, we will have it fixed in next Authors release, in the meantime, you can email me using the contact form here https://wpadverts.com/contact/ and i will send you back a quick fix.
Hi, good to hear you have a fix for this. I have sent you an email.
- The topic ‘Authors Addon’ is closed to new replies.