Results 1 to 5 of 5
  1. #1
    Junior Member Marcooo's Avatar
    Joined
    Apr 2011
    Location
    A, A
    Posts
    18
    Thanks
    Received:0
    Given: 0

    Problem templates (banners adsense hidden)

    Hello everyone, I have a little problem, I updated with the new version of my pligg site and the code appeared a string, it would be a banner ad google adsense, all I get is just below:

    Ordina News -> Recenti Oggi Ieri Settimana Mese Anno

    Appears in the blank, but in this code there:

    Code:
    <script type="text/javascript"> <! -
    
    google_ad_client = "pub-1628281707918473";
    
    google_alternate_ad_url = "http://kalator.com/psa/info468x60.html";
    
    google_ad_width = 468;
    
    google_ad_height = 60;
    
    google_ad_format = "468x60_as";
    
    google_ad_type = "text";
    
    google_ad_channel = "";
    
    google_color_border = "ffffff";
    
    google_color_bg = "ffffff";
    
    google_color_link = "11A3AC";
    
    google_color_text = "707070";
    
    google_color_url = "A44848";
    
    / / ->
    
    </ script>
    
    <script type = "text / javascript"
    
    src = "http://pagead2.googlesyndication.com/pagead/show_ads.js">
    
    </ script>

    You can view it directly from the website: hiingo. It
    You know you help?

  2. #2
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,531
    Thanks
    Received:88
    Given: 14
    Site
    http://pligg.com/demo/
    Are you adding this as a story, or into a template file?

    If you are trying to enter this into a story content you will need to allow your user level (ex. "normal", "admin", or "god") to submit a <script> tag. This is set under Admin > Configure > Submit. There is a tags to allow area for all 3 user levels. I highly recommend that you don't allow normal users to embed the <script> tag.

    If you want to add it to a template file put a {literal} file before the code and {/literal} at the end of it.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  3. #3
    Junior Member Marcooo's Avatar
    Joined
    Apr 2011
    Location
    A, A
    Posts
    18
    Thanks
    Received:0
    Given: 0
    No this is a code that appears on every page, but I can not figure out where it is, I do not think part of my template, but on some files in the root, story type, index etc.

    Try to enter the site hiingo. It and check the source code.

  4. #4
    Member mika's Avatar
    Joined
    Jul 2012
    Location
    Fort Lauderdale
    Posts
    33
    Thanks
    Received:0
    Given: 6
    Version
    1.2.0
    It is in the adsense sharing module template , i believe , show_ad.tpl.

  5. #5
    Member mika's Avatar
    Joined
    Jul 2012
    Location
    Fort Lauderdale
    Posts
    33
    Thanks
    Received:0
    Given: 6
    Version
    1.2.0
    if you cannot find it, use criline search and replace to locate part of the code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg