Mxlaxe
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Membership] Login sync issueReplying to myself: I somehow managed to find a way to make this work.
After logging in with the wp_signon() function, I called the following hook like so:
$myuser = null; if ( class_exists('\\SimpleWpMembership')){ $myuser = do_action( 'swpm_login', $user, $pwd, true); }Then when I try to go to the profile page, I can access it without being asked to login like before.
However, the plugin’s API is not very clear to understand and the separate user management from the WP built-in user system adds a layer of complexity.
Forum: Plugins
In reply to: [Simple Membership] Login sync issueAny help on this particular problem would be highly appreciated.
Let me know if you could identify the issue.
ThanksForum: Plugins
In reply to: [Simple Membership] Login sync issueNo there is none installed.
The call to wp_signon() is made like this: through an ajax call first, then the php function runs the wp_signon(), and finally the page is reloaded on success.
I am just wondering how does the sync process work. Does it hook into the core login function ? Why isn’t the sync working in this scenario ?
Ok thank you for the reply, I will modify it to suit my needs.
Although for future updates, that would be great to implement more hooks such as filters which would give more controls for customization.
WP 5.3.2 (latest)
PHP 7.4Forum: Themes and Templates
In reply to: [Neve] Boxed layoutSweet! I will look into that 🙂
Thank you for the great theme and support.
@drazenbebic
Awesome! thank you for the great work into this community.I understand, no pressure though. I just asked to have a rough idea of what to expect. Otherwise I would figure it out myself.
I don’t mind using a DEV branch as long as I can work with it. Then I can wait for a stable version at a later time.
Thank you
That could work, as long as I can pass the domain name from either the headers or a custom field within the data array.
Now any idea how much time would this extra functionnality require for you ? You may be busy these days and this may not be your priority.
I just need to figure this out quickly so that I can implement it in my application or not. So far your plugin has been the best I have found. Well coded, integrates nicely with woocommerce, and I would be happy to stick with it if I could.
Cheers!
- This reply was modified 6 years, 8 months ago by Mxlaxe.
Thanks for the fast reply!
I was thinking of adding an extra field to your database and store each domain per license as a json array or add another table…
The linked domain would simply be fetched from the http headers from the GET request. And if not possible for some reason, it could be added programatically in the “data” array using some php before sending the actual request.
Anyhow, the user would not have to do anything.
I checked your new version, it works well and I’ve started using it to make it work as I wished.
However, I can activate a license multiple times from the same referrer.
If a license can be activated 10 times, then the same referrer can activate it 10 times, which is not right. I would like to bind 1 activation = 1 domain name.
Basically 1 license key valid for 10 activations should accomodate 10 different websites.I have checked your code and your database structure, and what I am looking for does not seem possible for now. Any thoughts about it ?#
Thank you
Hey Drazen,
Thank you again for the detailed answer! I will sure rate your plugin after I use the upcoming version.
So if I understand it should be doable without too much trouble. I will try to implement it soon and let you know how it worked out 😉
I’m quite excited to have it all working as this is the missing piece of the puzzle to complete my project!
Hey thank you for your reply, I’m looking forward to seeing about the new version.
As for my “logic”, the point is not to have a 100% crack-proof software. As you know it, any wordpress plugin is sold with its source code and anyone with the required skills can “null” your plugin.
For my use, the main point of the licensing system would be to allow the customer to be provided updates and support for a certain period of time.
As far as I know, this is how most of the paid wordpress plugins work. There always will be a handful of people that will get around your software’s protections but I am willing to accept it. Plus, they won’t get to download the latest updates.
So my question is, can your plugin fit the following scenario ?
1. The customer buys a license key from my website
2. The customer downloads my product and installs it on its wordpress website
3. The customer inputs the license key in the admin and sends a request through the API to validate it.
4. The API sends back a positive validation
5. The customer is happy and can fully enjoy the plugin.
—AFTER THE LICENSE EXPIRES
6. The customer cannot download updates anymore but still can use the plugin he bought.That’s a shame this functionnality isn’t packed by default considering the script is already present but anyways I found a plugin that does the job:
https://wordpress.org/plugins/advanced-woocommerce-product-gallery-slider/
One more for those interested:
https://desirepress.com/plugin/woocommerce-product-images-slider/Thank you!
Forum: Plugins
In reply to: [Site Reviews] Add a custom field to the form ?That’s a good lead anyway, thank you!