+ Reply to Thread + Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Remove Footer Links from newwpthemes

  1. #11
    Noobie
    Join Date
    Apr 2008
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sevenheavenxs - If you still need help, let me know...just saw your post. You need to decode the next set of encrypted code - it contains the links.

    sebestian - In functions.php, you need to decrypt the code and you should get this:

    Code:
    function check_theme_footer() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") > 0 || substr_count($uri, "wp-login") > 0 ) { /* */ } else { $l = 'Changed the footer'; $f = dirname(__file__) . "/footer.php"; $fd = fopen($f, "r"); $c = fread($fd, filesize($f)); fclose($fd); if (strpos($c, $l) == 0) { theme_usage_message(); die; } } } check_theme_footer();
    Whatever links and text you edit in the above code, you also need to edit in the footers.php to make sure it is the same:

    Code:
     *Spam* *Spam* // All links in the footer should remain intact. 
    *Spam**Spam* *Spam* *Spam* *Spam* *Spam* *Spam*// These links are all family friendly and will not hurt your site in any way. 
    *Spam**Spam* *Spam* *Spam* *Spam* *Spam* *Spam*// Warning! Your site may stop working if these links are edited or deleted *Spam*?>
    *Spam**Spam* *Spam* *Spam* *Spam*Changed the footer
    The link and text must match exactly!

    Let me know if you guys have any questions or need more help.

  2. Shorten URL    SEO Services    Buy Xrumer

    Sponsored Links

  3. #12
    Noobie
    Join Date
    Aug 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You sir, are a God in my book this evening. I'm certainly not a coder and pretty dim by established standards, but I managed to make this work. I couldn't have done it, had you not explained it so well. Thank you so much!

  4. #13
    Noobie
    Join Date
    Sep 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello Nativepro,
    I really hope that you can help me too.
    I triede following the steps in you'r earlier post, but it didn't work for me.

    I am using the iGifts theme from newWPthemes.com - iGifts | New WordPress Themes

    This theme is slightly different, because the links are in the sidebar, camouflaged as "Blogroll".

    In "functions.php" i have the following base64 encryption:

    Code:
    eval(base64_decode('aWYgKCFlbXB0eSgkX1JFUVVFU1RbInRoZW1lX2xpY2Vuc2UiXSkpIHsgdGhlbWVfdXNhZ2VfbWVzc2FnZSgpOyBleGl0KCk7IH0gZnVuY3Rpb24gdGhlbWVfdXNhZ2VfbWVzc2FnZSgpIHsgaWYgKGVtcHR5KCRfUkVRVUVTVFsidGhlbWVfbGljZW5zZSJdKSkgeyAkdGhlbWVfbGljZW5zZV9mYWxzZSA9IGdldF9ibG9naW5mbygidXJsIikgLiAiL2luZGV4LnBocD90aGVtZV9saWNlbnNlPXRydWUiOyBlY2hvICI8bWV0YSBodHRwLWVxdWl2PVwicmVmcmVzaFwiIGNvbnRlbnQ9XCIwO3VybD0kdGhlbWVfbGljZW5zZV9mYWxzZVwiPiI7IGV4aXQoKTsgfSBlbHNlIHsgZWNobyAoIjxwIHN0eWxlPVwicGFkZGluZzoxMHB4OyBtYXJnaW46IDEwcHg7IHRleHQtYWxpZ246Y2VudGVyOyBib3JkZXI6IDJweCBkYXNoZWQgUmVkOyBmb250LWZhbWlseTphcmlhbDsgZm9udC13ZWlnaHQ6Ym9sZDsgYmFja2dyb3VuZDogI2ZmZjsgY29sb3I6ICMwMDA7XCI+VGhpcyB0aGVtZSBpcyByZWxlYXNlZCBmcmVlIGZvciB1c2UgdW5kZXIgY3JlYXRpdmUgY29tbW9ucyBsaWNlbmNlLiBBbGwgbGlua3MgaW4gdGhlIGZvb3RlciBzaG91bGQgcmVtYWluIGludGFjdC4gVGhlc2UgbGlua3MgYXJlIGFsbCBmYW1pbHkgZnJpZW5kbHkgYW5kIHdpbGwgbm90IGh1cnQgeW91ciBzaXRlIGluIGFueSB3YXkuIFRoaXMgZ3JlYXQgdGhlbWUgaXMgYnJvdWdodCB0byB5b3UgZm9yIGZyZWUgYnkgdGhlc2Ugc3VwcG9ydGVycy48L3A+Iik7IH0gfQ=='));
    I have decrypted it using Free online base64 encoder and decoder based on php script, and i got the following:

    Code:
    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_\">"; exit(); } else { echo ("<p style=\"padding:10px; margin: 10px; text-align:center; border: 2px dashed Red; font-family:arial; font-weight:bold; background: #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>"); } }
    In the sidebar.php i have the following code:

    Code:
    <?php // This theme is released free for use under creative commons licence. http://creativecommons.org/licenses/by/3.0/
            // All links in the sidebar should remain intact. 
            // These links are all family friendly and will not hurt your site in any way. 
            // Warning! Your site may stop working if these links are edited or deleted  ?>
            <ul><li><h2>Blogroll</h2><ul><li><a href="http://www.present-recommendations.com/">Gift Ideas</a></li> <li><a href="http://www.geschenk-empfehlungen.com/">Geschenk Empfehlungen</a></li></ul></li></ul>
            
    		<?php if(get_theme_option('ad_sidebar1_bottom') != '') {
    		?>
    		<div class="sidebaradbox">
    			<?php echo get_theme_option('ad_sidebar1_bottom'); ?>
    		</div>
    		<?php
    		}
    		?>
    I really hope that you can help me too, thanks alot !

  5. #14
    Noobie
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi Nativepro,

    Thank you so much for the reply post. It worked.

    Would you be able to tell if there is other malicious codes in the theme?

    Thank you so much. You have made my day!

  6. #15
    Noobie
    Join Date
    Apr 2008
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i haven't really looked much more into the code - if you run into problems with something else, let me know and i'll take a look at it.

  7. #16
    Noobie
    Join Date
    Mar 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    Wow They have some amazing themes on newwpthemes.com and i choosed this theme Privet

    The theme is amazing but one thing is really annoying is having an encrypted advertising links on a footer.

    I did follow the same procedure but sadly there was no such code have on functions.php so please if anyone knows how to remove this.

    Please Help me

    Regards
    duke

  8. #17
    Noobie
    Join Date
    Aug 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    if you still don't know how to remove you can PM me or reply here. I've just removed mine.

+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast

LinkBacks (?)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts