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
[VB3-RC2] vBRedirect v1.1 - Redirect to external pages with your banner above Details »»
[VB3-RC2] vBRedirect v1.1 - Redirect to external pages with your banner above
Version: 1.00, by JustJonno JustJonno is offline
Developer Last Online: Mar 2008 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 03-09-2004 Last Update: Never Installs: 15
 
No support by the author.

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.

Show Your Support

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

Comments
  #2  
Old 03-10-2004, 01:14 AM
draculanowaday draculanowaday is offline
 
Join Date: Feb 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I'll try it
Reply With Quote
  #3  
Old 03-10-2004, 01:43 AM
dirtymerc dirtymerc is offline
 
Join Date: Sep 2002
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 03-10-2004, 01:49 AM
JustJonno JustJonno is offline
 
Join Date: Jan 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 03-10-2004, 02:10 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we get a screenshot of what this will look like?
Reply With Quote
  #6  
Old 03-10-2004, 10:56 AM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This will be great for my board!
Reply With Quote
  #7  
Old 03-10-2004, 01:59 PM
Vb-Hispano's Avatar
Vb-Hispano Vb-Hispano is offline
 
Join Date: Feb 2003
Location: Barcelona Spain
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

thanks is lol
Reply With Quote
  #8  
Old 03-10-2004, 04:26 PM
stonecold1203 stonecold1203 is offline
 
Join Date: Jul 2003
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 03-10-2004, 05:13 PM
JustJonno JustJonno is offline
 
Join Date: Jan 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 03-10-2004, 05:49 PM
Fi_InCogNiTo Fi_InCogNiTo is offline
 
Join Date: Jan 2003
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 05:34 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.06085 seconds
  • Memory Usage 2,301KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_php
  • (2)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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