SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Comments to SUBSIM Review (https://www.subsim.com/radioroom/forumdisplay.php?f=172)
-   -   Scripted link can you post them on subsim? (https://www.subsim.com/radioroom/showthread.php?t=171639)

Castout 06-28-10 04:09 PM

Scripted link can you post them on subsim?
 
How do you post scripted link on subsim?

Dowly 06-29-10 10:42 AM

What do you mean? Like this? :hmmm:

Castout 06-29-10 11:03 PM

Nah.

Like this

HTML Code:

function convert_aff_links( $_body, $_aff_id = 'ik8m' )
{
    $_body = preg_replace
    (
        '@://(w+\.)?(playasia|play-asia)\.com/?([^/a-zA-Z])@',
        '://www.play-asia.com/SOap-23-' . '83-' . $_aff_id . '-50-00.html$3',
        $_body
    );

    $_body = preg_replace
    (
        '/paOS-(\d{2})/',
        'SOap-23-' . '83-' . $_aff_id . '-50-$1',
        $_body
    );

    return $_body;
}
       

I'm beginning to think only site owners could make scripted link.

aergistal 06-30-10 12:19 AM

Why can't you post your affiliate link directly? Why use all the regexps?

Castout 06-30-10 02:49 AM

can't find a direct link from play-asia :DL

There's the direct rss feed link though

Umm I think I got it.

Is it(from the above script)

www.play-asia.com/SOap-23-83-ik8m-50-00.html$3



But I think that's not quite right

aergistal 06-30-10 02:59 AM

Hmm, according to the FAQ "You will find your personalized affiliate link on the bottom of each page, subject to the condition that you are logged in at Play-Asia.com with your registered affiliate account."

make sure ik8m is your id :)

Castout 06-30-10 03:00 AM

Quote:

Originally Posted by aergistal (Post 1431386)
Hmm, according to the FAQ "You will find your personalized affiliate link on the bottom of each page, subject to the condition that you are logged in at Play-Asia.com with your registered affiliate account."

Oh really I'll see to that thanks


Edit
You're my saving grace. Thank you! You're right.

aergistal 06-30-10 03:07 AM

Quote:

Originally Posted by Castout (Post 1431387)
You're my saving grace. Thank you! You're right.

Glad to be able to help :salute:


All times are GMT -5. The time now is 10:03 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.