Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Annoy the free iPod spammers with referral ID replacement Details »»
Annoy the free iPod spammers with referral ID replacement
Version: 1.00, by Dean C Dean C is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 01-30-2005 Last Update: Never Installs: 13
 
No support by the author.

[Annoy the free iPod spammers with referral ID replacement]

Information
  • [high]vBulletin Version:[/high] 3.0.6

  • [high]Author:[/high] Dean Clatworthy

  • [high]Copyright:[/high] You may use this modification at your own risk. I cannot and will not be held responsible for any damage you may cause to your forums during installation or thereafter. You may not distribute this modification in whole or parts and anyone found doing so faces risk of prosecution. All my modifications are released at vBulletin.org and anyone found releasing them elsewhere also faces risk of prosecution. You may not translate this modification without my prior permission.

  • [high]Donations:[/high] I release my modifications for free. If you wish to donate please contact me and I will give you my details. All donations are graciously appreciated.

  • [high]Credits:[/high] I would like to thank the following people who contributed to the making of this modification.
    • ManagerJosh - his idead

What does this modification do?
Getting annoyed by those pesky free iPod spammers? You're not the only one. Get a free iPod in the process by replacing their ID with yours

Installation

1/

Find in includes/functions_showthread.php:

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

PHP Code:
$refid['freeipods'] = 0;
$post['message'] = preg_replace('/www\.freeiPods\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.freeiPods.com/default.aspx?referer=' $refid['freeipods'], $post['message']);
$post['signature'] = preg_replace('/www\.freeiPods\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.freeiPods.com/default.aspx?referer=' $refid['freeipods'], $post['signature']); 
Be sure to change the value of $refid['freeipods'] to your referralid otherwise this won't work!

Please Click Install!
If you installed this modifcation please click the install button. It'll help you keep up to date with future releases and important bugfixes, security updates.

Show Your Support

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

Comments
  #2  
Old 01-31-2005, 03:39 PM
nexialys
Guest
 
Posts: n/a
Default

coming from Dean C, i'm questionning his affection to the Mac world.. lol

this "hack" is not a single way related to vBulletin, and btw, i think Dean will have to learn why there is a Replacement system in the board...
Reply With Quote
  #3  
Old 01-31-2005, 03:47 PM
ManagerJosh's Avatar
ManagerJosh ManagerJosh is offline
 
Join Date: Feb 2002
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys
coming from Dean C, i'm questionning his affection to the Mac world.. lol

this "hack" is not a single way related to vBulletin, and btw, i think Dean will have to learn why there is a Replacement system in the board...
http://www.vbulletin.com/forum/showthread.php?t=128426

*clicks install*
Reply With Quote
  #4  
Old 01-31-2005, 03:56 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys
coming from Dean C, i'm questionning his affection to the Mac world.. lol

this "hack" is not a single way related to vBulletin, and btw, i think Dean will have to learn why there is a Replacement system in the board...
The replacement system does not support parameters last time I checked :smoke:
Reply With Quote
  #5  
Old 01-31-2005, 04:05 PM
nexialys
Guest
 
Posts: n/a
Default

hum... yeah... maybe it's time to edit it, add some regex to it...
Reply With Quote
  #6  
Old 01-31-2005, 04:29 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very cool! and this could also be very easily adapted to other services that use referral ID's, such as amazon, etc.! nice one!
Reply With Quote
  #7  
Old 01-31-2005, 04:34 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Give me the URL and i'll write the replacement for it
Reply With Quote
  #8  
Old 01-31-2005, 06:11 PM
ManagerJosh's Avatar
ManagerJosh ManagerJosh is offline
 
Join Date: Feb 2002
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C
Give me the URL and i'll write the replacement for it
Hey Dean..does this work if they omit the "www" ?
Reply With Quote
  #9  
Old 01-31-2005, 07:06 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope - fixed Also it's now case-insensitive. Gotta love these regexp's
Reply With Quote
  #10  
Old 01-31-2005, 08:39 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make spammers work for you, eh Dean?
Reply With Quote
Reply

Thread Tools

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 06:49 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.06968 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
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_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete