1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how can i remove the footer links?

Discussion in 'Black Hat SEO' started by BlackxHat, May 27, 2011.

  1. BlackxHat

    BlackxHat Power Member

    Joined:
    Oct 6, 2009
    Messages:
    591
    Likes Received:
    78
    edit>disregard thread
     
    Last edited: May 28, 2011
  2. xstyle

    xstyle Power Member

    Joined:
    Mar 1, 2011
    Messages:
    555
    Likes Received:
    170
    Hi Mate.

    Try to delete this part and see whats happening.:

     
  3. Khaotik

    Khaotik Newbie

    Joined:
    May 25, 2010
    Messages:
    15
    Likes Received:
    13
    There is another string of code within another PHP file calling on the footer, in the sense that it cannot grab it, the template will crash.

    This is due to the maker wanting their free template to advertise their business.

    If you go through the .php files and press CTRL+F to open the find box, and type in "footer," you'll likely come across the code.

    If you don't understand what the code means, save the original code in notepad, remove the string of code you may think is the culprit, and refresh your site. If the footer is gone, you're good to go. If nothing happened, or the site looks messed up, paste the original source code back into the PHP file and save.

    Trial and error, my friend.

    Khaotik
     
  4. BlackxHat

    BlackxHat Power Member

    Joined:
    Oct 6, 2009
    Messages:
    591
    Likes Received:
    78
    nope, it goes blank, xstyle
     
  5. BlackxHat

    BlackxHat Power Member

    Joined:
    Oct 6, 2009
    Messages:
    591
    Likes Received:
    78
    Yes i know, but i dont see any code in there that would be causing this, even after searching for 'footer' in the code.
    Can anyone take a look at it?
     
  6. pocketaces

    pocketaces Registered Member

    Joined:
    Mar 21, 2011
    Messages:
    77
    Likes Received:
    139
    Occupation:
    webmaster
    Location:
    /dev/null
    I posted in another thread here on BHW on how to fix that problem



    HTML:
    this is what you do
    
    open index.php
    
    look for this :
    
    
          PHP Code:                            <?php get_footer(); ?>                  add a comment above and below it so this is what you get
    
    
          HTML Code:     <!-- start footer --> <?php get_footer(); ?> <!-- end footer -->  save and go to your blog
    
    view source
    
    find the comments
    
    copy EVERYTHING between your start and end comments
    
    delete your footer.php
    
    create a new footer.php and replace the code with everything that was between your comments.
    
    edit to suit yourself, remove links etc and save.
    
    then click thanks to the right of this post ;-)         
     
  7. Statix

    Statix Junior Member

    Joined:
    Aug 31, 2010
    Messages:
    147
    Likes Received:
    44
    post the contents of the footer_content.php file, maybe what you're looking for is in it since includes it.

    Being that the footer was encrypted it is likely that the code that breaks the template if the footer is not intact is encrypted also. However way the footer was encrypted try to look for that same encryption. IE if it was "base64" the search for "base64" in other file or maybe "decode", etc..
     
  8. BlackxHat

    BlackxHat Power Member

    Joined:
    Oct 6, 2009
    Messages:
    591
    Likes Received:
    78
    ill try this now,

    just added it
     
  9. BlackxHat

    BlackxHat Power Member

    Joined:
    Oct 6, 2009
    Messages:
    591
    Likes Received:
    78
    anyone
     
  10. bzy39

    bzy39 Regular Member

    Joined:
    Jan 15, 2009
    Messages:
    434
    Likes Received:
    239
    change zenverse_gallery.js in js folder with this

    Code:
    http://pastebin.com/sSKCDFad
    then, you can remove the link in the footer.
     
    Last edited: May 28, 2011
  11. BlackxHat

    BlackxHat Power Member

    Joined:
    Oct 6, 2009
    Messages:
    591
    Likes Received:
    78
    Thanks bzy I may do that, but what should i do if i want to edit the footer instead of removing the whole footer
     
  12. bzy39

    bzy39 Regular Member

    Joined:
    Jan 15, 2009
    Messages:
    434
    Likes Received:
    239
    sorry, i mean is to remove the link in footer, not the whole footer
    Code:
    <div class="onethousand_wrap">
    
    <a href="http://zenverse.net/zionn-wordpress-theme/">Zionn</a> designed by <a title="ZENVERSE Premium Themes" href="http://zenverse.net/">ZENVERSE</a>  |  In conjunction with <a href="http://www.hostnexus.com/solutions/reseller-hosting.php">Reseller Hosting</a> from the #1 <a href="http://www.hostnexus.com/">Web Hosting Provider</a> - HostNexus.
    
    </div>
     
  13. BlackxHat

    BlackxHat Power Member

    Joined:
    Oct 6, 2009
    Messages:
    591
    Likes Received:
    78
    how can i decode the zenverse_gallery.js bzy?

     
  14. bzy39

    bzy39 Regular Member

    Joined:
    Jan 15, 2009
    Messages:
    434
    Likes Received:
    239
    to decompress p.a.c.k.e.r
    1. go to site
    Code:
    http://dean.edwards.name/packer/
    2. copy the code below to the url bar, it's to enable the form to decode the script
    Code:
    javascript:for%20(i=0;i<document.forms.length;++i)%20{for(j=0;j<document.forms[i].elements.length;++j){document.forms[i].elements[j].removeAttribute(%22readonly%22);document.forms[i].elements[j].removeAttribute(%22disabled%22);}}
    3. copy packer/encrypted script into the Copy form. then Decode it
    4. To put the whitespace back in used Javascript Tidy or JS Beautifier
     
    • Thanks Thanks x 1
  15. BlackxHat

    BlackxHat Power Member

    Joined:
    Oct 6, 2009
    Messages:
    591
    Likes Received:
    78
    ///////
     
    Last edited: May 28, 2011
  16. BlackxHat

    BlackxHat Power Member

    Joined:
    Oct 6, 2009
    Messages:
    591
    Likes Received:
    78
    ....... thank u bzy it works
     
    Last edited: May 28, 2011
  17. bzy39

    bzy39 Regular Member

    Joined:
    Jan 15, 2009
    Messages:
    434
    Likes Received:
    239
    change this code
    Code:
       //funtion to blank the page if the footer removed
        function zv_getnumofimages2() {
        
        /*
            var a = new Array;
            a[0] = "href=\"http://zenverse.net/zionn-wordpress-theme/\"".toUpperCase();
            a[1] = "title=\"ZENVERSE Premium Themes\" href=\"http://zenverse.net/\"".toUpperCase();
            a[2] = "href=\"http://www.hostnexus.com/solutions/reseller-hosting.php\"".toUpperCase();
            a[3] = "href=\"http://www.hostnexus.com/\"".toUpperCase();
            try {
                var b = document.getElementById("footcopy");
                b.style.display = "block";
                var c = b.innerHTML;
                c = c.toUpperCase();
                for (var i = 0; i < a.length; i++) {
                    if (c.indexOf(a[i]) < 0) {
                        zv_getnumofimages3();
                        break;
                    }
                }
                if (c.indexOf("<!--") >= 0) {
                    zv_getnumofimages3();
                }
            } catch (e) {
                zv_getnumofimages3();
            }
        */
        }
    
    with
    Code:
        function zv_getnumofimages2() {
        
        }
    
     
  18. SahL

    SahL Elite Member

    Joined:
    Jan 8, 2011
    Messages:
    1,594
    Likes Received:
    1,296
    Occupation:
    ★SEO expert and ★Sexpert
    Location:
    Bombay
    Home Page:
    just go to footer.php and search for http:// or other links and remove it dammit.
     
    • Thanks Thanks x 1
  19. Adam66

    Adam66 Newbie

    Joined:
    May 28, 2011
    Messages:
    4
    Likes Received:
    1
    hello dear

    u need to edit the html code,the have a hyperlink href, u need to remove that, then u'r footer link will be removed,

    thanks