Jump to content


Photo
- - - - -

define DMS license / activation key in wp-config.php

wp-config

  • Please log in to reply
7 replies to this topic

#1 Clifford P

Clifford P

    Advocate

  • Members


  • 379 posts
  • LocationOklahoma
  • Country: Country Flag

Posted 23 August 2013 - 05:15 PM

Please add the ability to activate DMS via wp-config.php, as was possible with PageLines Framework ( https://github.com/p...=PL_GLOBAL_USER ).

 

This is very handy to have for multisite and when messing with many local / development sites.

 

Thank you.


  • Blackice and ketri like this

#2 Blackice

Blackice

    Member

  • Members

  • 25 posts
  • LocationUSA | Northern New Jersey
  • Framework Version:2.4.4 | DMS
  • Country: Country Flag

Posted 23 August 2013 - 06:27 PM

Excellent point. Would improve deploying multiple "clone" installs for development and QA work when using Duplicator or ManageWP or any automated process.


  • ketri likes this

#3 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 23 August 2013 - 06:39 PM

You cant activate via wp-config, its all done with ajax when you click activate, you can however hide the account tab once it is activated.



#4 Clifford P

Clifford P

    Advocate

  • Members


  • 379 posts
  • LocationOklahoma
  • Country: Country Flag

Posted 23 August 2013 - 09:45 PM

Thanks for the quick reply. I guess just leaving it here as a persistent request. Lump it in with this previous discussion item: it'd be nice to have an API / License Key generator so each client site can have their own and so they can be revoked one by with a Key Manager in my-account, like my Envato account.



#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 27 August 2013 - 05:10 PM

I'll bounce that one around Clifford.  But keep in mind, when a customer in Envato gets your generated key, they've made a purchase.  So, if we did this, your customers would have to purchase the license.  Theoretically, they could do that now.  You could build the site on your license, then get them to purchase the basic license from PL.com, and if I recall, earn either Karma Points or affiliate fees for the sale.



#6 Clifford P

Clifford P

    Advocate

  • Members


  • 379 posts
  • LocationOklahoma
  • Country: Country Flag

Posted 30 August 2013 - 11:36 PM

no, at envato, you can generate license multiple license keys per product (e.g. for a separate client) -- at http://themeforest.net/user/USERNAME/api_keys/edit (links to http://marketplace.e...i/documentation which I have not read)

Same thing at Amazon (AWS) and other places.


  • beardedavenger likes this

#7 awshimagmailcom

awshimagmailcom

    Member

  • Members
  • PipPip
  • 12 posts
  • Country: Country Flag

Posted 23 January 2014 - 02:24 AM

You cant activate via wp-config, its all done with ajax when you click activate, you can however hide the account tab once it is activated.

 

Simon_P, how can I hide the account tab so my customers can't mess with this configuration (or copy the activation email/code)?



#8 James B

James B

    Advocate

  • Moderators
  • 4979 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 23 January 2014 - 07:33 AM

Hi there, please see - http://www.pagelines...oolbar-items-2/

 

Cliff created a plugin which will enable you to do this, it can be downloaded from the link above.