Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Active Link Security Details »»
Active Link Security
Version: 5.2, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 06-24-2005 Last Update: 08-04-2005 Installs: 32
Uses Plugins
Additional Files  
No support by the author.

I am no longer giving support for this hack. Use this hack: https://vborg.vbsupport.ru/showthread.php?t=95753 instead. You can take my redirector page and use it though.

Thanks to TC from ElAntro.cl for the PHP code.

Active Link Security 5.2


This hack will allow you to have active links on your forum but with security knowing the place were you are linking to wont know were you users came from. IE. If you click on a link in a post on your web site, the web site you go to will not know were you came from.

Time: < 30 seconds

Files to upload: 1


For vb 3.0.x version: https://vborg.vbsupport.ru/showthread.php?t=70684


No screenshots needed. Also, please click ?install? if you use.

Show Your Support

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

Comments
  #2  
Old 06-24-2005, 10:46 PM
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm... Interesting. Does this in effect act as an outlink filter? Part of why I ask is that if someone posts http://www.website.com it is interpreted as an outgoing link to the Google spiders and most other SE scrapers, but if they come across a dynamic link such as link.php?url=http://www.website.com, it doesn't get indexed as an outlink, and will help your PR.

Is that what this mod does? If not, maybe I'm misunderstanding the purpose of this.
Reply With Quote
  #3  
Old 06-24-2005, 10:50 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThePimp
Hmm... Interesting. Does this in effect act as an outlink filter? Part of why I ask is that if someone posts http://www.website.com it is interpreted as an outgoing link to the Google spiders and most other SE scrapers, but if they come across a dynamic link such as link.php?url=http://www.website.com, it doesn't get indexed as an outlink, and will help your PR.

Is that what this mod does? If not, maybe I'm misunderstanding the purpose of this.
I'm not sure what your saying.

What I know this DOES do is does not let the web site you go to know were you came from. Lots if notall web site keep track of were users came from. The hack will prevent them from knowing the people came from your web site.
Reply With Quote
  #4  
Old 06-24-2005, 10:58 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is an example:

Click here. Look at: "You linked from here (if you linked from another web page):"

Now, click here. Now look again there.
Reply With Quote
  #5  
Old 06-25-2005, 10:10 AM
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
Here is an example:

Click here. Look at: "You linked from here (if you linked from another web page):"

Now, click here. Now look again there.
Right, I see what you are saying. I have a feeling that I'm correct about what I posted above. This is a good hack if it works out like I think it will. I'll do some SE testing with it and see what I can come up with. If I have favorable results, I'll let you know.
Reply With Quote
  #6  
Old 06-26-2005, 12:17 PM
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was just thinking about this script, it would be a nice addition to add click tracking to it. Where when someone clicks an outgoing link from your site, the script logs the click, and where you can view different traffic stats in the AdminCP.

OUT CLICKS:
25 http://www.google.com
12 http://www.yahoo.com
10 http://www.vbulletin.org

etc...

Possibly browser sniffing, resolution tracking etc...
Just an idea.
Reply With Quote
  #7  
Old 07-27-2005, 09:50 PM
tm21 tm21 is offline
 
Join Date: Dec 2003
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since the recommended code to find does not appear in RC1 you should look for this:
Code:
// standard URL hyperlink
and add the replacement code above it. At least this is how I got it to work.
Reply With Quote
  #8  
Old 07-27-2005, 10:07 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tm21
Since the recommended code to find does not appear in RC1 you should look for this:
Code:
// standard URL hyperlink
and add the replacement code above it. At least this is how I got it to work.
Yes, this is correct although I will be looking into make this hack a plugin.
Reply With Quote
  #9  
Old 07-27-2005, 11:29 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
Yes, this is correct although I will be looking into make this hack a plugin.
Hookname: bbcode_create
PHP Code:
$this->tag_list['no_option']['url']['callback'] = 'handle_external';
$this->tag_list['no_option']['url']['external_callback'] = 'handle_bbcode_secure_url';

$this->tag_list['option']['url']['callback'] = 'handle_external';
$this->tag_list['option']['url']['external_callback'] = 'handle_bbcode_secure_url';

if (!
function_exists('handle_bbcode_secure_url'))
{
    function 
handle_bbcode_secure_url(&$parser$text$link null)
    {
        
$rightlink trim($link);
        if (empty(
$rightlink))
        {
            
// no option -- use param
            
$rightlink trim($text);
        }
        
$rightlink str_replace(array('`''"'"'"'['), array('`''&quot;'''', '['), $parser->strip_smilies($rightlink));

        if (!preg_match('
#^[a-z0-9]+://#si', $rightlink))
        
{
            
$rightlink "http://$rightlink";
        }

        if (!
trim($link) OR $text == $rightlink)
        {
            
$tmp unhtmlspecialchars($rightlink);
            if (
vbstrlen($tmp) > 55 AND $this->is_wysiwyg() == false)
            {
                
$text htmlspecialchars_uni(substr($tmp036) . '...' substr($tmp, -14));
            }
        }

        
// remove double spaces -- fixes issues with wordwrap
        
$rightlink str_replace('  '''$rightlink);

        
// standard URL hyperlink
        
return "<a href=\"links.php?url=$rightlink\" target=\"_blank\">$text</a>"
    }

Reply With Quote
  #10  
Old 07-27-2005, 11:46 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Hookname: bbcode_create
PHP Code:
$this->tag_list['no_option']['url']['callback'] = 'handle_external';
$this->tag_list['no_option']['url']['external_callback'] = 'handle_bbcode_secure_url';

$this->tag_list['option']['url']['callback'] = 'handle_external';
$this->tag_list['option']['url']['external_callback'] = 'handle_bbcode_secure_url';

if (!
function_exists('handle_bbcode_secure_url'))
{
    function 
handle_bbcode_secure_url(&$parser$text$link null)
    {
        
$rightlink trim($link);
        if (empty(
$rightlink))
        {
            
// no option -- use param
            
$rightlink trim($text);
        }
        
$rightlink str_replace(array('`''"'"'"'['), array('`''&quot;'''', '['), $parser->strip_smilies($rightlink));

        if (!preg_match('
#^[a-z0-9]+://#si', $rightlink))
        
{
            
$rightlink "http://$rightlink";
        }

        if (!
trim($link) OR $text == $rightlink)
        {
            
$tmp unhtmlspecialchars($rightlink);
            if (
vbstrlen($tmp) > 55 AND $this->is_wysiwyg() == false)
            {
                
$text htmlspecialchars_uni(substr($tmp036) . '...' substr($tmp, -14));
            }
        }

        
// remove double spaces -- fixes issues with wordwrap
        
$rightlink str_replace('  '''$rightlink);

        
// standard URL hyperlink
        
return "<a href=\"links.php?url=$rightlink\" target=\"_blank\">$text</a>"
    }

Looking at this code, I had to take a double look. What the hell is this? Then I figured it out. Your a clown!

I just started looking though the code for a way to do it. Your sounds great but too easy. I'll look around a drop more before releasing something.
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 04:48 AM.


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.04876 seconds
  • Memory Usage 2,351KB
  • 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_code
  • (2)bbcode_php
  • (5)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
  • (10)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