skip post-post page

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
Taylor Hewitt
Registered User
Posts: 10
Joined: Thu Sep 15, 2005 12:20 am
Location: Canada
Contact:

skip post-post page

Post by Taylor Hewitt »

the page you get after posting a topic or reply - how do i disable it and make it go directly to the forum view page or topic view page.

thanks
Taylor Hewitt
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Post by Ramon Fincken »

try this:

open

root/includes/functions_post.php


find

Code: Select all

$meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';

replace with

Code: Select all

$meta = '<meta http-equiv="refresh" content="0;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';
this will directly redirect the user, but still has a very short stay on the page I'm afraid.



but hold on I'll take a look to completely bypass the confirmation page..

rfn
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
Hlaalu
Registered User
Posts: 50
Joined: Mon Aug 01, 2005 5:01 am
Location: Philadelphia
Contact:

Post by Hlaalu »

There is a mod for almost any redirecting you want:
http://www.phpbb.com/phpBB/viewtopic.ph ... t=redirect
BigBlockMopar
Registered User
Posts: 90
Joined: Tue Mar 08, 2005 3:15 pm

Post by BigBlockMopar »

There's a "Redirection Suite" available which does just that. I believe it's called like that anyway, but you might want to look around for it a little.

I'm using it aswell on my forums, and it works perfect.


EDIT... Hlaalu just beat me to the punch... ;)
Signatures are overrated...
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Post by Ramon Fincken »

Hlaalu wrote: There is a mod for almost any redirecting you want:
http://www.phpbb.com/phpBB/viewtopic.ph ... t=redirect


yes
Redirect to Forum II 1.2.0:
This has the same effect as Redirect to Forum, except for one change: the confirmation message is skipped completely.


is what we need here :)

rfn
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
Post Reply

Return to “[2.0.x] MOD Requests”