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
  #42  
Old 05-02-2003, 01:06 AM
ImportPassion ImportPassion is offline
 
Join Date: Mar 2002
Location: Gilbert, AZ
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would love to see more pages updated with this, as would all of us I think.

D
Reply With Quote
  #43  
Old 05-02-2003, 03:11 AM
Opie Opie is offline
 
Join Date: Aug 2002
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
04-25-03 at 10:44 PM Anime-loo said this in Post #22
Xenon's Prevent Double Posting hack fix:

----------------------------
Open newreply.php
----------------------------

Find:

PHP Code:
if ($visible) {
            
$goto "showthread.php?s=$session[sessionhash]&postid=" $lastpost['postid'] . "#post" $lastpost['postid'];
              } else {
            
$goto "forumdisplay.php?s=$session[sessionhash]&forumid=$threadinfo[forumid]";
              }
              eval(
"standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");
              exit;     
      } 
Replace with:

PHP Code:
if ($visible) {
            
$goto "showthread.php?s=$session[sessionhash]&goto=lastpost&threadid=$threadid";
              } else {
            
$goto "forumdisplay.php?s=$session[sessionhash]&forumid=$threadinfo[forumid]";
              }
              @
header ("Location: $goto");
              exit;     
      } 
// Dev note - if user has double posted he had the last post in thread anyway. Showthread link was changed because of this.
Everything works find and all, but when I post it doesn't take me to my post, takes me to the first page. I have the double post hack installed and really don't want to uninstall it because of this.

Is there some code to add or something?

Another thing is that it doesn't do it on ome new forums I added..

Seems to only do it every now and then.. any ideas?
Reply With Quote
  #44  
Old 05-05-2003, 09:34 PM
sonic3d's Avatar
sonic3d sonic3d is offline
 
Join Date: Jan 2002
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack is conflicting with the multi-quote hack. if u want to quote a person it will just reply with only the quote. it will not take you to the screen to add ur comments. is there neway to fix this?

l8er
sonic
Reply With Quote
  #45  
Old 05-06-2003, 08:58 AM
exTracT exTracT is offline
 
Join Date: Apr 2002
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this hack work with 2.2.8?
Reply With Quote
  #46  
Old 05-06-2003, 09:11 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 05:34 PM sonic3d said this in Post #43
this hack is conflicting with the multi-quote hack. if u want to quote a person it will just reply with only the quote. it will not take you to the screen to add ur comments. is there neway to fix this?

l8er
sonic
Recheck your code. I have the multi-quote hack installed and it runs fine with this hack.

exTracT - I am running it with 2.2.9 so, yes, it will work fine with 2.2.8.
Reply With Quote
  #47  
Old 05-06-2003, 09:42 AM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works good, nice job.
Reply With Quote
  #48  
Old 05-06-2003, 07:32 PM
mymilkexpired mymilkexpired is offline
 
Join Date: Mar 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im liking this hack alot! i have many users who are going to like it

Any luck on doing this to the other pieces? Seach, Edit, etc....
Reply With Quote
  #49  
Old 05-06-2003, 09:10 PM
sonic3d's Avatar
sonic3d sonic3d is offline
 
Join Date: Jan 2002
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 05:11 AM Boofo said this in Post #45
Recheck your code. I have the multi-quote hack installed and it runs fine with this hack.

exTracT - I am running it with 2.2.9 so, yes, it will work fine with 2.2.8.
which one do u have installed?
chens or xiphoid

i will recheck it agian but iam sure that i will get the same results

l8er
sonic
Reply With Quote
  #50  
Old 05-06-2003, 09:18 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They are the same hack.
Reply With Quote
  #51  
Old 05-07-2003, 04:58 AM
week9 week9 is offline
 
Join Date: Jan 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
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 07:05 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.05192 seconds
  • Memory Usage 2,316KB
  • 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_php
  • (3)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
  • (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