smsmasters
02-27-2005, 10:00 PM
Original code based on code from here:
https://vborg.vbsupport.ru/showthread.php?t=75494 (thank you)
I decided to edit it and suit it for the UK'ers on this forum who use the freeipod websites based in the UK.
This works with the websites:
www.freeipoduk.co.uk
www.ipodshufflegiveaway.co.uk
You can edit it too.
Find:
// hide edit button if they can't use it
Add above:
$refid['freeipods'] = 19385;
$post['message'] = preg_replace('/www\.freeipoduk\.co.uk\/(?:index\.php)?\?(r|REFID)=([0-9]+)/i', 'www.freeipoduk.co.uk/index.php?REFID=' . $refid['freeipods'], $post['message']);
$post['signature'] = preg_replace('/www\.freeipoduk\.co.uk\/(?:index\.php)?\?(r|REFID)=([0-9]+)/i', 'www.freeipoduk.co.uk/index.php?REFID=' . $refid['freeipods'], $post['signature']);
$refid2['freeipods'] = 46;
$post['message'] = preg_replace('/www\.ipodshufflegiveaway\.co.uk\/(?:index\.php)?\?(r|REFID)=([0-9]+)/i', 'www.ipodshufflegiveaway.co.uk/?r=' . $refid2['freeipods'], $post['message']);
$post['signature'] = preg_replace('/www\.ipodshufflegiveaway\.co.uk\/(?:index\.php)?\?(r|REFID)=([0-9]+)/i', 'www.ipodshufflegiveaway.co.uk/?r=' . $refid2['freeipods'], $post['signature']);
I have posted screenshots that the freeipodshuffle site is legit here:
http://www.smsmasters.co.uk/forum/showthread.php?t=49302
Screenshots: http://www.smsmasters.co.uk/ipodshuffle/
https://vborg.vbsupport.ru/showthread.php?t=75494 (thank you)
I decided to edit it and suit it for the UK'ers on this forum who use the freeipod websites based in the UK.
This works with the websites:
www.freeipoduk.co.uk
www.ipodshufflegiveaway.co.uk
You can edit it too.
Find:
// hide edit button if they can't use it
Add above:
$refid['freeipods'] = 19385;
$post['message'] = preg_replace('/www\.freeipoduk\.co.uk\/(?:index\.php)?\?(r|REFID)=([0-9]+)/i', 'www.freeipoduk.co.uk/index.php?REFID=' . $refid['freeipods'], $post['message']);
$post['signature'] = preg_replace('/www\.freeipoduk\.co.uk\/(?:index\.php)?\?(r|REFID)=([0-9]+)/i', 'www.freeipoduk.co.uk/index.php?REFID=' . $refid['freeipods'], $post['signature']);
$refid2['freeipods'] = 46;
$post['message'] = preg_replace('/www\.ipodshufflegiveaway\.co.uk\/(?:index\.php)?\?(r|REFID)=([0-9]+)/i', 'www.ipodshufflegiveaway.co.uk/?r=' . $refid2['freeipods'], $post['message']);
$post['signature'] = preg_replace('/www\.ipodshufflegiveaway\.co.uk\/(?:index\.php)?\?(r|REFID)=([0-9]+)/i', 'www.ipodshufflegiveaway.co.uk/?r=' . $refid2['freeipods'], $post['signature']);
I have posted screenshots that the freeipodshuffle site is legit here:
http://www.smsmasters.co.uk/forum/showthread.php?t=49302
Screenshots: http://www.smsmasters.co.uk/ipodshuffle/