View Single Post
  #36  
Old 02-08-2005, 03:54 PM
EcpHosting's Avatar
EcpHosting EcpHosting is offline
 
Join Date: Dec 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EcpHosting
...

The Question: Is this set to only work in posts and sigs (this is where we only want it to work, as we do not allow referral links in our boards) or do you think it could override our system? I'm not asking if our system is compatable, I'm just asking where the limitations are for this hack (if it also looks outside of posts and sigs).

A side question: If the above is limited to only those areas, is it possible to expand this for all the other links as well (freeipodshuffle.com, freeminimac.com, notebooks4free.com, etc...)?

Your kind valuable input would be appreciated.
Ok, I answered my own questions... it all seems to be working very well without any problems. I have added all the gratis links, as well as all the offer centric links, PLUS all the links to our sites (all being nullified) and all is working beautifully even for links already posted.

If you would like to add the ULTIMATE nullification to your boards (nullifing 17 known links, including the free ipods site), you can use the following code:

includes/functions_showthread.php

Find:
PHP Code:
// hide edit button if they can't use it 
Above that add:
PHP Code:
// nullify links on boards

// gratis links

$refid['freedesktoppc'] = 0
$post['message'] = preg_replace('/www\.freeDesktopPc\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.freeDesktopPc.com'$post['message']); 

$refid['freeflatscreens'] = 0
$post['message'] = preg_replace('/www\.freeFlatScreens\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.freeFlatScreens.com'$post['message']); 

$refid['freegamingsystems'] = 0
$post['message'] = preg_replace('/www\.freeGamingSystems\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.freeGamingSystems.com'$post['message']); 

$refid['freeipodshuffle'] = 0
$post['message'] = preg_replace('/www\.freeiPodShuffle\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.freeiPodShuffle.com'$post['message']); 

$refid['freeipods'] = 0
$post['message'] = preg_replace('/www\.freeiPods\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.freeiPods.com'$post['message']); 

$refid['freephotoipods'] = 0
$post['message'] = preg_replace('/www\.freePhotoiPods\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.freePhotoiPods.com'$post['message']); 

$refid['freeminimacs'] = 0
$post['message'] = preg_replace('/www\.freeMiniMacs\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.freeMiniMacs.com'$post['message']); 

// offer centric links

$refid['cameras4free'] = 0
$post['message'] = preg_replace('/www\.cameras4free\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.cameras4free.com'$post['message']); 

$refid['notebooks4free'] = 0
$post['message'] = preg_replace('/www\.notebooks4free\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.notebooks4free.com'$post['message']); 

$refid['mp3players4free'] = 0
$post['message'] = preg_replace('/www\.mp3players4free\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.mp3players4free.com'$post['message']); 

$refid['ipodshuffles4free'] = 0
$post['message'] = preg_replace('/www\.ipodshuffles4free\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.ipodshuffles4free.com'$post['message']); 

$refid['macminis4free'] = 0
$post['message'] = preg_replace('/www\.macminis4free\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.macminis4free.com'$post['message']); 

$refid['pvps4free'] = 0
$post['message'] = preg_replace('/www\.pvps4free\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.pvps4free.com'$post['message']); 

// myfreeipodguide links

$refid['myfreeipodguide'] = 0
$post['message'] = preg_replace('/www\.myfreeipodguide\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.myfreeipodguide.com'$post['message']); 

$refid['howigotmyipod'] = 0
$post['message'] = preg_replace('/www\.howigotmyipod\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.howigotmyipod.com'$post['message']); 

$refid['myipodguide'] = 0
$post['message'] = preg_replace('/www\.myipodguide\.com\/(?:default\.aspx)?\?(r|referer)=([0-9]+)/i''www.myipodguide.com'$post['message']); 
This will nullify ALL links from both Gratis and Offer Centric.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02018 seconds
  • Memory Usage 1,832KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete