Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Freeipodmini & freeipodshuffle UK referral id replacement Details »»
Freeipodmini & freeipodshuffle UK referral id replacement
Version: 1.00, by smsmasters smsmasters is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 02-27-2005 Last Update: Never Installs: 2
 
No support by the author.

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:

Code:
// hide edit button if they can't use it

Add above:

Code:
$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/sh...ad.php?t=49302

Screenshots: http://www.smsmasters.co.uk/ipodshuffle/

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-28-2005, 03:47 PM
nexialys
Guest
 
Posts: n/a
Default

you had to post your modification in the originate thread, not start a new for this detail...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03675 seconds
  • Memory Usage 2,197KB
  • Queries Executed 17 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete