vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Remove ALL Redirects, No Bugs, All Browsers (https://vborg.vbsupport.ru/showthread.php?t=53762)

Nomb 06-02-2003 10:00 PM

Remove ALL Redirects, No Bugs, All Browsers
 
First, I created a new thread or Hack because I myself was having trouble getting this to work out right, although, I really can?t claim full credit for it. Other than thinking to combine a few hacks in a special way I didn?t do much. :)

These 2 hacks together (Sort of, I removed a lot from Anime-loo?s hack) make it work!

Anime-loo
Remove Posting Redirection (like vB3)

Tommy Boy
Remove Intermediate Redirection Page


What does this hack do?

This hack will remove ALL intermediate redirection messages from all pages (vB 3 style). In addition, when posting a reply to a thread you will be taken to the correct post, i.e. The post that was just created by yourself. This hack will work with all browsers.

Also, this hack works with the quick reply box just in case you were wondering.

Difficultly?

Easy: Edit 2 php files, admin/functions.php and newreply.php. Add one line of code and change 2 lines of code.

See attached text file for instructions. :D

UPDATE 9/26/2003

For instructions on using this hack in vB version 2.3.2 please click below:

https://vborg.vbsupport.ru/showpost....1&postcount=71

Curll 06-02-2003 10:29 PM

Hell yeah, Nomb! Installing it now!

Curll 06-02-2003 10:46 PM

Nomb, you are a prince among men :D


- RiZ

007 06-02-2003 10:50 PM

This is VERY similar to: https://vborg.vbsupport.ru/showthrea...t=redirections

:ermm:

WEForums 06-02-2003 11:24 PM

Quote:

Today at 12:50 AM 006 said this in Post #4
This is VERY similar to: https://vborg.vbsupport.ru/showthrea...t=redirections

:ermm:

That hack, however, has a lot of instructions and even an MySQL query. I think this one looks a lot easier and most likely better.

Not sure about it being anything new as it has been done by a lot of people, but still looks pretty good. I think I am going to try it.

Erwin 06-03-2003 12:10 AM

LOL! Very smart, using newpost rather than the postid in newreply. Now, why didn't I think of that! Good work.

alkatraz 06-03-2003 12:31 AM

that was painlessly easy! THANK YOU!!!

blackice912 06-03-2003 01:19 AM

Dude, thumbs up on this one.

Nomb 06-03-2003 02:20 AM

Quote:

Today at 07:10 PM Erwin said this in Post #6
LOL! Very smart, using newpost rather than the postid in newreply. Now, why didn't I think of that! Good work.
Bout time someone said something about this ... *nudge* :p

pucca 06-03-2003 02:29 AM

Wow, amazing. :) Thanks!

Lethal 06-03-2003 03:45 AM

hmm, i have the other one installed now. I think I might use this one. Thanks good job.

matthepepe 06-03-2003 04:28 AM

works great, that was a great idea on how this one functions.

Opie 06-03-2003 05:50 AM

Quote:

Yesterday at 08:10 PM Erwin said this in Post #6
LOL! Very smart, using newpost rather than the postid in newreply. Now, why didn't I think of that! Good work.

Not so great if you haven't read a few pages it won't take you to the last page.

Like how these forums are, it takes you to the top are a reply and my lazy self has to scroll down again. It's annoying..

Chris M 06-03-2003 09:01 AM

That is strange, because my version (similar to Karsten's) works perfectly and takes me to my last post:)

Nice idea though;)

Satan

WEForums 06-03-2003 10:05 AM

Why not use the postid? You could do showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forumid but it still takes you to the post ID.

Anyway, what's bad about it?

Nomb 06-03-2003 01:00 PM

Quote:

Today at 12:50 AM Opie said this in Post #13
Not so great if you haven't read a few pages it won't take you to the last page.

Like how these forums are, it takes you to the top are a reply and my lazy self has to scroll down again. It's annoying..

What are you talking about? I don't understand?

WEForums 06-03-2003 01:03 PM

Apparently vB.org does not redirect to the postid after a reply. Happens to me as well.

EDIT: I dunno, sometimes it does and sometimes it doesn't. I have ADSL and I let the page sit there for a few seconds after it says Done and still nothing happens (occasionally).

Chris M 06-03-2003 01:41 PM

Hmm...

