By Philippe on Monday, 04 July 2022
Posted in Beta Testing
Replies 5
Likes 0
Views 676
Votes 0
Hello,

Thank you very much for implementing this Feature Request in PayPlans 5 RC1
https://stackideas.com/voices/payplans/item/639-featured-pages-groups-and-marketplace-it

I performed a series of tests. This works well when user upgrade a Plan.

However, I notice a problem.
New MarketPlaces Items created after subscribing to the Plan are not automatically Featured.
Same problem for Pages and Groups.

Concretely if the user subscribes to a Plan attached to the EasySocial Marketplace Submission Restriction App (with configuration in attachment).
Only previous MarketPlaces Items will be Featured.
While the new MarketPlaces Items created after the subscription must also be automatically Featured.

Thank you,
Philippe
Hi Philippe,
While the new MarketPlaces Items created after the subscription must also be automatically Featured.
This is not the behavior of those settings. Those settings take place based on subscription changes.

Subscription status changes to X -> publish/unpublish/feature/unfeature items
·
Monday, 04 July 2022 16:51
·
0 Likes
·
0 Votes
·
0 Comments
·
I see Raymond.

Do you think that for PayPlans 5 RC2 or final version, you could adjust this behavior ?
So that according to the User's Plan, MarketPlace Items which are also created after the Subscription of the Plan will be Featured.

As with the Total Marketplace items parameter, which works when creating a MarketPlace Item.

Because otherwise the user would end up with a mix Featured Items and other UnFeatured Items
While its Plan provides that all its MarketPlaces Items are Featured.

Thank you,
Philippe
·
Monday, 04 July 2022 17:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Philippe,

This is another feature which may/may not be part of the submission restriction app so please start a feature request for it under the voice section.
·
Monday, 04 July 2022 18:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok Raymond.

I understood that those settings take place based on subscription changes.
The "Publish/UnPublish Marketplace items When Subscription" setting makes sense

But the Featured or UnFeatured setting which operates only in subscription changes is more debatable. Because the user is brought to create new Items.
I repeat myself, but if his Plan includes that his MarketPlaces Items be Featured, he would not understand that his new MarketPlaces are not Featured.

Let's imagine a new user who subscribes directly to a Plan where the Pages are expected to be Featured.
He will create his EasySocial Page immediately after subscribing to the Plan. But with the current behavior, his Page will not be featured.
Because the Featured status change will not have been applied.


Wouldn't it be simpler if the current application implemented this ?
Maybe by modifying the following file :
/plugins/payplans/easysocialmarketplacesubmission/easysocialmarketplacesubmission.php
We could load the function just after saving the MarketPlace Item

public function onMarketplaceBeforeSaveUser(&$marketplace, &$user, $isNew)
{

An interesting function is already present in the helper file :
/plugins/payplans/easysocialmarketplacesubmission/app/helper.php

public function toggleFeatured($isFeatured, $marketplaceIds)
{
$esLib = PP::easysocial();

$result = $esLib->appToggleMarketplaceFeatured($isFeatured, $marketplaceIds);
return $result;
}


To tell the truth, I had already created a feature request about this in March 2021.
https://stackideas.com/voices/payplans/item/564-featured-pages-and-marketplace-items-for

I allow myself to insist because the final version of PayPlans 5 is not yet finalized, and we are in the Beta Testing category

Could you please discuss this between yourselves ?

Thank you,
Philippe
·
Monday, 04 July 2022 21:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Philippe,

This has already been discussed with the developers and there are no plans to add this currently. Feel free to modify the files you mentioned if you urgently need the functionality on your site.
·
Tuesday, 05 July 2022 11:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post