Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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

Version: 3.0.3 Rating:
Released: 10-16-2004 Last Update: Never Installs: 55
 
No support by the author.

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

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 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: 1 minute

Files to edit: 1
Files to upload: 1

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
  #32  
Old 10-24-2004, 02:41 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 djohn
how can i make the script exclude site-wide links? for example, i would not like to open a redirection popup, if the link is to another topic or part of my site.
Tell your users to use the [thread] and [post] BB codes.
Reply With Quote
  #33  
Old 10-27-2004, 04:06 AM
turkforum turkforum is offline
 
Join Date: Oct 2004
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack installed and saved a bunch of money on my car insurance
Reply With Quote
  #34  
Old 11-02-2004, 09:14 PM
Mone' Mone' is offline
 
Join Date: May 2002
Location: Australia
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ae1 , great hack work almost perfectly for normal url
however if you have url like this one:

Code:
http://support.microsoft.com/default.aspx?scid=kb;en-us;832790
the links.php will redirect to:

Code:
http://support.microsoft.com/default.aspx?scid=kb
cutting the ";en-us;832790" part at the end of the url.

the weird thing it's that it work perfectly in firefox but my user get's the problem with IE6 sp2 with links like the above example.

Do you know how to fix it ?

thank you

Mone'
Reply With Quote
  #35  
Old 11-04-2004, 02:30 AM
pco pco is offline
 
Join Date: Jul 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

you can use javascript to redirect instead of the meta-tag.

In links.php instead of

Code:
<META HTTP-EQUIV="refresh" content="0; URL=<? echo $site; ?>"></HEAD>
use this

Code:
<script type="text/javascript">window.location.href="<? echo $site; ?>"</script></HEAD>
You'll still have the title "Redirecting..." (just use the global phrase $vbphrase['redirecting'] instead no hardcoding for compatibilty with other languages) but it will redirect you right away even better and faster than the meta tag, no "extra info page" either Tested with internet explorer 5.5 and 6.0, no "cut offs"



Quote:
Originally Posted by djohn
how can i make the script exclude site-wide links? for example, i would not like to open a redirection popup, if the link is to another topic or part of my site.
In functions_bbcodeparse.php first change this:

Code:
function handle_bbcode_url($text, $link, $type = 'url')
{
	global $wysiwygparse;
to this:

Code:
function handle_bbcode_url($text, $link, $type = 'url')
{
	global $wysiwygparse, $vboptions;
in order to have access to vboptions first. Now again at around line 1480 or so use this:

Code:
	if ($type == 'url')
	{
		// standard URL hyperlink
                $lenbburl=strlen($vboptions['bburl']);
                if ( substr($vboptions['bburl'],0,$lenbburl) == substr($rightlink,0,$lenbburl) ) {
			return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                } else {
			return "<a href=\"" . $vboptions['bburl'] . "/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                }
                
	}
	else
Good luck
Reply With Quote
  #36  
Old 11-27-2004, 11:45 PM
teamgofast teamgofast is offline
 
Join Date: Nov 2004
Location: chicago burbs
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

install, great hack thank you!
Reply With Quote
  #37  
Old 12-28-2004, 11:47 PM
H2k H2k is offline
 
Join Date: Apr 2004
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by azmi
our related link is with an infoframe:
http://redirect.koelnboard.de/redire...p://google.com

i saw it @giga and i think it works very well ;-)

text on the left:
the koelnboard is not responsible for the content
text on the right:
close infoframe
can we use anther url like said thati dont need to usemy url i need to use google.. so if TheUser enter forumssiteother.com and the forumssiteother.com check his log or state to find where poeple come from etc.. it will show from google if they was enter from my site.?
Reply With Quote
  #38  
Old 01-17-2005, 03:52 PM
aranthorn's Avatar
aranthorn aranthorn is offline
 
Join Date: Jun 2004
Location: Chicago
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just the ticket!
Reply With Quote
  #39  
Old 01-22-2005, 06:03 AM
Sin City Sin City is offline
 
Join Date: May 2003
Location: Florida
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack
Reply With Quote
  #40  
Old 05-11-2005, 04:15 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djohn
suggestions: replace return return
HTML Code:
"<a href=\"http://www.yourwebsite.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
with
HTML Code:
"<a href=\"$vboptions[bburl]/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
for future versions: per-forums setting, whether to use this hack or not.
Are we supposed to make this modification? What is it's benifit?
Reply With Quote
  #41  
Old 05-11-2005, 04:28 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 Bubble #5
Are we supposed to make this modification? What is it's benifit?
Up to you.
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 12:53 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.08809 seconds
  • Memory Usage 2,313KB
  • 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
  • (7)bbcode_code
  • (2)bbcode_html
  • (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
  • (4)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