Instant Post Redirect

All new MODs released in our MOD-Database will be announced in here. All support for released MODs needs to take place in here.

Instant Post Redirect

Postby MOD Robot » Sat Oct 13, 2007 10:42 pm

Modification name: Instant Post Redirect
Author: eviL<3
Modification description: Redirects instantly after posting a message instead of using meta redirection.
Modification version: 1.0.2
Tested on phpBB version: See below

Download file: instant_post_redirect_1_0_2.zip
File size: 30241 Bytes

Modification overview page: View


Selected tags:
  1. Category
    1. Add-Ons
  2. Complexity
    1. File Edits
  3. Time
    1. ~ 1 Minute
  4. phpBB
    1. 3.0.0

Support for this modification needs to be asked within this topic. The phpBB Team is not responsible or required to give anyone support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version listed in the topic. It may not work in any other versions of phpBB.
Last edited by MOD Robot on Fri Feb 01, 2008 1:36 pm, edited 1 time in total.
(this is a non-active account manager for the phpBB MOD Team)
MOD Robot
MOD Queue Bot
MOD Queue Bot
 
Posts: 22156
Joined: Sat Aug 16, 2003 7:36 am

Instant Post Redirect

Postby Highway of Life » Sat Oct 13, 2007 10:42 pm

Modification validated/released

Notes:
No more confirmation page after posting! Now you can go straight to your post, quite a nice little hack.
The phpBB Weekly Podcast Part I episode with special guest naderman has been released!

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how | phpBB Weekly Podcast co-host
User avatar
Highway of Life
QA Team
 
Posts: 5923
Joined: Wed Feb 02, 2005 5:41 pm
Location: Spokane, WA

Re: Instant Post Redirect

Postby eviL<3 » Sat Oct 13, 2007 11:01 pm

Yay, my first approved phpBB3 MOD! Thanks! :D
Igor Wiedler, former MOD Team Leader
Become a junior validator | MODX Creator | Submit your MOD
User avatar
eviL<3
Former Team Member
 
Posts: 7479
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}

Re: Instant Post Redirect

Postby lefty74 » Sun Oct 14, 2007 1:02 am

very nice, congrats evil :D
lefty74
zoocrew.eu - help us save our wildlife
Would you like me to install one of my mods for you? Read here for details
Please use the forums for mod support and not the pm function as I won't respond to them unless I asked you to pm me.
User avatar
lefty74
Registered User
 
Posts: 3368
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL

Re: Instant Post Redirect

Postby clight77 » Sun Oct 14, 2007 3:31 am

Any way this can go to topic instead of post ?

Thanks. :) .
Last edited by clight77 on Sun Oct 14, 2007 4:05 am, edited 1 time in total.
I Follow Up On My Posts.
So Should Everybody...
clight77
Registered User
 
Posts: 794
Joined: Sun May 11, 2003 11:09 pm

Re: Instant Post Redirect

Postby Highway of Life » Sun Oct 14, 2007 3:37 am

clight77 wrote:Any way this can go to topic instead of post ?
That’s ambiguous. A Post lies within a Topic, therefore redirecting to the post is also the topic, its one and the same.
The phpBB Weekly Podcast Part I episode with special guest naderman has been released!

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how | phpBB Weekly Podcast co-host
User avatar
Highway of Life
QA Team
 
Posts: 5923
Joined: Wed Feb 02, 2005 5:41 pm
Location: Spokane, WA

Re: Instant Post Redirect

Postby clight77 » Sun Oct 14, 2007 3:41 am

Highway of Life wrote:
clight77 wrote:Any way this can go to topic instead of post ?
That’s ambiguous. A Post lies within a Topic, therefore redirecting to the post is also the topic, its one and the same.


Maybe i should have said Thread then.
Instead of re directing to the post can it be made to re direct to the Thread ?
Or back to that forum ?

Thanks.
I Follow Up On My Posts.
So Should Everybody...
clight77
Registered User
 
Posts: 794
Joined: Sun May 11, 2003 11:09 pm

Re: Instant Post Redirect

Postby Highway of Life » Sun Oct 14, 2007 4:02 am

