![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Silent Hunter
![]() Join Date: Nov 2006
Location: Jakarta
Posts: 4,794
Downloads: 89
Uploads: 6
|
![]()
How do you post scripted link on subsim?
__________________
|
![]() |
![]() |
![]() |
#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; }
__________________
|
![]() |
![]() |
![]() |
#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?
|
![]() |
![]() |
![]() |
#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. |
![]() |
![]() |
![]() |
#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 ![]() |
![]() |
![]() |
![]() |
|
|