Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
All External Link Redirect To anonym.to Site Details »»
All External Link Redirect To anonym.to Site
Version: 1.00, by rajubd rajubd is offline
Developer Last Online: Jan 2016 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.x Rating:
Released: 03-02-2010 Last Update: Never Installs: 45
Auto-Templates
 
No support by the author.

this hack will redirect all your link to anonym.to site

Example :
Without Hack Link
http://www.symbiantalk.net/

After Hack Link
http://anonym.to/?http://www.symbiantalk.net/


Just Add This Small Script Anywhere In Your Footer Template

Code:
<script src="http://js.anonym.to/anonym/anonymize.js" type="text/javascript"></script>

<script type="text/javascript"><!--
protected_links = "";

auto_anonymize();
//--></script>
Thats All

Show Your Support

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

Comments
  #52  
Old 09-29-2013, 11:47 AM
MrsTryst MrsTryst is offline
 
Join Date: Jan 2009
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*marked Installed*

Works in 4.2.1 HOWEVER When i added code in footer at the start, it never worked. Moved code to the end of footer and works perfectly.
Reply With Quote
  #53  
Old 09-30-2013, 09:07 AM
Mr_Devlin Mr_Devlin is offline
 
Join Date: Nov 2005
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by psd_hunter View Post
Could someone please help me with this code and explain me how I can exclude my own website URL , and maybe some others from this?

I need my own board Url beeing untouched from this redirecting when Users post links to threads within my board.

Code:
// standard URL hyperlink
        return "<a href=\"http://anonym.to/$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="nofollow"' : '') . ">$text</a>";
How does the code need to look like with the protected links inside?
Thanks a lot guys 'n gulls.

Cheers,
psd_hunter
It's not possible to exclude an URL in this simple way.
All Links will be transferred via the anonymizer-service. In my opinion there's no need to exclude any external link.

In the "ACP --> General settings" you'll find the option "Post Referrer Whitelist" where you can define friendly urls, that may pass the anonymizer.
Reply With Quote
  #54  
Old 11-18-2013, 06:59 AM
Achelos Achelos is offline
 
Join Date: Oct 2013
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm very new to this, can someone please explain where this "Footer Template" is?
Reply With Quote
  #55  
Old 11-18-2013, 07:38 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Log into your admin panel.

Go to Styles and Templates. (click on it)

Click on Style Manager

This will expand and show you the current skins you have installed.

Find the skin you are currently using.

In the drop down menu - click on style variable editor.

Click edit templates

Scroll down the list presented and find "footer"

Hope it helps!
Reply With Quote
  #56  
Old 11-18-2013, 07:42 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Achelos View Post
I'm very new to this, can someone please explain where this "Footer Template" is?
Goto your Admincp:
admincp -> Styles & Templates -> Style Manager --> Dropdown box (on right): "Edit Templates" --> Scroll till you find "footer" --> Then Click on it.

vBulletin Manual
http://www.vbulletin.com/docs/html/s...edit_templates

I hope it helps
Reply With Quote
  #57  
Old 11-18-2013, 08:00 AM
Achelos Achelos is offline
 
Join Date: Oct 2013
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you guys, wonderful

I edited the parent, so any child will take this change along as well.

I do have an additional question though, this does not seem to work for https-links. I reckon this is a fault from anonym's js-script?

Additionally, I noticed one has to refresh the page to see if it works. Is there a way to auto-refresh after a post? The userbase will stay small, so I'm not going to be murdering the server here
Reply With Quote
  #58  
Old 11-22-2013, 03:58 PM
Mr_Devlin Mr_Devlin is offline
 
Join Date: Nov 2005
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Achelos View Post
I do have an additional question though, this does not seem to work for https-links. I reckon this is a fault from anonym's js-script?...
Have a look at Post 42. That's the way to transfer any url via the given anonymizer. NOTE: Don't forget to roll back the changes you made in the footer template!

Quote:
Originally Posted by Achelos View Post
Additionally, I noticed one has to refresh the page to see if it works. Is there a way to auto-refresh after a post? The userbase will stay small, so I'm not going to be murdering the server here
Add an meta tag to headinclude template:

Quote:
<meta http-equiv="refresh" content="X; URL=your.forumindex.php">
content=X means in seconds the time for refreshing
URL should be your forumhome index...

Note, that this kind of refresh will cause heavy server loads; it will be also not useful when posting...

Easier way is to use <CTRL>+<F5> (or <F5> only>...
Reply With Quote
  #59  
Old 11-23-2013, 10:40 PM
Achelos Achelos is offline
 
Join Date: Oct 2013
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mr_Devlin

That post42 edit results into links like:
Code:
http://anonym.to/http://anonym.to/http://anonym.to/http://anonym.to/http://anonym.to/http://anonym.to/http://seenive.com/
It seems to have the tendency to work cumulative, redirecting a redirection that's redirected through a redirection, if you catch my drift.

Also a shame that the footer-hack doesn't seem to be compatible with this: https://vborg.vbsupport.ru/showpost....postcount=1941 I am using the 7.84 version (without collapse)
Reply With Quote
  #60  
Old 11-24-2013, 05:53 PM
Mr_Devlin Mr_Devlin is offline
 
Join Date: Nov 2005
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
That post42 edit results into links like:
Code:
http://anonym.to/http://anonym.to/ht...//seenive.com/
It seems to have the tendency to work cumulative, redirecting a redirection that's redirected through a redirection, if you catch my drift.
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('`''&quot;'''''['), $this->strip_smilies($rightlink)); 
Change it to:

PHP Code:
        $rightlink str_replace(array('`''"'"'"'['), array('`''&quot;'''''[','http://anonym.to/?'), $this->strip_smilies($rightlink)); 
Reply With Quote
  #61  
Old 11-27-2013, 04:51 PM
Achelos Achelos is offline
 
Join Date: Oct 2013
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've done this, but it results in this error:

Code:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/id787280/domains/someforumname.com/public_html/includes/class_bbcode.php on line 2406
I am running: vB 4.2.2
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 11:15 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.04570 seconds
  • Memory Usage 2,335KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (2)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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