Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User selectable Redirections Details »»
User selectable Redirections
Version: 1.00, by Kars10 Kars10 is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-26-2003 Last Update: Never Installs: 13
 
No support by the author.

About this Hack:
With this feature, your users can decide to use the vBulletin-redirection pages or not.

Time to install:
15 min

Files to edit: 3
member.php, register.php, admin/functions.php

Templates to edit: 3
modifyoptions, registeradult, registercoppa

Templates to add: 0

[high]!!! PLEASE BACKUP YOUR FILES AND DATABASE, AND IF YOU LIKE THIS HACK LICK INSTALL!!![/high]

Have Fun Kars

Show Your Support

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

Comments
  #22  
Old 05-29-2003, 09:01 PM
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,061
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

todd.o.callen - No, it will give your users the option to remove the redirect pages after posting, editing their profiles, and etc... Like the page that says "Thank you for posting. You are now being taken to your post. Bla bla bla..."
Reply With Quote
  #23  
Old 05-29-2003, 09:15 PM
todd.o.callen's Avatar
todd.o.callen todd.o.callen is offline
 
Join Date: Oct 2002
Location: Indiana, USA
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whew!
Reply With Quote
  #24  
Old 06-05-2003, 07:58 PM
Sam FT's Avatar
Sam FT Sam FT is offline
 
Join Date: Apr 2003
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Kars I really like this hack alot, I have installed many of your hacks for my website. Just one error...it is the modifyoptions template. Right now the hack the background color as "#13486D", but it should be this { firstaltcolor} (minus the space in front of it). You may have the firstaltcolor in it, but forgot to add a space in front of it, so now it has parse itself. Just a minor error, no biggy. Thanks for creating this hack...because I hate the redirection but some of my members do...
Reply With Quote
  #25  
Old 06-09-2003, 09:51 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack i might install this one or possible just turn them off all together.
Reply With Quote
  #26  
Old 07-03-2003, 08:33 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi All...

I seems to have an issue now with this hack installed. FOr some reason, if you have it set to NOT show the redirect page, it affect the SUBSCRIBE TO THIS THREAD link and also the MARK FORUM AS READ link. It comes back with a...

"No forum specified. If you followed a valid link, please notify the webmaster"

The link looks like this...

If you have it set to SHOW the redirect, no issue.

Please advise. Thank you.
Reply With Quote
  #27  
Old 07-03-2003, 08:47 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well the link did not turn out right...sorry. But the issue seems to be in the functions.php file. But I can not figure out way.
Reply With Quote
  #28  
Old 07-03-2003, 09:13 PM
Parker Clack Parker Clack is offline
 
Join Date: Oct 2001
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

David:

I am not having an issue with either one. They all work just fine.

Parker
Reply With Quote
  #29  
Old 07-03-2003, 09:21 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't get it, works fine showing the redirect, but does not whe nI have it off. Here is the code I have in that section of functions.php...

Code:
  // ###################### Start standardredirect( #######################
function standardredirect($message="",$url="") {
  // print standard redirect page

  global $header,$bbuserinfo,$redirectonoff,$footer,$headinclude,$headnewpm,$toplinks,$forumjump,$timezone,$bbtitle,$hometitle,$bburl,$homeurl,$copyrighttext,$privacyurl,$contactuslink,$webmasteremail,$technicalemail,$faxnumber,$address,$companyname,$titleimage,$replyimage,$newthreadimage,$closedthreadimage,$lastvisitdate,$timenow,$session;

  $title=$bbtitle;

  $pagetitle = "$title";
  $errormessage = $message;

  // User selectable Redirection by Kars
  $url = str_replace("\"", "", $url);
  
if ($bbuserinfo[redirectonoff]==1) {
$redirectonoff = eval("dooutput(\"".gettemplate("standardredirect")."\");");
}else{
$redirectonoff = header ("Location: $url");
}
  exit;

}
// User selectable Redirection by Kars End

The link looks good when I however over it, but when I click it, it removes the action part of the statement.

Note...the action does occure however...I am unsubscribed from the thread for example.


Anyone?

David
Reply With Quote
  #30  
Old 07-03-2003, 10:34 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also seems to have the same error with the buddy link. Both Subscribe and Buddy use the Member2.php file. I am jsut at a loss and can not seem to locate the issue.
Reply With Quote
  #31  
Old 07-04-2003, 01:24 PM
Parker Clack Parker Clack is offline
 
Join Date: Oct 2001
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

David:

I still don't have any problems with this script on our forum. It works as it should either with the redirection turned off or on.

Parker
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 06:44 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.04623 seconds
  • Memory Usage 2,298KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (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
  • (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