I haven't noticed at vB.org, but at one of the developing sites I have it works fine:)

Edit: And it just re-directed me to my post just now;)

Satan

sphinx 06-03-2003 01:46 PM

very good m8 well done

OmaniMan 06-03-2003 04:07 PM

Great Hack :) ...
OmaniMan Has Install It *

corsacrazy 06-03-2003 04:32 PM

remarcably ez 2 install ;)

drumsy 06-03-2003 06:16 PM

Installed! :)

SouledOut 06-03-2003 08:35 PM

GREAT HACK! Now no one can critize my "Your being transfered back to your thread in 5...4...3...2...1..." message :-P and that many less templates I dont need to worry about.

SpeedStreet 06-04-2003 02:25 AM

ooh..I think I will try it

SpeedStreet 06-04-2003 02:32 AM

Wow...this rocks.

Nice work, very slim and tidy!

SpeedStreet 06-04-2003 02:33 AM

ooh...I do see it though...Every now and again, it kicks me back to the first page of a thread, and not to my post.

Crazy Pete 06-04-2003 08:04 PM

Excellent hack, I've been looking forward to this ever since I saw vb3. It's a subtle change, but it really does seem to increase speed on the boards, or at least give that impression. Great job!

Nomb 06-04-2003 08:56 PM

Quote:

Yesterday at 09:33 PM SpeedStreet said this in Post #26
ooh...I do see it though...Every now and again, it kicks me back to the first page of a thread, and not to my post.
Happened to me a couple times here (at vB.org) too.

I think vB.org needs to use this hack. ;)

EDIT: yea, vB.org is passing:

https://vborg.vbsupport.ru/showthread.php?s=&postid=12345

It's not adding the #12345 at the end

Erwin 06-04-2003 09:54 PM

The intermittent problem at vB.org is fixed now. :)

KelteN 06-07-2003 11:00 PM

Works great! Thanks man!

Parker Clack 06-08-2003 05:16 PM

On my board it doesn' take you to the last post but the 1st new post in the thread since you last logged on. Anyway around this?

Parker

Erwin 06-09-2003 01:50 AM

Quote:

Today at 04:16 AM Parker Clack said this in Post #31
On my board it doesn' take you to the last post but the 1st new post in the thread since you last logged on. Anyway around this?

Parker


Change newpost to lastpost and see if that works better.

S.Shady 06-09-2003 02:32 AM

I nominate this for the best damed hack ever made :) thank you works perfectly on 1.1.0 ;)

offtopic
-erwin i feel sorry who had to type that email domain ban list
/offtopic

cinq 06-09-2003 06:08 AM

Anyone got this on 2.2.9 ?

cirisme 06-09-2003 01:51 PM

Yes.

Nomb 06-09-2003 08:43 PM

Quote:

Yesterday at 12:16 PM Parker Clack said this in Post #31
On my board it doesn' take you to the last post but the 1st new post in the thread since you last logged on. Anyway around this?

Parker

This kinda shouldn't happen, err, sorta. I'm confused about how Jelsoft has a users lastvist and lastactivity. The query for goto=newpost grabs the postid where the dateline is greater than the users lastvist. For some reason lastvisit isn?t updated all the time like lastactivity is. I have no idea why they have two fields, lastactivity and lastvisit?!?

Like Erwin said, change:

goto=newpost

To:

goto=lastpost

The query for goto=lastpost simply finds the last post in the thread (The one you posted).

My text file in the original post has been updated.

Erwin 06-10-2003 02:33 AM

Quote:

Yesterday at 01:32 PM S.Shady said this in Post #33
offtopic
-erwin i feel sorry who had to type that email domain ban list
/offtopic

I didn't. eva2000, a vB.com team member, did it. :) I just link to it.

S.Shady 06-10-2003 04:49 PM

i didnt say you did. :) i just said i feel sorry for who did :) Must have taken awhile and to recheck them for errors :( i would have quit. lol

dslteam 06-11-2003 05:53 PM

I have installed it (2.2.9) but since i did it, the popup notification of the private messages doesn't word !!! it comes no popup!

any idea?

Nomb 06-11-2003 06:56 PM

This would not affect the pm popup. That is a global eval() that simply displays a template and has nothing to do with standard redirects.


All times are GMT. The time now is 04:46 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.01443 seconds
  • Memory Usage 1,808KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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