Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End how can i protect my template from thiefs …?

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #36707
    dagash
    Participant

    i designed many template any themes for wordpress and i want to distribute it with my rules , so i need to protect it from theifs ,,

    i need to make a template working on specified sites thats buying it from me ..

    how can i do that …

    #96887
    chrisburton
    Participant

    You would need to license your themes. Try http://creativecommons.org/

    #96889
    Paulie_D
    Member

    If someone chooses to ignore the licencing rules they are obviously subject to penalties if he has the resources to both track them down and enforce any judgement.

    Frankly, it seems to me that he’d be better off selling them through someone like Themeforest or the like. At least he’d be assured of getting paid.

    I don’t there is anything you can code that would stop them using an unlicensed copy though.

    #96890
    chrisburton
    Participant

    @Paulie_D summarized it well.

    #96916
    dagash
    Participant

    my idea that i working on it now is to make a code that will ba generated from a program that i made , then when any clients apply for a template the program generate a code on somewhere in some files that will be confirmed by another function i added it on the template files ..

    the generated code include :

    – client site .
    – starting date ,
    – id number , he can get it by us ..

    but also it is not fully protected …

    my friend suggest me to apply a trick with generating code, by replacing the most comment function i used in a code …

    like :


    function encode($file)
    {
    $func = array(
    'fopen',
    'class',
    'echo',
    'if',
    'else',
    'elseif',
    'for',
    'while',
    'foreach',
    'function',
    'include',
    'print',
    'eval',
    'file_get_contents',
    );


    $enc = array(
    '#30#',
    '#31#',
    '#32#',
    '#33#',
    '#34#',
    '#35#',
    '#36#',
    '#37#',
    '#38#',
    '#39#',
    '#40#',
    '#41#',
    '#42#',
    '#43#',
    );


    $str = array(
    ';',
    '"',
    ''',
    '==',
    '=',
    '===',
    '>',
    '>=',
    '<=',
    '!',
    '!=',
    'and',
    'or',
    'xor',


    '||',
    '&&',
    '{',
    '}',

    );


    $str2 = array(
    '(ح)',
    '(ا)',
    '(ز)',
    '(م)',
    '(ع)',
    '(ل)',
    '(ي)',
    '#100#',
    '#101#',
    '#102#',
    '#103#',
    '#104#',
    '#mcvh#',
    '#ZZZ#',
    '^>>^',
    '~<<~',
    '>?":',
    'dfd :?>',

    );


    $out =preg_replace('//',NULL,file_get_contents($file)) ;
    $out =str_replace($func,$enc,$out ) ;
    $out =str_replace($str,$str2,$out) ;
    $out =preg_replace('#$([a-zA-Z0-9]+)#',"@[email protected]",$out) ;

    $op=fopen("$file",w);
    fwrite($op,$out);
    fclose($op);
    }

    then call :


    encode("file path");
    #96919
    sliver37
    Member

    Not a good idea in my opinion. I mean that in the least offensive way possible.

    What you are trying to do is absolutely justifiable and good, but unfortunately thieves will always steal it if they want it enough.

    You will end up making it harder to maintain for yourself and others.

    Just do your best to create beautiful themes and pay the bills ;)

    #96932
    ccc630
    Member

    In the Sitepoint book ‘Build Your own Wicked WordPress Themes’, Jeffrey Way — who ran ThemeForest for two years — says: “Piracy is simply a cost that must be factored into the equation…While it does help to send takedown notices to sites like RapidShare, you’ll never win this battle.” There’s more, which basically boils down to: if you want people to pay, you need to offer outstanding documentation and support that they won’t get with a pirated version.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Back End’ is closed to new topics and replies.