Results 1 to 4 of 4
  1. #1
    RetroSteve! My location

    Stephen Coates's Avatar
    Join Date
    Mar 2003
    Location
    Rotherham
    Posts
    2,187
    Downloads
    0
    Uploads
    0

    Removing Google ads

    This is a static page from PHP-Nuke:
    http://www.emaculation.com/sheepshaver.php

    It has Google ads on it.

    Does anyone know how to remove them? I have looked at the sheepshaver.php file as well as just about every other php file that Nuke created and I can not find the code for the Google ads anywhere to remove them.

    Thanks

  2. #2
    Retro Addict Administrator
    My location

    Burger Time Champion, Sonic Champion Harrison's Avatar
    Join Date
    Dec 2002
    Location
    UK
    Posts
    16,654
    Blog Entries
    1
    Downloads
    6
    Uploads
    14
    Well, the code generating the google ads on that page is about halfway down the page and start with the javascript code that includes the google_ad_client id code.
    <script type="text/javascript"><!--
    google_ad_client = "pub-5098820216071248";
    PHP-Nuke is a content management system (CMS) much like Joomla (but nowhere near as good), so it is probably using a module to include the Google Ads on the page. You need to log into the administrators backend of the php-nuke install and look through the installed modules and either disable or uninstall the one generating the google ads. BTW, who's google account is the advert revenue going to?

    Slightly unrelated, but how old is the version of php-nuke being used on that site? I noticed it has a copyright of 2002! but the latest release was last year and version 8.0 which has a lot of security improvements. I would highly recommend considering upgrading to a newer version of php-nuke due to the number of bad security problems with that software.

    If you haven't played a classic game in years, it's never too late to start!


  3. #3
    RetroSteve! My location

    Stephen Coates's Avatar
    Join Date
    Mar 2003
    Location
    Rotherham
    Posts
    2,187
    Downloads
    0
    Uploads
    0
    I think the money is going to the site's owner, ClockWise. He told me to remove them.

    I'm not sure about logging into the control panel as I'm not sure if it exists any more. The site was in PHP-Nuke a while back, then they got rid of it to replace the news page with WordPress, and left all of Nuke's static pages. I managed to remove the ads from WordPress quite easily.

  4. #4
    Retro Addict Administrator
    My location

    Burger Time Champion, Sonic Champion Harrison's Avatar
    Join Date
    Dec 2002
    Location
    UK
    Posts
    16,654
    Blog Entries
    1
    Downloads
    6
    Uploads
    14
    If they just deleted half of the PHP-Nuke install then there is not much you can do other than to remake the pages in Wordpress, or whatever you are now using. I don't personally understand why someone would be using a CMS and just bodge the move to a different CMS in such a way. Must have been some really crap people running that site originally is all I can think.

    If you really cannot get into the admin backend of php-nuke then the only other option would be to try and hack the database and find where the html image code is being stored in the tables and edit the entries manually. There is the danger that you could mess up a table or the whole database and render the whole site dead.

    To me it seems that the site has been completely buggered up and needs to be started again!

    If you haven't played a classic game in years, it's never too late to start!


Tags for this Thread

Posting Permissions

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

Copyright classicamiga.com