Forum Replies Created
- AuthorPosts
- sdel_nevoParticipant
Hi Guys
that’s brilliant
will you also resolve the βSorry, you are not allowed to attach files to this post.β error when these roles try to add media
Steve
September 14, 2019 at 6:14 pm in reply to: Google Cal Sync – WCFM β Marketplace, WC Appointments for vendors and stuff #81593sdel_nevoParticipantHi Mate
the google calendar connection can be found under the user’s profile section
as per the screenshot
but first, you will need to connect your account in the woocomerce settings section
Steve
Attachments:
You must be logged in to view attached files.September 14, 2019 at 12:28 pm in reply to: Google Cal Sync – WCFM β Marketplace, WC Appointments for vendors and stuff #81570sdel_nevoParticipantHi BTK
yes, the WC appointments plugin integrates with google calendar so that staff can sync there calendar for bookings, this sync can be set to oneway only your store to google, or two way syncing your store to google and from goole to your store.
however
This does not work out of the box for vendors, to achieve this vendor need to be given staff role, this can be achieved with this code snippet
//Calendar Sync For vendors - Add Straff Role add_action( 'wcfmmp_new_store_created', function( $member_id, $wcfmmp_settings ) { $member_user = new WP_User(absint($member_id)); $member_user->add_role('shop_staff'); update_user_meta( $member_id, '_wcfm_vendor', $member_id); }, 50, 2 );
however
I have found an issue with the code above, more details can be found with this link
https://wclovers.com/forums/topic/issue-with-new-vendors/so I would advise against using this as a workaround until it’s been resolved
Steve
sdel_nevoParticipantHi Guys
i have replied to your email you sent me via the priority support link at 06:44 this morning
steve
sdel_nevoParticipantHi
I’ve updated and have not had any issues so far
steve
sdel_nevoParticipantHi Mate
You’re most welcome π
and you
Steve
sdel_nevoParticipantHi
yes the captcha is set up on the registration form as per the screenshot
its also on the ask a question form tohave fun
Steve
Attachments:
You must be logged in to view attached files.sdel_nevoParticipantHi Guys
I know you are extremely busy guys, but have you been able to look into this issue?
when adding
staff members
delivery drivers
affililiates as shown here https://wclovers.com/forums/topic/affiliate-profile-image/all these user roles are able to access all the media on the site, when trying to upload an image and selecting “Media Libary”
however, they are not able to upload images to there profile, product image or any location as they get “Sorry, you are not allowed to attach files to this post.β
I have commented out of the site the code above that enabled vendors to have shop staff role so the two-way google calendar sync works, if I comment that back in vendors have the same problem when new one’s sign up
Please please can you take a look at this
I have updated all plugins to the latest versions
Steve
sdel_nevoParticipantHi
try this plugin
https://wordpress.org/plugins/advanced-nocaptcha-recaptcha/
works at treat for me π
steve
sdel_nevoParticipantHi Guys
I know you are very busy, but have you been able to look into this?
Any vendors that sign up have the issues below
1. they can see all the media on the site when he should only see his own β even if he has not uploaded any images yet!
and
2. they cannot upload any images to his logo, store header, products or profile image as I get βSorry, you are not allowed to attach files to this post.β
you have access with the login details for my testing site provided in the above private post
Please advise
Steve
sdel_nevoParticipantHi guys
Do you know when the update will be released to resolve the issue posted above?
I know you guys are really busy
Steve
sdel_nevoParticipantHi guys
The forum says you replied, but noth8ngs showing here
Steve
sdel_nevoParticipantThis reply has been marked as private.sdel_nevoParticipantThis reply has been marked as private.sdel_nevoParticipantThis reply has been marked as private.sdel_nevoParticipantThis reply has been marked as private.sdel_nevoParticipantHi Guys
really sorry to keep bothering you
when I comment out the code to give shop vendors the staff role aswell so the google calendar two-way sync works for shop vendors
//Calendar Sync For vendors - Add Straff Role add_action( 'wcfmmp_new_store_created', function( $member_id, $wcfmmp_settings ) { $member_user = new WP_User(absint($member_id)); $member_user->add_role('shop_staff'); update_user_meta( $member_id, '_wcfm_vendor', $member_id); }, 50, 2 );
the system works correctly
I have commented out this code as it appears to be causing the issue
Steve
sdel_nevoParticipantHi Guys
I have been doing some further testing, if the site admin creates a new user and gives them store vendor role (from the WordPress backend) but does not assign this vendor to any membership plan (from WCFM membership), this new vendor can log in and upload images and they cannot see all the media on the site only there own.
which is how it should be.
As soon as the vendor is assigned a membership plan vis the (WCFM Membership plugin) this vendor can now no longer upload any media to products, profile or store logo or header images. and can also see all media when selecting media library.
It’s pointing to the update to WCFM Membership β WooCommerce Memberships for Multivendor Marketplace 2.6.6 as the problem.
this is a big problem for meSteve
sdel_nevoParticipantThis reply has been marked as private.sdel_nevoParticipantThis reply has been marked as private.sdel_nevoParticipantHi
Yeah sure have π I dropped you an email love the new look
Steve
sdel_nevoParticipantHi guys
Thatβs fantastic π
Many thanks for this. Itβs amazing that you guys openly provide the code for your users to change the software to fit there needs,
If I could I would change the 5 star review I gave to 10 stars
To be honest I think you guys are the most accommodating software company I have ever used
Steve
sdel_nevoParticipantHi Guys
I can’t remember if I updated you about this via E-Mail.
this is working great now
many thanks
Steve
sdel_nevoParticipantHi Guys
been looking at this plugin, it looks really good, the only problem with it is, it hides the “Add Category” functionality
is it possible to add that?
Steve
Attachments:
You must be logged in to view attached files.sdel_nevoParticipantFantastic π
- AuthorPosts