phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Return to post -1 when deleting


 
Search this topic... | Search General Support... | Search Box
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Author Message
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Mon Aug 09, 2010 8:20 am 
Post subject: Return to post -1 when deleting

Hi,

when deleting a post I always get redirected to page 1 afterwards.
But I would like to redirect to the page where I was.
Is it possible to edit this?

Best regards
Holger
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 653
Location: Texas


flag
PostPosted: Mon Aug 09, 2010 1:06 pm 
Post subject: Re: Return to post -1 when deleting

I'm sure it is. You would have to capture the page you're on and make sure that is passed into the delete post process, and then used when returning. I wrote something like that into the 'Tell a Friend' code used here. If you're on page 5 when you send the note to a friend, I wanted to make sure you went back to page 5 when you were done.
_________________
phpBBDoctor Blog
Back to top
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Mon Aug 09, 2010 1:19 pm 
Post subject: Re: Return to post -1 when deleting

I was thinking about if returning to the same page of the thread when deleting a post is a standard feature of phpBB2 or not!? Maybe I destroyed something while modding.
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 653
Location: Texas


flag
PostPosted: Mon Aug 09, 2010 2:03 pm 
Post subject: Re: Return to post -1 when deleting

When I tested, it returned me to page 1 after I deleted a post on page 2.
_________________
phpBBDoctor Blog
Back to top
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Mon Aug 09, 2010 2:09 pm 
Post subject: Re: Return to post -1 when deleting

Ok!
Back to top
Display posts from previous:   
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0143 seconds using 15 queries. (SQL 0.0022 Parse 0.0006 Other 0.0116)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo