gtsiokos
Forum Replies Created
-
Forum: Plugins
In reply to: [Affiliates WooCommerce Light] Payout as store creditHi there,
The closest I can think of that does what you’re looking for is this addon found here:
Kind regards,
George
Forum: Plugins
In reply to: [Groups] To exclude a groupHi there,
What you can do is use a single page instead and enclose the content using the shortcodes
[groups_member?group=”Registered”]Registered users will see this content[/groups_member]
[groups_non_member?group=”Registered”]Visitors will see this content[/groups_non_member]
Also, the same result can be achieved using the equivalent Blocks Groups Member and Groups Non-member.
This approach is preferable because the menu item and page version for visitors, will always be visible in the menu and accessible by everyone.
Reference:
- [groups_member] – https://docs.itthinx.com/document/groups/shortcodes/groups_member/
- [groups_non_member] – https://docs.itthinx.com/document/groups/shortcodes/groups_non_member/
- Blocks – https://docs.itthinx.com/document/groups/blocks/
Kind regards,
George
Forum: Plugins
In reply to: [Groups] Stale cache on wp_count_postsHey Alex,
Just to be sure I’ll try to replicate the setup locally on a test server. If there’s anything specific about the setup of OC plugin that I need to keep in mind, please let me know.
For the counts I wouldn’t use a TTL expiry because an event-driven expiry has a bigger significance in this case, but a test will show us what can be going wrong with the cache contents.
Kind regards,
George
Forum: Plugins
In reply to: [Groups] Stale cache on wp_count_postsHey Alex,
The counts are adjusted in the function you already found here and the cache contents are checked using the WP Cache API that’s why I mentioned earlier if and how does the OC you’re using invalidate the cache contents.
Perhaps it would be useful if you ask the OC developer on their caching strategy because since there is data found in the cache, then either something missing on the cache setup, or the data won’t invalidate when it should, according to your findings.
Kind regards,
George
Forum: Plugins
In reply to: [Groups] Remove automatic registered group on account creationHi Daniel,
The Registered group is added and maintained by default, but cannot be removed. What you can do is avoid using it for content restrictions and instead create your own groups as described in the documentation.
As for the second part of your question, once you have modified your registration form and added a group selection field, the user can be added to the selected group, using the first example found here: https://docs.itthinx.com/document/groups/api/examples/
Groups_User_Group::create( array( 'user_id' => $user_id, 'group_id' => $group_id ) );
Kind regards,
George
Forum: Plugins
In reply to: [Groups] Stale cache on wp_count_postsHey Alex,
Based on your findings, is it possible that your Redis cache implementation doesn’t support event-triggered invalidation? Since Groups finds a valid cache entry for post counts that is not correct and you notice the counts to be wrong over time, then I think that the invalidation strategy being used is only time-based, meaning that the contents will be emptied after a set period of time.
Kind regards,
George
Forum: Plugins
In reply to: [Affiliates WooCommerce Light] physical discount cards as referralsHi there,
The features you’re looking for are supported by the premium versions of Affiliates plugins. Please have a look at the Affiliates plugin page for more information on the supported features.
The discount feature you’re mentioning can work exactly as described, using WC coupons. At the same time these discount coupons can be assigned to your affiliate(s) and generate referrals, commissions for them when used in orders.
All the commission earnings are assigned to the respective affiliate that generated them, and you can choose how and when to pay your affiliates. These totals can be paid in bulk via payment gateways that support bulk payments.
Kind regards,
George
Forum: Plugins
In reply to: [Groups] Custom Field for GroupPerfect!
Forum: Plugins
In reply to: [Groups] Custom Field for GroupYes, I see and since you have the column added in the database, you can use the groups filter hook to add fields in the admin page:
and the hook to process your new data on success:
Also the equivalent filter hook to edit these new fields
and the hook to process the modified data on success:
Plugin documentation reference can be found here:
Kind regards,
George
Forum: Plugins
In reply to: [Groups] Custom Field for GroupHi Marcus,
Groups is not a custom post type, instead it is using its own db tables.
Perhaps if you may provide some more details on what you’re trying to do, we might able to help you further with your request.
Kind regards,
George
Forum: Plugins
In reply to: [Groups] Fatal Error on Login – using Groups PluginFollowing-up on this, if you like to share some more details on your setup, we could try and replicate it locally to check if the issue occurs on our side as well.
Which version of ACF do you use and what is the PHP version currently running on your hosting server?
Kind regards,
George
Forum: Plugins
In reply to: [Groups] Fatal Error on Login – using Groups PluginHi there,
The error you get mentions an undefined WP Core function. However, as a core function it is already defined so the error relates to an issue in your installation or most probably a conflict. Groups plugin is only calling this function when needed, this is why it appears in the trace.
I would recommend you to disable your plugins one-by-one until you reach the conflicting one. Also, apart from your plugins it would also be useful to temporary switch to a different theme.
Kind regards,
George
Forum: Plugins
In reply to: [Affiliates] Forminator integrationHi Richard, you’re welcome.
You’re actually the first to mention Forminator Forms and an integration with Affiliates. Especially for that plugin I wasn’t even aware of its existence prior to your topic.
Also worth mentioning, that you can always create your own integration, using the affiliates_suggest_referral() when the form is submitted. As you can imagine, this function allows you to record a referral in the system and grant your affiliate a commission for this referred form submission.
Kind regards,
George
Forum: Plugins
In reply to: [Search Live] Store Search ItemsHi there,
I’m afraid that the plugin doesn’t store any kind of data related to searches submitted through its forms.
Can you share some further details on the data you’re looking for? Are you interested in a list of search terms submitted, or a complete report including search terms alongside with their possible matches and their counts? I’m asking for those details in order to have a better overview of this suggested feature.
Kind regards,
George
Forum: Plugins
In reply to: [Groups] Creating a Custom Menu Based on User GroupsHi there,
I’ve run your code locally without issues. When I add my current user to the group with id 2, the menu item appears and vice versa.
Perhaps this is what you should check, if you go to Groups > Groups, make sure that you have a group with id 2.
Then go to Users > All users, select your current user and via the Bulk actions, add/remove this user from that group.
Reference: Bulk actions
Kind regards,
George