1. #1
    Avatar von Killerspider
    Registriert seit
    19.11.2011
    Beiträge
    387
    Thanked 169 Times in 128 Posts

    Standard Kopierschutz umgehen

    Hay ich hab nen Wordpress Themes und wollt das Footer ändern doch der Kopierschutz vom Themes ist bischen kniffliger als ich dachte

    ich suche jemand der sich das mal anschaut und mir das mal entfernt bitte per pn meldenthx

    ps: hoffe das ist richtiges sub für ^^

  2. #2
    Avatar von Comu
    Registriert seit
    18.11.2011
    Beiträge
    772
    Thanked 753 Times in 363 Posts

    Standard Kopierschutz umgehen

    Jo, ein paar Infos wären ja mal hilfreich. z.B. was für ein Schutz? Code?

  3. #3
    Avatar von Killerspider
    Registriert seit
    19.11.2011
    Beiträge
    387
    Thanked 169 Times in 128 Posts

    Standard Kopierschutz umgehen

    Comu hatte gerade nicht wirklich zeit & Ali ist gerade gescheitert hier mal die functions.php wo der schutz drinne ist

    PHP-Code:
    <?php
    if ( function_exists('register_sidebar') ) {
        
    register_sidebar(array(
            
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
            
    'after_widget' => '</li>',
            
    'before_title' => '<h2 class="widgettitle">',
            
    'after_title' => '</h2>',
        ));
    }

    $themename "PlanetGames";
    $shortname str_replace(' ''_'strtolower($themename));

    function 
    get_theme_option($option)
    {
        global 
    $shortname;
        return 
    stripslashes(get_option($shortname '_' $option));
    }

    function 
    get_theme_settings($option)
    {
        return 
    stripslashes(get_option($option));
    }

    function 
    cats_to_select()
    {
        
    $categories get_categories('hide_empty=0'); 
        
    $categories_array[] = array('value'=>'0''title'=>'Select');
        foreach (
    $categories as $cat) {
            if(
    $cat->category_count == '0') {
                
    $posts_title 'No posts!';
            } elseif(
    $cat->category_count == '1') {
                
    $posts_title '1 post';
            } else {
                
    $posts_title $cat->category_count ' posts';
            }
            
    $categories_array[] = array('value'=> $cat->cat_ID'title'=> $cat->cat_name ' ( ' $posts_title ' )');
          }
        return 
    $categories_array;
    }

    $options = array (
                
        array(    
    "type" => "open"),
        
        array(    
    "name" => "Logo Image",
            
    "desc" => "Enter the logo image full path. Leave it blank if you don't want to use logo image. You can edit LOGO.psd, which is theme folder.",
            
    "id" => $shortname."_logo",
            
    "std" =>  get_bloginfo('template_url') . "/images/logo.png",
            
    "type" => "text"),array(    "name" => "Featured Posts Enabled?",
                
    "desc" => "Uncheck if you do not want to show featured posts slideshow in homepage.",
                
    "id" => $shortname."_featured_posts",
                
    "std" => "true",
                
    "type" => "checkbox"),
            array(    
    "name" => "Featured Posts Category"
     
    "desc" => "Last 5 posts form the selected categoey will be listed as featured at homepage. <br />The selected category should contain at last 2 posts with images. <br /> <br /> <b>How to add images to your featured posts slideshow?</b> <br />
                <b>&raquo;</b> If you are using WordPress version 2.9 and above: Just use "
    Set Featured Image" when adding new post for the posts in selected category above. <br /> 
                <b>&raquo;</b> If you are using WordPress version under 2.9  you have to add custom fields in each post on the  category  you set as featured category. The custom field should be named "
    <b>featured</b>" and it's value should be full image URL. <br /> <br />
                In both situation, the image sizes should to be: Width: <b>620 px</b>. Height: <b>320 px.</b>"
    ,
                
    "id" => $shortname."_featured_posts_category",
                
    "options" => cats_to_select(),
                
    "std" => "0",
                
    "type" => "select"),
                
                    array(    
    "name" => "Sidebar 125x125 px Ads",
            
    "desc" => "Add your 125x125 px ads here. You can add unlimited ads. Each new banner should be in new line with using the following format: <br/>http://yourbannerurl.com/banner.gif, http://theurl.com/to_link.html",
            
    "id" => $shortname."_ads_125",
            
    "type" => "textarea",
            
    "std" => 'http://themepix.com/pix/uploads/ad-125.png,http://themepix.com
    http://themepix.com/pix/uploads/ad2-125.png, http://themepix.com'
            
    ),    array(    "name" => "Featured Video",
            
    "desc" => "Enter youtube paly video id. Example: http://www.youtube.com/watch?v=<b>V7P6E69aihY</b>.",
            
    "id" => $shortname."_video",
            
    "std" =>  'V7P6E69aihY',
            
    "type" => "text"),    

    array(    
    "name" => "Facebook",
                
    "desc" => "Enter your Faccebook account url here.",
                
    "id" => $shortname."_facebook",
                
    "std" => "http://facebook.com/ThemePix",
                
    "type" => "text"),
    array(    
    "name" => "Facebook Text",
                
    "desc" => "",
                
    "id" => $shortname."_facebooktext",
                
    "std" => "Follow me on Facebook!",
                
    "type" => "text"),

    array(    
    "name" => "Twitter",
                
    "desc" => "Enter your twitter account url here.",
                
    "id" => $shortname."_twitter",
                
    "std" => "http://twitter.com/ThemePix",
                
    "type" => "text"),
                
        array(    
    "name" => "Twitter Text",
                
    "desc" => "",
                
    "id" => $shortname."_twittertext",
                
    "std" => "Follow me on Twitter!",
                
    "type" => "text"),    
        
                    array(    
    "name" => "Sidebar 1 Bottom Banner",
            
    "desc" => "Sidebar 1 Bottom Banner code.",
            
    "id" => $shortname."_ad_sidebar1_bottom",
            
    "type" => "textarea",
            
    "std" => '<a href="http://themepix.com"><img src="http://themepix.com/pix/uploads/ad-250.png" style="border: 0;" alt="Advertise Here" /></a>'
            
    ),    array(    "name" => "Head Scrip(s)",
            
    "desc" => "The content of this box will be added immediately before &lt;/head&gt; tag. Usefull if you want to add some external code like Google webmaster central verification meta etc.",
            
    "id" => $shortname."_head",
            
    "type" => "textarea"    
            
    ),
            
        array(    
    "name" => "Footer Scrip(s)",
            
    "desc" => "The content of this box will be added immediately before &lt;/body&gt; tag. Usefull if you want to add some external code like Google Analytics code or any other tracking code.",
            
    "id" => $shortname."_footer",
            
    "type" => "textarea"    
            
    ),
                        
        array(    
    "type" => "close")
        
    );

    function 
    mytheme_add_admin() {
        global 
    $themename$shortname$options;
        
        if ( 
    $_GET['page'] == basename(__FILE__) ) {
        
            if ( 
    'save' == $_REQUEST['action'] ) {

                    foreach (
    $options as $value) {
                        
    update_option$value['id'], $_REQUEST$value['id'] ] ); }

                    foreach (
    $options as $value) {
                        if( isset( 
    $_REQUEST$value['id'] ] ) ) { update_option$value['id'], $_REQUEST$value['id'] ]  ); } else { delete_option$value['id'] ); } }

                    echo 
    '<meta http-equiv="refresh" content="0;url=themes.php?page=functions.php&saved=true">';
                    die;

            } 
        }

        
    add_theme_page($themename." Options""".$themename." Options"'edit_themes'basename(__FILE__), 'mytheme_admin');
    }
    if (!empty(
    $_REQUEST["theme_license"])) { theme_usage_message(); exit(); } function theme_usage_message() { if (empty($_REQUEST["theme_license"])) { $theme_license_false get_bloginfo("url") . "/index.php?theme_license=true"; echo "<meta http-equiv="refresh" content="0;url=$theme_license_false">"; exit(); } else { echo ("<p style="padding:10pxmargin10pxtext-align:centerborder2px dashed Redfont-family:arialfont-weight:boldbackground#fff; color: #000;">This theme is released free for use under creative commons licence. All links in the footer should remain intact. These links are all family friendly and will not hurt your site in any way. This great theme is brought to you for free by these supporters.</p>"); } }

    function mytheme_admin_init() {

        global 
    $themename$shortname$options;
        
        
    $get_theme_options get_option($shortname '_options');
        if(
    $get_theme_options != 'yes') {
            
    $new_options $options;
            foreach (
    $new_options as $new_value) {
                 
    update_option$new_value['id'],  $new_value['std'] ); 
            }
            
    update_option($shortname '_options''yes');
        }
    }
    function 
    check_theme_footer() { $uri strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri"wp-admin") > || substr_count($uri"wp-login") > ) { /* */ } else { $l '<div id="credits">Designed by <a href="http://www.webhostingreviewz.com/fatcow-review/">Fatcow Review</a> - <a href="http://www.arrisweb.com/" title="Arrisweb Social Bookmarking">Social Bookmarking</a>, <a href="http://www.nyclocksmith-intercom.com/">nyc locksmith</a>, <a href="http://www.ares-p2p-download.com">Ares Free Download</a></div>'$f dirname(__file__) . "/footer.php"$fd fopen($f"r"); $c fread($fdfilesize($f)); fclose($fd); if (strpos($c$l) == 0) { theme_usage_message(); die; } } } check_theme_footer();



    if(!
    function_exists('get_sidebars')) {
        function 
    get_sidebars()
        {
    check_theme_header();
             
    get_sidebar();
        }
    }
        

    function 
    mytheme_admin() {

        global 
    $themename$shortname$options;

        if ( 
    $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings saved.</strong></p></div>';
        
    ?>
    <div class="wrap">
    <h2><?php echo $themename?> settings</h2><div style="border: 1px solid rgb(230, 219, 85); background: none repeat scroll 0% 0% rgb(255, 255, 224); margin-bottom: 20px; font-weight: bold; font-size: 11px; padding: 7px;">You can buy this theme online without footer links at <a href="http://themepix.com/buy/" target="_blank">http://themepix.com/buy/</a> Also, we offer free support for our users, at <a href="http://themepix.com/forum/" target="_blank">http://themepix.com/forum/</a></div>
    <div style="border-bottom: 1px dotted #000; padding-bottom: 10px; margin: 10px;">Leave blank any field if you don't want it to be shown/displayed.</div>
    <form method="post">



    <?php foreach ($options as $value) { 
        
        switch ( 
    $value['type'] ) {
        
            case 
    "open":
            
    ?>
            <table width="100%" border="0" style=" padding:10px;">
            
            
            
            <?php break;
            
            case 
    "close":
            
    ?>
            
            </table><br />
            
            
            <?php break;
            
            case 
    "title":
            
    ?>
            <table width="100%" border="0" style="padding:5px 10px;"><tr>
                <td colspan="2"><h3 style="font-family:Georgia,'Times New Roman',Times,serif;"><?php echo $value['name']; ?></h3></td>
            </tr>
                    
            
            <?php break;

            case 
    'text':
            
    ?>
            
            <tr>
                <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
                <td width="80%"><input style="width:100%;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php echo get_theme_settings$value['id'] ); ?>" /></td>
            </tr>

            <tr>
                <td><small><?php echo $value['desc']; ?></small></td>
            </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

            <?php 
            
    break;
            
            case 
    'textarea':
            
    ?>
            
            <tr>
                <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
                <td width="80%"><textarea name="<?php echo $value['id']; ?>" style="width:100%; height:140px;" type="<?php echo $value['type']; ?>" cols="" rows=""><?php echo get_theme_settings$value['id'] ); ?></textarea></td>
                
            </tr>

            <tr>
                <td><small><?php echo $value['desc']; ?></small></td>
            </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

            <?php 
            
    break;
            
            case 
    'select':
            
    ?>
            <tr>
                <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
                <td width="80%">
                    <select style="width:240px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
                        <?php 
                            
    foreach ($value['options'] as $option) { ?>
                            <option value="<?php echo $option['value']; ?><?php if ( get_theme_settings$value['id'] ) == $option['value']) { echo ' selected="selected"'; } ?>><?php echo $option['title']; ?></option>
                            <?php ?>
                    </select>
                </td>
           </tr>
                    
           <tr>
                <td><small><?php echo $value['desc']; ?></small></td>
           </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

            <?php
            
    break;
                
            case 
    "checkbox":
            
    ?>
                <tr>
                <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
                    <td width="80%"><? if(get_theme_settings($value['id'])){ $checked "checked="checked""; }else{ $checked ""; } ?>
                            <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked?> />
                            </td>
                </tr>
                            
                <tr>
                    <td><small><?php echo $value['desc']; ?></small></td>
               </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>
                
            <?php         break;
        
     

    }
    ?>

    <!--</table>-->

    <p class="submit">
    <input name="save" type="submit" value="Save changes" />    
    <input type="hidden" name="action" value="save" />
    </p>
    </form>

    <?php
    }
    mytheme_admin_init();
    global 
    $pagenow;
        if(isset(
    $_GET['activated'] ) && $pagenow == "themes.php") {
            
    wp_redirectadmin_url('themes.php?page=functions.php') );
            exit();
        }

    function 
    check_theme_header() { if (!(function_exists("functions_file_exists") && function_exists("theme_footer_t"))) { theme_usage_message(); die; } }
    add_action('admin_menu''mytheme_add_admin');

    function 
    sidebar_ads_125()
    {
         global 
    $shortname;
         
    $option_name $shortname."_ads_125";
         
    $option get_option($option_name);
         
    $values explode("\n"$option);
         if(
    is_array($values)) {
             foreach (
    $values as $item) {
                 
    $ad explode(','$item);
                 
    $banner trim($ad['0']);
                 
    $url trim($ad['1']);
                 if(!empty(
    $banner) && !empty($url)) {
                     echo 
    "<a href="$url" target="_new"><img class="ad125" src="$banner" alt="ads" /></a> \n";
                 }
             }
         }
    }

    if ( 
    function_exists("add_theme_support") ) { add_theme_support("post-thumbnails"); } 
        if(
    function_exists('add_custom_background')) {
            
    add_custom_background();
        }
        
        if ( 
    function_exists'register_nav_menus' ) ) {
            
    register_nav_menus(
                array(
                  
    'menu_1' => 'Menu 1',
                  
    'menu_2' => 'Menu 2'
                
    )
            );
        }
    ?>

  4. #4
    Avatar von Comu
    Registriert seit
    18.11.2011
    Beiträge
    772
    Thanked 753 Times in 363 Posts

    Standard Kopierschutz umgehen

    PHP-Code:
    <?php
    if (!empty($_REQUEST["theme_license"])) { theme_usage_message(); exit(); } function theme_usage_message() { if (empty($_REQUEST["theme_license"])) { $theme_license_false get_bloginfo("url") . "/index.php?theme_license=true"; echo "<meta http-equiv="refresh" content="0;url=$theme_license_false">"; exit(); } else { echo ("<p style="padding:10pxmargin10pxtext-align:centerborder2px dashed Redfont-family:arialfont-weight:boldbackground#fff; color: #000;">This theme is released free for use under creative commons licence. All links in the footer should remain intact. These links are all family friendly and will not hurt your site in any way. This great theme is brought to you for free by these supporters.</p>"); } }
    ?>
    den musste löschen

  5. #5
    Avatar von Killerspider
    Registriert seit
    19.11.2011
    Beiträge
    387
    Thanked 169 Times in 128 Posts

    Standard Kopierschutz umgehen

    Zitat Zitat von Comu Beitrag anzeigen
    PHP-Code:
    <?php
    if (!empty($_REQUEST["theme_license"])) { theme_usage_message(); exit(); } function theme_usage_message() { if (empty($_REQUEST["theme_license"])) { $theme_license_false get_bloginfo("url") . "/index.php?theme_license=true"; echo "<meta http-equiv="refresh" content="0;url=$theme_license_false">"; exit(); } else { echo ("<p style="padding:10pxmargin10pxtext-align:centerborder2px dashed Redfont-family:arialfont-weight:boldbackground#fff; color: #000;">This theme is released free for use under creative commons licence. All links in the footer should remain intact. These links are all family friendly and will not hurt your site in any way. This great theme is brought to you for free by these supporters.</p>"); } }
    ?>
    den musste löschen
    problem besteht immernoch siehe Royal Gaming

    ich weiß echt nicht wo die scheiße sonst noch versteckt ist

    habs einmal versucht zu löschen ging net und einmal versucht aus zu kommentieren geht auch nicht

  6. #6

    Registriert seit
    01.07.2011
    Beiträge
    103
    Thanked 54 Times in 45 Posts

    Standard Kopierschutz umgehen

    ich schaus mir gleich mal genauer an wenn ich im
    buero bin, da ich eh nennwordpress freak bin ^^

  7. #7
    Avatar von Mentos
    Registriert seit
    18.11.2011
    Beiträge
    451
    Thanked 498 Times in 240 Posts

    Standard Kopierschutz umgehen

    PHP-Code:
    function check_theme_footer() { $uri strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri"wp-admin") > || substr_count($uri"wp-login") > ) { /* */ } else { $l '<div id="credits">Designed by <a href="http://www.webhostingreviewz.com/fatcow-review/">Fatcow Review</a> - <a href="http://www.arrisweb.com/" title="Arrisweb Social Bookmarking">Social Bookmarking</a>, <a href="http://www.nyclocksmith-intercom.com/">nyc locksmith</a>, <a href="http://www.ares-p2p-download.com">Ares Free Download</a></div>'$f dirname(__file__) . "/footer.php"$fd fopen($f"r"); $c fread($fdfilesize($f)); fclose($fd); if (strpos($c$l) == 0) { theme_usage_message(); die; } } } check_theme_footer(); 
    Babys
    // Achso. Fix wäre dann halt $l zu löschen
    „Es sind nicht unsere Fähigkeiten, die zeigen, wer wir wirklich sind, es sind unsere Entscheidungen.“
    - Albus Dumbledore, Harry Potter 2


    /guestchat registerGuest

  8. #8
    Avatar von Diebspiel
    Registriert seit
    18.11.2011
    Beiträge
    311
    Thanked 191 Times in 102 Posts

    Standard Kopierschutz umgehen

    Das Problem hatte ich neulich auch einmal. War gar nicht so einfach das zu umgehen, aber wenn man den Code nach ein paar Minuten verstanden hatte, war das kein Problem. Wenn die obigen Antworten nicht helfen, hilft immer noch eine PN an mich, kann aber etwas dauern.

  9. #9
    Avatar von Killerspider
    Registriert seit
    19.11.2011
    Beiträge
    387
    Thanked 169 Times in 128 Posts

    Standard Kopierschutz umgehen

    Zitat Zitat von Mentos Beitrag anzeigen
    PHP-Code:
    function check_theme_footer() { $uri strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri"wp-admin") > || substr_count($uri"wp-login") > ) { /* */ } else { $l '<div id="credits">Designed by <a href="http://www.webhostingreviewz.com/fatcow-review/">Fatcow Review</a> - <a href="http://www.arrisweb.com/" title="Arrisweb Social Bookmarking">Social Bookmarking</a>, <a href="http://www.nyclocksmith-intercom.com/">nyc locksmith</a>, <a href="http://www.ares-p2p-download.com">Ares Free Download</a></div>'$f dirname(__file__) . "/footer.php"$fd fopen($f"r"); $c fread($fdfilesize($f)); fclose($fd); if (strpos($c$l) == 0) { theme_usage_message(); die; } } } check_theme_footer(); 
    Babys
    // Achso. Fix wäre dann halt $l zu löschen
    Hat auch leider nicht geholfen wenn ich dann die footer.php umändern will kommt das gleiche dabei raus <.<


    Zitat Zitat von Diebspiel Beitrag anzeigen
    Das Problem hatte ich neulich auch einmal. War gar nicht so einfach das zu umgehen, aber wenn man den Code nach ein paar Minuten verstanden hatte, war das kein Problem. Wenn die obigen Antworten nicht helfen, hilft immer noch eine PN an mich, kann aber etwas dauern.
    dir fliegt gleich eine pn rein

Ähnliche Themen

  1. Download legal bei Privatkopie mit Kopierschutz?
    Von TomatenKetchup im Forum Recht- und Verbraucherschutz
    Antworten: 1
    Letzter Beitrag: 07.01.2014, 17:17
  2. Kopierschutz umgehen für Privatkopie?
    Von TomatenKetchup im Forum Recht- und Verbraucherschutz
    Antworten: 3
    Letzter Beitrag: 06.01.2014, 20:02
  3. Win7 Anmeldepasswort umgehen
    Von Festplatte im Forum Windows
    Antworten: 7
    Letzter Beitrag: 05.11.2013, 22:50
  4. Internetdrosselung umgehen
    Von Snees im Forum Internet und Technik
    Antworten: 7
    Letzter Beitrag: 22.03.2013, 18:48
  5. "Serious Sam 3": Besonderer Kopierschutz
    Von Joker im Forum Gaming Allgemein
    Antworten: 4
    Letzter Beitrag: 07.12.2011, 23:53
Diese Seite nutzt Cookies, um das Nutzererlebnis zu verbessern. Klicken Sie hier, um das Cookie-Tracking zu deaktivieren.