Codeinwp / tweet-old-post

Plugin to tweet about your old posts to get more hits for them and keep them alive.
GNU General Public License v2.0
12 stars 16 forks source link

Removed some free features for new users #975

Closed girishpanchal30 closed 2 months ago

girishpanchal30 commented 3 months ago

I've disabled some free features for new users only, now premium users can use those features.

Close Codeinwp/tweet-old-post-pro/issues/523

pirate-bot commented 3 months ago

Plugin build for 84d7961e3ccfb3383ff0c6a7a9849594aed786b6 is ready :bellhop_bell:!

rodica-andronache commented 2 months ago

@girishpanchal30 what is considered a new user? I've tried on multiple newly created sites and I can't see any of the fields removed, or marked as PRO. I don't know if I'm missing something https://vertis.d.pr/i/azFI3y

Thanks!

girishpanchal30 commented 2 months ago

@rodica-andronache I've used this option to identify new users. https://github.com/Codeinwp/tweet-old-post/pull/975/commits/73729499620b26880266bb68e5d442a55e61495f#diff-fcd6c0c59094f9f01bad1a79875057bfc1becc743535d2cdb5c90f7e2bedd202R392

selul commented 2 months ago

@girishpanchal30 let's use the last_install_time, if the time - last_install_time is < 1h is considered new.

girishpanchal30 commented 2 months ago

@rodica-andronache @selul I've added a new option to identify new users based on the last install time. Please recheck with the latest build zip.

rodica-andronache commented 2 months ago

@girishpanchal30 I've tried again, on a fresh instance but it doesn't work for me. The options are still there, in the free version. What else should I try?

girishpanchal30 commented 2 months ago

@rodica-andronache Can you please share your test instance details here?

rodica-andronache commented 2 months ago

@girishpanchal30

https://glowing-stoat-d8ecc5.vertisite.cloud/wp-admin
user: rodica
pass: g0L@K8ATFM)qXFOErEsJ6UgG
girishpanchal30 commented 2 months ago

@rodica-andronache It seems issue with the -1 license, now it is fixed, please check with the latest commit.

rodica-andronache commented 2 months ago

@girishpanchal30 On a fresh site ( so this is a new user ) everything worked well. There are just two things to mention:

To test what happens to an older user, I had ROP on a site, installed for more than 1h, I deleted it and installed this new version. But the features are still missing, like this would be a new user as well. Is there something I'm missing? Here is the instance:

https://rop-test.vertisite.cloud/wp-admin/
user: rodica
password: sfE@sWP(Iyd7WVK$Fifwti*k
girishpanchal30 commented 2 months ago

@rodica-andronache Fixed all 3 mentioned issues with the latest commit, please recheck with the newest build zip.

rodica-andronache commented 2 months ago

@girishpanchal30 the first two issues are fixed. But the third one is still happening for me. Let me know if there's something I can do on my side

selul commented 2 months ago

@rodica-andronache can you follow the next testing case on a Fresh instance:

Install current version of rop from wporg. Update install time to 1 day before. Download the zip from here and install it. Check if the features are preserved.

The reason why is happening is because of the way you are testing by starting from the new version and rollback.

rodica-andronache commented 2 months ago

@girishpanchal30 it works now, thank you!

pirate-bot commented 2 months ago

:tada: This PR is included in version 9.1.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: