gtsiokos
Forum Replies Created
-
Hi,
Instead of restricting the post, you can simply restrict the content of it by using the following shortcode
[groups_member group=”YourGroupName”]
If you want to see the content, please register or something appropriate.
[/groups_member]That way the post will be visible but not it’s contents.
Kind regards,
GeorgeForum: Reviews
In reply to: [Affiliates] Affiliate maintaining or creating?Hi BrianHealthyGreen,
Yes, with Affiliates plugin you can create and maintain an affiliate program.
As for e-commerce solutions and integrations you can check the documentation page for Affiliates free version here.
For more advanced features on Affiliates also check the premium versions of the plugin, Affiliates Pro and Enterprise, alongside with the feature comparison chart here.Kind regards,
GeorgeForum: Plugins
In reply to: [Groups] SEOHi Borghees,
The best option for SEO is 301.
Also, you can use the free plugin from itthinx called Groups 404 RedirectKind regards,
GeorgeForum: Plugins
In reply to: [Affiliates] 404 Page ErrorHi draznilka,
Please try to Generate once more your Affiliates Area page.
From your description, there seems to be a problem with a broken/missing shortcode.Kind regards
Forum: Plugins
In reply to: [Groups] Error on Media Library Page?Hi mvarrieur,
Have you tried disabling all your plugins and then activate them one by one as this sounds like a plugin conflict.
Cheers
Forum: Plugins
In reply to: [Groups] Add to Group from PurchaseHi again,
Sorry for the follow-up comment but i’ve found something better to suggest.
You can use the hook woocommerce_order_status_completed, so when the order is complete the user involved will be added to a group.Try this snippet below and don’t forget to change product and group ids to your preference.
add_action( 'woocommerce_order_status_completed', 'gt_add_user_to_group' ); function gt_add_user_to_group( $order_id ) { $order = new WC_Order( $order_id ); $my_user_id = $order->user_id; $items = $order->get_items(); $group_id = 4; foreach ( $items as $item ) { if ($item['product_id']==2399) { Groups_User_Group::create( array( 'user_id' => $my_user_id, 'group_id' => $group_id ) ); } } }
Cheers
Forum: Plugins
In reply to: [Groups] Add to Group from PurchaseHi pmagony,
You can use the following snippet in your child theme’s functions.php.
To be honest, i haven’t tested it but it should do the job. In product_id you should put the id of the product you are interested and in $group_id the id of the group you want to add the user to.
add_action( 'woocommerce_payment_complete', 'gt_add_user_to_group', 10, 1); function gt_add_user_to_group( $order_id ) { $order = new WC_Order( $order_id ); $myuser_id = $order->user_id; $user_info = get_userdata( $myuser_id ); $items = $order->get_items(); foreach ( $items as $item ) { if ($item['product_id']==24) { Groups_User_Group::create( array( 'user_id' => $user_id, 'group_id' => $group_id ) ); } } }
Kind regards
GeorgeForum: Plugins
In reply to: [Groups] [groups_join] // direct to some page/url after Button-ClickHi Rainer,
You can check the hook groups_created_user_group, the documentation about it is here.
You can build your own custom function to redirect the user to a specific page when the hook is triggered.
Kind regards,
GeorgeForum: Plugins
In reply to: [Affiliates] Need Help For Refer Friend ?Hi pitsindore,
I suggest you to check the documentation here to set an amount for the affiliate when he/she refers a new user.
You can share the affiliate link that you find in https://www.pandititsolutions.com/demo/projectbid/affiliate-area/ when you login, so when someone clicks on the affiliate link and registers to the site, then the affiliate gets the amount that is configured on the first step i mentioned above.Cheers
Forum: Plugins
In reply to: [Groups] group page accessHi BimCreate and sattler360,
@bimcreate do these: create let’s say Group 1 with capability 1 and add this capability to all of your pages and posts, apart from the page you are interested in. Then, create another group let’s say Group 2 with capability 2 and add capability 2 only to the page you are interested in.
@sattler360 try adding the capability named edit_others_pages to the group Special
Cheers
Forum: Plugins
In reply to: [Affiliates] Give Bonus to affiliate or Manual ReferalSorry for my mistake in my previous post but you can add a referral manually, simply if you visit
Affiliates>Referrals there is a button at the top named +Add.
Press this button and you can assign a referral manually to the affiliate you choose. There are several options there check them out, but there are no notification options so you should notify the affiliate manually.Cheers
Forum: Plugins
In reply to: [Affiliates] Give Bonus to affiliate or Manual ReferalHi ghafoor777,
Currently you can neither assign a bonus to an affiliate, nor can you manually add a referral to an affiliate.
If you want to do it, you can add a new fake user/referral by registering to your site from the affiliate’s link, or by making a fake order.Cheers
Forum: Plugins
In reply to: [Affiliates] no currencyHi draznilka,
Please make sure that you have set an amount other than 0 at the Amount field, under Dashboard>Affiliates>User registration.
If the Amount field is set to 0 then when a new user is referred, the affiliate doesn’t get a commission and in Affiliates>Totals you see nothing under Totals and Currency columns.Cheers
Forum: Plugins
In reply to: [Groups] Getting all group names errorHi tuesdave,
Try using
$groups = Groups_Group::get_groups( );
instead of$groupsPlugin = new Groups_Group(); $groups = $groupsPlugin->get_groups();
because get_groups function is a static member of the Class.
Cheers