vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - All External Link Redirect To anonym.to Site (https://vborg.vbsupport.ru/showthread.php?t=237329)

Mr_Devlin 11-29-2013 05:01 PM

Quote:

I am running: vB 4.2.2
I run this hack on 4.1.9 and it works well - I don't know why this error occurs on your vb...maybe the whole function is different for 4.2.x-versions. So reset the code to the default if this will not work

scoutz 12-09-2013 02:15 AM

Thanks for this.

Anyway I can get this to work with links inside of the [hide] bb code from the vFCoders - Hide Hack?
Works fine with the rest of the content.

magiccen 12-24-2013 01:38 PM

Instalado y funcionando!!!!! gracias.

ozzy47 12-24-2013 02:22 PM

Quote:

Originally Posted by magiccen (Post 2470354)
Instalado y funcionando!!!!! gracias.

Please keep all posts in English.

gsmlover4u 12-24-2013 03:16 PM

it will work with vbseo ?

richTV 12-28-2014 03:24 AM

the last few days, google has been reporting anonym.to as malware so i removed it on my site.

http://www.google.com/interstitial?u...p://anonym.to/

anyone heard about this?

thetechgenius 01-07-2015 05:06 PM

I coded a custom a script that redirects all external links to an Anonymizer URL. The addon has the javascript file for vBulletin that redirects the links, and it also has the Anonym PHP script that actually redirects the LINK Anonymously.

You can use a different domain or subdomain, or you could just use another directory of your main domain.

This is how I have it setup on my server:

My main domain is:

https://thetechgenius.net


My Anonym Domain (where the addon is installed):

https://ttechg.link

So when a someone clicks an anonym link on my vB forum at https://thetechgenius.net, the link will show like this: https://ttechg.link/?http://vbulletin.org

Note: You can actually click that Anonym link, and it will Anonymously redirect to vBulletin.org. And as you can see, it works for SSL/HTTPS also. Anonym.to doesn't work for SSL, because the server doesn't have SSL enabled.

You host all the files on your own server, so you are in control. You dont have to worry about Anonym.to going down.

I will be releasing the full Addon very soon. I am just cleaning up the javascript, and working out a few bugs. This addon should also work with any website, or web software. Its just Javascript and PHP.

chudvs 06-13-2019 08:06 PM

Quote:

Originally Posted by Mr_Devlin (Post 2463406)
That's weird...Ok, here is a little work around:

Open class_bbcode.php (same file you used above) and search for this code (around line 2383):

PHP Code:

        $rightlink str_replace(array('`''"'"'"'['), array('`''"'''', '['), $this->strip_smilies($rightlink)); 

Change it to:

PHP Code:

        $rightlink str_replace(array('`''"'"'"'['), array('`''"'''', '[','http://anonym.to/?'), $this->strip_smilies($rightlink)); 


Im running vb 4.2.5 and the class_bbcode.php code is different!

my code is... on line 2452

Code:

$rightlink = str_replace(array('`', '"', "'", '['), array('`', '"', ''', '['), $this->strip_smilies($rightlink));

so how to I change it so his code works?


All times are GMT. The time now is 05:04 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.01282 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete