Jump to content

Licening Add-On, can it be used to license smarty based templates?


Damainman

Recommended Posts

Greetings,

 

I apologize if this is in the wrong forum but, I was wondering if anyone has successfully used the licensing system to license things such as smarty templates.

 

For example, if I create a theme for WHMCS and sell it to other people can I integrate a license check into it?

 

I ask because there are several 3rd party scripts that I use which utilize smarty templates in a similar fashion as WHMCS and if I can accomplish this for WHMCS, i'm sure I can do the same for these other systems.

 

Quick links:

 

1. WHMCS licensing add-on:

- http://whmcs.com/licensingaddon.php

 

2. Smarty templates:

- http://www.smarty.net

 

3. ioncube patch for allowing smarty to read encoded files:

- http://www.ioncube.com/sa_encoder.php?page=smarty_patch

 

I'm very open to ideas, suggestions, critiques, etc... Anything to point me into the right direction or clarify things like what can or can't be done.

 

This is my first time trying to accomplish the licensing of a theme.

 

Thank you in advance for any replies Smile.

*Crosses my fingers*

Link to comment
Share on other sites

  • 1 month later...

Hi, we just installed WHMCS's licensing code in our new payment gateway module. It works great because our payment gateway addon was written in PHP. So for the short answer YES, if your smarty template has been coded in PHP as the on-line documentation says (see below).

 

Other formats I'm not sure of at the moment. As the WHMCS sample licensing code is included with your package on purchase, but you will still need to make some changes to this sample code to make it work just for your unique situation as we had to for our module.

 

Hope this helps.

 

 

Compiling: Smarty compiles templates into PHP code behind the scenes, eliminating run-time parsing of templates.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated