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 the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
User avatar
TheHighwayman
Registered User
Posts: 28
Joined: Wed Jun 06, 2007 5:05 pm

Re: Instant Post Redirect

Post by TheHighwayman » Mon Mar 31, 2008 8:49 am

I'll move up the topic again.
I hope someone answer.

TheHighwayman
"The wind was a torrent of darkness among the gusty trees
The moon was a ghostly galleon tossed upon the cloudy seas
The road was a ribbon of moonlight over the purple moor
And the highwayman came riding, riding, riding,
The highwayman came riding, up to the old inn-door..."
(Alfred Noyes)

User avatar
TheBuzzSaw
Registered User
Posts: 49
Joined: Tue Dec 12, 2006 9:26 am
Location: USA (Idaho)

Re: Instant Post Redirect

Post by TheBuzzSaw » Sat Apr 05, 2008 5:16 am

Works like charm. Fabulous. :mrgreen:
Amateurs go until they get it right.
Professionals go until they never get it wrong.

megaark
Registered User
Posts: 3
Joined: Mon Nov 12, 2007 2:44 am

Re: Instant Post Redirect

Post by megaark » Sat Apr 05, 2008 7:38 pm

looks like a good mod. :)

User avatar
eVentureBiz
Registered User
Posts: 10
Joined: Thu Dec 27, 2007 4:42 pm

Re: Instant Post Redirect

Post by eVentureBiz » Thu Apr 10, 2008 9:49 pm

Sounds like a great mod, problem is I can't find anywhere that shows me how to install it?

Any help out there in pointing me in the right direction?

Thanks
John
My Community for Entrepreneurs | eVentureBiz.com - a Web 2.0 hosting company that's just cool!

User avatar
GurlzLubme
Registered User
Posts: 880
Joined: Wed Sep 01, 2004 11:21 am
Location: New York

Re: Instant Post Redirect

Post by GurlzLubme » Fri Apr 11, 2008 8:55 am

I installed this mod one version ago...

in my posting.php I see this line:

Code: Select all

// ipr_p
            if (strpos($redirect_url, '#') !== false)
            {
               $redirect_url = substr_replace($redirect_url, "&ipr_p={$data['post_id']}#", strrpos($redirect_url, '#'));
            }
its been a while, but this is from an earlier fix right? So I guess I am to remove this, and replace it with:

Code: Select all

// ipr_p
				if (($pos = strrpos($redirect_url, '#')) !== false)
				{
					$redirect_url = substr_replace($redirect_url, "&ipr_p={$data['post_id']}", $pos);
				}
correct?
1,000,000 Thank Yous to everyone who's been helping me on phpbb.com!

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: Instant Post Redirect

Post by igorw » Fri Apr 11, 2008 9:58 am

eVentureBiz wrote:Sounds like a great mod, problem is I can't find anywhere that shows me how to install it?
http://www.phpbb.com/community/viewtopi ... 9&t=724145
GurlzLubme wrote:its been a while, but this is from an earlier fix right? So I guess I am to remove this, and replace it with:

// code

correct?
Yes, that's correct. The effect is the same though, the new one is a tad more efficient. :)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

BeyondHelp
Registered User
Posts: 82
Joined: Wed Feb 13, 2008 4:29 pm

Re: Instant Post Redirect

Post by BeyondHelp » Mon Apr 28, 2008 2:45 am

Edited. Found answer.

abramelin
Registered User
Posts: 79
Joined: Sat Apr 08, 2006 6:31 pm

Re: Instant Post Redirect

Post by abramelin » Mon Apr 28, 2008 9:45 pm

does this mod works with phpbb-seo advanced mod ? and can you please be more specific on the ie fix add-on because there are more then 1 results for viewtopic.php editing.

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: Instant Post Redirect

Post by stokerpiller » Tue Apr 29, 2008 8:28 am

abramelin wrote:does this mod works with phpbb-seo advanced mod ? and can you please be more specific on the ie fix add-on because there are more then 1 results for viewtopic.php editing.
No, the IE fix doesn't work with the phpbb-seo advanced mod.
But You can use it without the IE fix.
Still works in Firefox and also in IE when using Evil QR :)
I am done with phpBB

Ciao121
Registered User
Posts: 239
Joined: Wed Jan 28, 2004 1:08 pm

Re: Instant Post Redirect

Post by Ciao121 » Tue Apr 29, 2008 2:57 pm

stokerpiller wrote:No, the IE fix doesn't work with the phpbb-seo advanced mod.
Changing

Code: Select all

$redirect_url = substr_replace($redirect_url, "&ipr_p={$data['post_id']}", $pos);
to

Code: Select all

$redirect_url = substr_replace($redirect_url, "?&ipr_p={$data['post_id']}", $pos);
in posting.php seems to work on my forum with ie and phpbb-seo.
Anything bad in this solution?
Apri il tuo forum gratuito in 1 minuto.

abramelin
Registered User
Posts: 79
Joined: Sat Apr 08, 2006 6:31 pm

Re: Instant Post Redirect

Post by abramelin » Tue Apr 29, 2008 3:06 pm

Ciao121 wrote:
stokerpiller wrote:No, the IE fix doesn't work with the phpbb-seo advanced mod.
Changing

Code: Select all

$redirect_url = substr_replace($redirect_url, "&ipr_p={$data['post_id']}", $pos);
to

Code: Select all

$redirect_url = substr_replace($redirect_url, "?&ipr_p={$data['post_id']}", $pos);
in posting.php seems to work on my forum with ie and phpbb-seo.
Anything bad in this solution?
what about the viewtopic file changes? there are more than 1 line from this;

Code: Select all

	trigger_error('NO_TOPIC');
}

Ciao121
Registered User
Posts: 239
Joined: Wed Jan 28, 2004 1:08 pm

Re: Instant Post Redirect

Post by Ciao121 » Tue Apr 29, 2008 3:12 pm

abramelin wrote: what about the viewtopic file changes? there are more than 1 line from this;

Code: Select all

	trigger_error('NO_TOPIC');
}
I changed only the first one (isn't this right?).
But has this anyting to do with phpbb-seo "solution"?
Apri il tuo forum gratuito in 1 minuto.

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: Instant Post Redirect

Post by stokerpiller » Tue Apr 29, 2008 3:48 pm

I will test Your solution Ciao121
I think a lot of people would like it if it works.
I am done with phpBB

Ciao121
Registered User
Posts: 239
Joined: Wed Jan 28, 2004 1:08 pm

Re: Instant Post Redirect

Post by Ciao121 » Tue Apr 29, 2008 3:51 pm

stokerpiller wrote:I will test Your solution Ciao121
I think a lot of people would like it if it works.
Let me know if it works on your forum :) I applyed it in a pre-production server... wait for feedback :)
Apri il tuo forum gratuito in 1 minuto.

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: Instant Post Redirect

Post by stokerpiller » Tue Apr 29, 2008 4:24 pm

It is working fine :D
It isinstalled here along with the Advanced SEO from phpbb-seo.com
http://www.stokershoppen.dk/bbcodes/testarea.html
Test all You like
Guests can post. Password is 789789
I am done with phpBB

Locked

Return to “[3.0.x] MOD Database Releases”