Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 15th May 2013, 12:07 AM   #1
VIP Warrior
War Room Member
 
Joseph Then's Avatar
 
Join Date: 2005
Location: Singapore
Posts: 1,993
Thanks: 39
Thanked 351 Times in 215 Posts
Default
Creating license in wordpress plugin
Share on: 
fb share twitter share gplus share more share

I would like to release a plugin but I would want to put in licensing.

I would envision it as, upon purchase, my system will generate a code. The user will install the plugin and use the code. This code will be sent to my server, along with the URL sent from.

Is there such code available?

Joseph Then is offline  
Unread 15th May 2013, 01:25 AM   #2
ResponsiveDesignTest.Net
Registered Member
 
Michael71's Avatar
 
Join Date: 2011
Location: Rostock, Germany
Posts: 829
Thanks: 106
Thanked 225 Times in 194 Posts
Default
Re: Creating license in wordpress plugin
Share on: 
fb share twitter share gplus share more share

http://www.warriorforum.com/warrior-...tion-here.html

You might have to ask shermanf

HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
---
Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu
Michael71 is offline  
Unread 15th May 2013, 11:03 AM   #3
Active Warrior
 
Join Date: 2007
Location: , , USA.
Posts: 62
Thanks: 0
Thanked 5 Times in 5 Posts
Default
Re: Creating license in wordpress plugin
Share on: 
fb share twitter share gplus share more share

the best way i think is to use an API key system and then encode your PHP using something along the lines of Zend Guard...

mariya20 is offline  
Unread 15th May 2013, 11:31 AM   #4
Experience WordPress Dev
 
Satrya's Avatar
 
Join Date: 2011
Location: Bandung, Indonesia
Posts: 42
Thanks: 11
Thanked 8 Times in 8 Posts
Default
Re: Creating license in wordpress plugin
Share on: 
fb share twitter share gplus share more share

Try easy digital downloads plugin and purchase the extension _https://easydigitaldownloads.com/extension/software-licensing/
Satrya is offline  
Unread 15th May 2013, 11:32 AM   #5
Warrior Member
Registered Member
 
Join Date: 2013
Posts: 10
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Re: Creating license in wordpress plugin
Share on: 
fb share twitter share gplus share more share

Originally Posted by mariya20 View Post

the best way i think is to use an API key system and then encode your PHP using something along the lines of Zend Guard...
Zend Guard is no good. Ioncube is what you're looking for. Also, this code isn't very hard to write either:

$code = $_REQUEST['code'];

if (empty($code)) exit;
//You could validate it for length and other things here..

$response = file_get_contents('http://yoursite.com/somefile.php?code=' . $code);

//Now do something with the response, for this example, I'll write it to a text file
file_put_contents($response, 'response.txt', FILE_APPEND);
P4tch is offline  
Unread 15th May 2013, 02:17 PM   #6
ResponsiveDesignTest.Net
Registered Member
 
Michael71's Avatar
 
Join Date: 2011
Location: Rostock, Germany
Posts: 829
Thanks: 106
Thanked 225 Times in 194 Posts
Default
Re: Creating license in wordpress plugin
Share on: 
fb share twitter share gplus share more share

Guys, please read the post completely.

Originally Posted by Joseph Then View Post

I would envision it as, upon purchase, my system will generate a code. The user will install the plugin and use the code. This code will be sent to my server, along with the URL sent from.

HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
---
Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu
Michael71 is offline  
Unread 16th May 2013, 09:00 AM   #7
ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ
War Room Member
 
RobinInTexas's Avatar
 
Join Date: 2008
Location: Texas
Posts: 2,138
Thanks: 243
Thanked 453 Times in 382 Posts
Blog Entries: 3
Lightbulb
Re: Creating license in wordpress plugin
Share on: 
fb share twitter share gplus share more share

Most if not all licensing schemes require encrypted of obfuscated code which many consider a bad thing. I rarely, almost never, will even consider a plugin or theme that incorporates it.

Better would be to include automatic update from your server and registration of the sites required where installed. That way pirates would be stuck with obsolete, maybe buggy, code in the future.

Robin


...Even if you're on the right track, you'll get run over if you just set there.
RobinInTexas is offline  
Closed Thread


Bookmarks

Tags
creating, license, plugin, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:12 AM.