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
Remove Posting Redirection (like vB3) Details »»
Remove Posting Redirection (like vB3)
Version: 1.00, by Brad Brad is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 04-24-2003 Last Update: Never Installs: 47
 
No support by the author.

Hack: Remove posting redirection.

By: Anime-loo

Current Version:
Pre Release: [high]1.2pr 1[/high]
Stable: [high]1.1[/high]

[high]What dose this do?[/high]

This hack will removed the redirection pages that apper after posting a reply/thread. Insted of seeing a "Thanks for posting, we are now sending you to..." message before a user is sent to their post, they are sent directly to it. On 56k ive noticed a big improvement in speed.

[high]Latest news:[/high]

12 - 26 - 2003:

Version 1.2 pre release 1 released, this version answers the request(s) of many that are using this hack. That is no redirection screens after editing a post or deleting it.

If you are using 1.1 you can upgrade to 1.2pr 1 via the second attachment in this post. At this time there is no install file for 1.2 pr 1, install 1.1 then upgrade.

[high]Modification info:[/high]

5 ([high]8 for 1.2 pr 1[/high]) file edits
(files: newreply.php, newthread.php, poll.php, editpost.php ([high]1.2 pr 1 only[/high]))
1 new template

Issues with other hacks: [high]READ BEFORE INSTALLING!![/high]

Xenon's Prevent Double Posting hack --

One extra code edit to newreply.php is required if you have this hack installed. [high][click here for the fix][/high]


Version History:
version 1.2 pr 1 update released!

-- Got rid of redirection after editing/deleting posts

([high]Un-tested, upgrade at own risk!![/high])

version 1.1 released! ([high]Stable[/high])

-- got rid of redirection page after posting poll
-- added custom template for redirection page if poll option is click on newthread/reply

version 1.0 released

-- Frist code release to public

Show Your Support

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

Comments
  #52  
Old 05-13-2003, 04:53 AM
OmaniMan OmaniMan is offline
 
Join Date: Nov 2002
Location: Oman
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Woow .. Its Great ...
I have just tested on Vb2.3.0 .. and worked great

hope to upgrade it to edit whole files ...
Well Done Anime - loo ...
Reply With Quote
  #53  
Old 05-13-2003, 06:21 AM
xware's Avatar
xware xware is offline
 
Join Date: Nov 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can easily do this.
open functions.php in editor

find:
$url = str_replace("\"", "", $url);
header ("Location: $url");
eval("dooutput(\"".gettemplate("standardredirect") ."\");");

replace with:
$url = str_replace("\"", "", $url);
header ("Location: $url");
// eval("dooutput(\"".gettemplate("standardredirect") ."\");");

works well!
Reply With Quote
  #54  
Old 08-04-2003, 04:42 AM
Opie Opie is offline
 
Join Date: Aug 2002
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
05-13-03 at 02:21 AM xware said this in Post #52
you can easily do this.
open functions.php in editor

find:
$url = str_replace("\"", "", $url);
header ("Location: $url");
eval("dooutput(\"".gettemplate("standardredirect") ."\");");

replace with:
$url = str_replace("\"", "", $url);
header ("Location: $url");
// eval("dooutput(\"".gettemplate("standardredirect") ."\");");

works well!
works great for me too. Thanks.

except I did this instead since header ("Location: $url"); isn't in my functions (2.3.0)

Code:
find:
$url = str_replace("\"", "", $url);

eval("dooutput(\"".gettemplate("standardredirect")."\");");

replace with:
$url = str_replace("\"", "", $url);
header ("Location: $url");
// eval("dooutput(\"".gettemplate("standardredirect")."\");");
Reply With Quote
  #55  
Old 08-12-2003, 05:32 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just what the doctor ordered - cheers.
Reply With Quote
  #56  
Old 08-14-2003, 10:26 PM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just installed it to 2.3.2 with no probs so far

"clicks install"

p.s. Not sure what the edit at the function.php is needed for (?)
Reply With Quote
  #57  
Old 08-21-2003, 08:59 PM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But what about skipping the "the post has been successfully edited" message? :cry:
Reply With Quote
  #58  
Old 12-28-2003, 05:27 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alien
Excellent job, it works perfectly for me!

I look forward to your editpost modification!
The modifications for editpost.php are now included in this hack, see the frist post for more details.
Reply With Quote
  #59  
Old 01-16-2004, 10:12 PM
tiedyetoga tiedyetoga is offline
 
Join Date: Sep 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason the it doesn't get rid of the redirect page after you make a new thread. Any suggestions?
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 01:21 AM.


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.04721 seconds
  • Memory Usage 2,286KB
  • 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_code
  • (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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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