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
  #42  
Old 02-13-2005, 10:15 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 TheComputerGuy
I have a user that posts a simple site to his personal site. I would like for it to be changed to something I want. How can this be done?

its like www.dot.msn.com/community

or something do I need to do anything special to it?
You can do this with replacements, refer to the vBulletin manual on how to use these
Reply With Quote
  #43  
Old 02-16-2005, 10:36 PM
UK Jimbo's Avatar
UK Jimbo UK Jimbo is offline
 
Join Date: Sep 2002
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really like this hack and (stupidly) hadn't thought about identifying the posts by their content. I've had loads of thoughts along the lines of email addresses, preventing posts in some forums till users have built up a decent post count, etc, etc.

I'm going to set about writing a hack that traps posts that are:
  • contain set regular expressions (dotdeals.com, ekmas.com) etc
  • are made by users that have posted less than n (probably 10) posts

I'm thinking out loud here but the posts should then probably be dropped into a moderation queue or in some way flagged to moderators. An easier solution might just be to display them a "no permission" page when they try to post such content.

There doesn't seem like a whole lot of point in banning the users there & then as their posts won't make it to the site anyway.

Either way this should prevent the spam getting onto the site in the first place.

edit: I've just written something that I'll try out on visordown.com for a week or so. If all goes to plan I'll post up the hack here
Reply With Quote
  #44  
Old 04-20-2005, 09:22 AM
ImportPassion ImportPassion is offline
 
Join Date: Mar 2002
Location: Gilbert, AZ
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i just added the freepsp one to this
Reply With Quote
  #45  
Old 05-03-2005, 01:46 PM
sonicdriven sonicdriven is offline
 
Join Date: Dec 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For usefull than you'll ever know. Some spend time cleanin up their forums, others make money from dirt... lol GREAT HACK!
Reply With Quote
  #46  
Old 07-20-2005, 01:20 AM
ManagerJosh's Avatar
ManagerJosh ManagerJosh is offline
 
Join Date: Feb 2002
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dean...time to update hack
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 02:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03844 seconds
  • Memory Usage 2,257KB
  • Queries Executed 20 (?)
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
  • (1)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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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