vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [VB3-RC2] vBRedirect v1.1 - Redirect to external pages with your banner above (https://vborg.vbsupport.ru/showthread.php?t=62332)

JustJonno 03-09-2004 10:00 PM

[VB3-RC2] vBRedirect v1.1 - Redirect to external pages with your banner above
 
What It Does:
This script will provide you with a redirect page for all the links people put on your site using the URL tags.
It opens a new page with your own customisable banner and text on top and the external link opens within a seperate frame setup by the script. Useful if you want users to stay on your site but still check out posted links. All the banner .gif header attributes are setup from within a template so you don't need to go editing php files to change the look of it.

Installation Type:
Installation is easy and will take approx 5 mins when following the install.html included.
Experiance Level: Amature
Install Time: 5 mins
PHP Edit?: No file edits needed, AdminCP access needed.

Support:
Support for this script is available and will be answered either here or On Our Forums.

Hope you like my first mod, i normally write full code, not hack other peoples :)

JJ

---------------------------------------------------------------------------
[edit] 11-march-04 01:29 ; Fixed the www and http problem with the links, its recommended you update the redirect.php if you have already installed, or install this again.

draculanowaday 03-10-2004 01:14 AM

Thanks, I'll try it

dirtymerc 03-10-2004 01:43 AM

installed, mad some changes, not bad overall, but you should really merge the two cells and make the image be top aligned and left aligned.

JustJonno 03-10-2004 01:49 AM

Quote:

Originally Posted by dirtymerc
installed, mad some changes, not bad overall, but you should really merge the two cells and make the image be top aligned and left aligned.

notice taken :) i'm going to see what other kind of response i get from it and then i'll go about updating it for positions etc..

thanks for the comments so far

JustJonno

Boofo 03-10-2004 02:10 AM

Can we get a screenshot of what this will look like?

ryancooper 03-10-2004 10:56 AM

This will be great for my board!

Vb-Hispano 03-10-2004 01:59 PM

installed

thanks is lol :D:D:D

stonecold1203 03-10-2004 04:26 PM

Nice hack...

I get this error though

Not Found
The requested URL /forum/www.google.com was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

JustJonno 03-10-2004 05:13 PM

Quote:

Originally Posted by stonecold1203
Nice hack...

I get this error though

Not Found
The requested URL /forum/www.google.com was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

hmmm.. thats strange.. are you sure you copied the templates and phrases across correctly? If you want me to see the error PM me with a link to your forum and i'll take a look

JJ

Fi_InCogNiTo 03-10-2004 05:49 PM

I get the same. It has to be some sorta bug I think.

When you post an url like this on the forums:

www.clanboard.com

It won't work. It will add a / in front and look for /www.clanboard.com

But if you post the url as:

http://www.clanboard.com

It works fine.

You can test it on my board: www.pc-nerd.com

I looked over some code. Looks like this code in functions_bbcodeparse.php may be a prob or not?

PHP Code:

if ($type == 'url')
    {
        
// standard URL hyperlink
        
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
    } 

Also, when you click"Click HERE to go back to the post" it takes you back to the last page you looked at if you visit links inside the new page. It only takes you back to the post if you don't visit any links inside the new page.

See attached screenshot for the /www error.


All times are GMT. The time now is 04:52 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.01059 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (2)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
  • (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