Help convert an adunit in vbulletin adsense rev. share mod

Discussion in 'vBulletin' started by afridy, Feb 14, 2009.

  1. #1
    Hai folks,

    This is the default setup for a lead board in the 'adsense revenue sharing' modification appear after first post (it seems).

    <script type="text/javascript"><!--
                    google_ad_client = "$post[ad_client_id]";
                    google_ad_width = 728;
                    google_ad_height = 15;
                    google_ad_slot = "1412545416";
                    google_ad_channel ="$post[ad_channel]";
                    google_color_border = "FFFFFF";
                    google_color_bg = "FFFFFF";
                    google_color_link = "000000";
                    google_color_url = "666666";
                    google_color_text = "333333";
                    //--></script>
    Code (markup):
    This is a 728 x 15 adunit with 4 links generated though adsense ad setup.

    script type="text/javascript"><!--
    google_ad_client = "pub-60321268762182xx";
    /* add after post 728x15, created 2/14/09 */
    google_ad_slot = "1412545416";
    google_ad_width = 728;
    google_ad_height = 15;
    //-->
    </script>
    Code (markup):
    Now i translate the lead board to the adunit above mentioned like this.

    <script type="text/javascript"><!--
                    google_ad_client = "$post[ad_client_id]";
                    google_ad_width = 728;
                    google_ad_height = [COLOR="Red"]15[/COLOR];
                    [COLOR="Red"]google_ad_slot = "1412545416"[/COLOR];
                    google_ad_channel ="$post[ad_channel]";
                    google_color_border = "FFFFFF";
                    google_color_bg = "FFFFFF";
                    google_color_link = "000000";
                    google_color_url = "666666";
                    google_color_text = "333333";
                    //--></script>
    Code (markup):
    * item in the red are changed

    but it does not work. just a blank line appear like this :mad:
    [​IMG]

    pls help.
     
    afridy, Feb 14, 2009 IP
  2. afridy

    afridy Well-Known Member

    Messages:
    810
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    135
    #2
    sorry falks,
    i though it was a problem with the adsetup. but it was a product/plugin importing issue.
    i importd the xml in using import product and did not notice the error message. lator only found that it should be imported though the download/upload plugin manager.
     
    afridy, Feb 14, 2009 IP