vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Two-Step External Links for Link Weight Retention (https://vborg.vbsupport.ru/showthread.php?t=217708)

NLP-er 07-05-2009 10:51 AM

Quote:

Originally Posted by aspen0 (Post 1843005)
I'm sorry NLP'er, I'm not understanding your issue.

so look on this link:
http://www.forum.simple-nlp.pl/exter...tp://www.wp.pl

There is an error about aess denied. But thi is not access to externalredirect.php, because when you go here:
http://www.forum.simple-nlp.pl/externalredirect.php

It generates. So somesthing is wrong with externalredirect.php code. Whad to do to have it working?

Sayid 07-05-2009 12:05 PM

Hi,

First I want to thank you, I like seo mods btw .

I,m afraid now before installing about this ,

Quote:

I think I know what is happening here, the image URL is being rewritten as a redirect as well, causing the image to fail and be broken. That would be my guess anyways.
Is it a bug ? I mean when install this mod , forums signatures that have external images will not displayed ??

aspen0 07-05-2009 12:21 PM

Quote:

Originally Posted by Sayid (Post 1843159)
Hi,

First I want to thank you, I like seo mods btw .

I,m afraid now before installing about this ,



Is it a bug ? I mean when install this mod , forums signatures that have external images will not displayed ??

it was fixed in the last update I believe.

aspen0 07-05-2009 12:22 PM

Quote:

Originally Posted by NLP-er (Post 1843130)
so look on this link:
http://www.forum.simple-nlp.pl/exter...tp://www.wp.pl

There is an error about aess denied. But thi is not access to externalredirect.php, because when you go here:
http://www.forum.simple-nlp.pl/externalredirect.php

It generates. So somesthing is wrong with externalredirect.php code. Whad to do to have it working?

I have no idea, there is nothing in the mod that would print out a page like that. It has to be a conflict with something you have on your server. A setting that handles query strings for PHP pages, a security setting that disallows URLs from being in query strings, something like that.

NLP-er 07-05-2009 12:45 PM

Quote:

Originally Posted by aspen0 (Post 1843162)
I have no idea, there is nothing in the mod that would print out a page like that. It has to be a conflict with something you have on your server. A setting that handles query strings for PHP pages, a security setting that disallows URLs from being in query strings, something like that.

:/ Ok - till solution mod dissabled. I send query to my hosting company - see do they will find out somesthing. Thanks anyway :)

Sayid 07-05-2009 01:05 PM

It works :)

But as I said about signatures,

it shows the url of the image like this

PHP Code:

http://i9.photobucket.com/albums/a58...o1ni0220-1.jpg 

when I click on it, it redirects me as expected .. And if there is an image without extension like attachments of other forums, it give another message in redirect page which is "Invalid url"

PHP Code:

http://localhost/123vb/externalredirect.php?url=http://i48.servimg.com/u/f48/11/38/19/72/110.jpg 

Note: I installed it in localhost forum.

btw, I think vbanonymizer does redirect . Is there a difference ??

Sayid 07-05-2009 01:31 PM

another small bug

URL that contains '&' gives the same invalid message in redirect page

example:

Code:

http://localhost/123vb/externalredirect.php?url=http://www.external.com/vb/external.php?type=rss2&forumids=56

NLP-er 07-05-2009 01:47 PM

Quote:

Originally Posted by Sayid (Post 1843177)
btw, I think vbanonymizer does redirect . Is there a difference ??

I just installed it - difference is that you don't have to make strange file edition which will disappear after next vb update like in this mod. Unfortunately i have same behavior like in this mod... So right now I'm sure that my problem is not with mod but something else...

TWTCommish 07-05-2009 03:41 PM

Quote:

Originally Posted by Sayid (Post 1843159)
Is it a bug ? I mean when install this mod , forums signatures that have external images will not displayed ??

I used a signature picture on my test forum and it worked fine, so I've been unable to duplicate the problem in question. I'm not sure if it's limited to this one user, who seems to have many modifications installed.

It also, in theory, shouldn't change it, if only because it only modifies links passed through vB's link creation function. Can't imagine that vB would be passing image URLs through that by default.

TWTCommish 07-05-2009 03:57 PM

1 Attachment(s)
Quote:

Originally Posted by Sayid (Post 1843191)
another small bug

URL that contains '&' gives the same invalid message in redirect page

I've attached an updated externalredirect.php file that relaxes the URL validating regular expression a bit. :) Thanks for bringing this to our attention!


All times are GMT. The time now is 09:15 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.01184 seconds
  • Memory Usage 1,750KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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