SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
Thread Tools | Display Modes |
06-28-10, 04:09 PM | #1 |
Silent Hunter
Join Date: Nov 2006
Location: Jakarta
Posts: 4,794
Downloads: 89
Uploads: 6
|
Scripted link can you post them on subsim?
How do you post scripted link on subsim?
__________________
|
06-29-10, 11:03 PM | #3 |
Silent Hunter
Join Date: Nov 2006
Location: Jakarta
Posts: 4,794
Downloads: 89
Uploads: 6
|
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; }
__________________
|
06-30-10, 12:19 AM | #4 |
Chief
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
|
Why can't you post your affiliate link directly? Why use all the regexps?
|
06-30-10, 02:49 AM | #5 |
Silent Hunter
Join Date: Nov 2006
Location: Jakarta
Posts: 4,794
Downloads: 89
Uploads: 6
|
can't find a direct link from play-asia
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
__________________
Last edited by Castout; 06-30-10 at 02:59 AM. |
06-30-10, 02:59 AM | #6 |
Chief
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
|
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 |
06-30-10, 03:00 AM | #7 | |
Silent Hunter
Join Date: Nov 2006
Location: Jakarta
Posts: 4,794
Downloads: 89
Uploads: 6
|
Quote:
Edit You're my saving grace. Thank you! You're right.
__________________
|
|
06-30-10, 03:07 AM | #8 |
Chief
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
|
|
|
|