clight77 wrote:Maybe i should have said Thread then.
Instead of re directing to the post can it be made to re direct to the Thread ?
Or back to that forum ?
For the record, phpBB3 (by default) doesn’t have “Threads”. If you’re thinking going back to the forum (aka topiclist) that would be called a “Forum”. See the Official phpBB Podcast Episode #1 on http://podcast.phpbb.com for a description of correct terms used in phpBB2 and 3. :)
The phpBB Weekly Podcast Part I episode with special guest naderman has been released!

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how | phpBB Weekly Podcast co-host
User avatar
Highway of Life
QA Team
 
Posts: 5923
Joined: Wed Feb 02, 2005 5:41 pm
Location: Spokane, WA

Re: Instant Post Redirect

Postby clight77 » Sun Oct 14, 2007 4:08 am

Highway of Life wrote:
clight77 wrote:Maybe i should have said Thread then.
Instead of re directing to the post can it be made to re direct to the Thread ?
Or back to that forum ?
For the record, phpBB3 (by default) doesn’t have “Threads”. If you’re thinking going back to the forum (aka topiclist) that would be called a “Forum”. See the Official phpBB Podcast Episode #1 on http://podcast.phpbb.com for a description of correct terms used in phpBB2 and 3. :)


How about i put it this way for clarification then:
Is it possible to be re directed to:
Return To Forum Last Visited

I would sooner be taken back to last visited rather than last post.

Thanks :) .
I Follow Up On My Posts.
So Should Everybody...
clight77
Registered User
 
Posts: 794
Joined: Sun May 11, 2003 11:09 pm

Re: Instant Post Redirect

Postby clight77 » Sun Oct 14, 2007 4:28 am

By the way this mod does not work when deleting a post/thread or whatever. :)
I Follow Up On My Posts.
So Should Everybody...
clight77
Registered User
 
Posts: 794
Joined: Sun May 11, 2003 11:09 pm

Re: Instant Post Redirect

Postby mara7 » Sun Oct 14, 2007 7:15 am

is this mod using AJAX ?
User avatar
mara7
Registered User
 
Posts: 140
Joined: Wed May 11, 2005 5:59 pm
Location: Saudi Arabia

Re: Instant Post Redirect

Postby eviL<3 » Sun Oct 14, 2007 7:36 am

clight77 wrote:How about i put it this way for clarification then:
Is it possible to be re directed to:
Return To Forum Last Visited

I would sooner be taken back to last visited rather than last post.

That would be possible, instead of this code:
Code: Select all
redirect($redirect_url);

You would put:
Code: Select all
redirect(append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $data['forum_id']));


clight77 wrote:By the way this mod does not work when deleting a post/thread or whatever. :)

I know, it's called instant post redirect, not instant delete redirect ;).

mara7 wrote:is this mod using AJAX ?

No, it uses HTTP headers, more preciseley the redirect() function of phpBB. :)
Igor Wiedler, former MOD Team Leader
Become a junior validator | MODX Creator | Submit your MOD
User avatar
eviL<3
Former Team Member
 
Posts: 7479
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}

Re: Instant Post Redirect

Postby Krank » Sun Oct 14, 2007 8:48 am

Congrats eviL<3, a great MOD, I used it in 2 and using it in 3 :)
Image
phpBB3 Je t'adore: subSilver2 Based styles fan
proSilver, good, but too .... I don't know just too... :P
User avatar
Krank
Registered User
 
Posts: 179
Joined: Wed Sep 06, 2006 4:50 pm

Re: Instant Post Redirect

Postby eviL<3 » Sun Oct 14, 2007 8:48 am

Thanks :)
Igor Wiedler, former MOD Team Leader
Become a junior validator | MODX Creator | Submit your MOD
User avatar
eviL<3
Former Team Member
 
Posts: 7479
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}

Re: Instant Post Redirect

Postby Maël Soucaze » Sun Oct 14, 2007 11:47 am

Great MOD, congratz evil<3 :D !
MAËL SOUCAZE • OFFICIAL U.S. ENGLISH & FRENCH MAINTAINER AND TRANSLATOR
WHAT AM I DOING? FOLLOW ME ON TWITTER! •
聞くは一時の恥聞かぬは一生の恥
User avatar
Maël Soucaze
Translator
 
Posts: 247
Joined: Sun Nov 20, 2005 12:44 am
Location: Worldwide

Next

Return to [3.0.x] MOD Database Releases

Who is online

Users browsing this forum: crazygandalf, Dragonwolf, jeffpcox, klone, lovelysummer, lugsciath, novanilla, Oyabun1, posey, Redy and 49 guests