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
  #12  
Old 07-28-2005, 03:02 AM
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>"
    }

I get an error when I run this: parse error, expecting `')'' in eval()'d code on line 17.
Reply With Quote
  #13  
Old 07-28-2005, 06:08 AM
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
Looking at this code, I had to take a double look. What the hell is this? Then I figured it out. Your a clown!
Well, if you find another way - let me know, as I don't see one

Does work fine for me without parse errors.
Reply With Quote
  #14  
Old 07-28-2005, 09:09 AM
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
Well, if you find another way - let me know, as I don't see one

Does work fine for me without parse errors.
So far I didn't. I kept this hack as a code hack right now and updated the installation information.
Reply With Quote
  #15  
Old 08-05-2005, 06:38 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hack has been updated.

2 changes.

1) No longer a code hack. This is now a plug-in with one file upload

2) links.php was changed to redirector.php


@KirbyDE, did I comeout with a much easier plugin? (and no errors)
Reply With Quote
  #16  
Old 08-05-2005, 06:54 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 Abe1
Hack has been updated.

2 changes.

1) No longer a code hack. This is now a plug-in with one file upload

2) links.php was changed to redirector.php


@KirbyDE, did I comeout with a much easier plugin? (and no errors)
I removed the download just now since I just realized a small problem.
Reply With Quote
  #17  
Old 08-05-2005, 07:11 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 Abe1
I removed the download just now since I just realized a small problem.
All fixed now You can download now guys.
Reply With Quote
  #18  
Old 08-05-2005, 11:50 PM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't show any title in the Plugin System Title area
Reply With Quote
  #19  
Old 08-07-2005, 12:26 AM
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 ???`S?LV?R???`
It doesn't show any title in the Plugin System Title area
Did you import into Products or into plugins? You should import into products and 2 plugins will be added.
Reply With Quote
  #20  
Old 08-07-2005, 12:51 AM
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
@KirbyDE, did I comeout with a much easier plugin? (and no errors)
Really nice solution
Unfortunately I can't use it, as I need special markup (Image in front of the URL) for external Links.
Reply With Quote
  #21  
Old 08-07-2005, 01:18 AM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very useful .. installed and working with no problems.
Clicked install.
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:29 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.04642 seconds
  • Memory Usage 2,328KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_php
  • (7)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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