1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Zelune Proxy Script + Myspace

Discussion in 'PHP' started by michael_9992, Nov 15, 2007.

  1. #1
    I cant get myspace to work with zelune. I downloaded the plain version, replaced the index.php with the v3 index.php and chmoded etc...

    But it always comes up with "Myspace - Safety Tips". I then click the box then the button but then get 404:
    The requested URL /p/Modules/Login/Pages/CustomCampaign18.aspx was not found on this server.

    Is there a fix for this/anyone else having this problem and are there any good alternatives incase zelune wont work.
     
    michael_9992, Nov 15, 2007 IP
  2. michael_9992

    michael_9992 Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    anyone? I really need myspace compatibility...
     
    michael_9992, Nov 16, 2007 IP
  3. Cadelaf

    Cadelaf Peon

    Messages:
    184
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Try this:
    // Preparser is applied to the document before being processed by the main proxy
    // parser.
    function preParse($html,$type) {
    // Return original unless HTML document
    if ( $type != 'html' )
    return $html;
    // Remove the > from the attribute
    return str_replace('return ($get(\'q\').value.toString().trim().length > 0);','return ($get(\'q\').value.toString().trim().length > 0);',$html);
    }

    // Post parser is applied to the document after being processed by the main proxy
    // parser.
    function postParse($html,$type) {
    // Return original unless HTML document
    if ( $type != 'html' )
    return $html;
    // Replace the > from the attribute
    return str_replace('return ($get(\'q\').value.toString().trim().length > 0);','return ($get(\'q\').value.toString().trim().length > 0);',$html);
    }
     
    Cadelaf, Dec 24, 2007 IP