New style links

Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here.
Forum rules
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
User avatar
Chris Archer
Registered User
Posts: 27
Joined: Fri Apr 07, 2006 7:51 am
Location: Russian Federation
Contact:

New style links

Post by Chris Archer »

In phpBB 2 link to topic looked just like this:
mysite.com/phpBB/viewtopic.php?t=123

now it's:
mysite.com/phpBB/viewtopic.php?f=4&t=123

but old style also works.

What's the difference? Why does it form link in new style if old one works too?
The mirror never sees itself.
The reflection never is itself.

muhaidib
Registered User
Posts: 57
Joined: Tue Jun 28, 2005 7:33 am

Re: New style links

Post by muhaidib »

u know if you remove the f=4& from the link u will still get to this topic

for example click on this

viewtopic.php?t=25065

u will get to the topic :D

User avatar
Eelke
Registered User
Posts: 606
Joined: Thu Dec 20, 2001 8:00 am
Location: Bussum, NL
Contact:

Re: New style links

Post by Eelke »

Yes, but the question is, why have the f= in the URL in the first place, then?

I think it has something to do with differing styles per forum, and maybe also with global announcements (that do not belong to a single forum, but can be reached through any forum).

User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: New style links

Post by Highway of Life »

Hmm... interesting thought, I have liked the fact that it is there, but I have not been sure why... I should test it. :D
Image

Cap'n Refsmmat
Registered User
Posts: 219
Joined: Tue Jan 25, 2005 11:31 pm

Re: New style links

Post by Cap'n Refsmmat »

If &f= is not there, the small "Who is Online" box at the bottom switches to all users online, not just those in this particular forum.

User avatar
naderman
Consultant
Posts: 1727
Joined: Sun Jan 11, 2004 2:11 am
Location: Karlsruhe, Germany
Contact:

Re: New style links

Post by naderman »

One reason is that the forum parameter is required for global topics to be displayed correctly.

Cap'n Refsmmat
Registered User
Posts: 219
Joined: Tue Jan 25, 2005 11:31 pm

Re: New style links

Post by Cap'n Refsmmat »

naderman wrote: One reason is that the forum parameter is required for global topics to be displayed correctly.

Can it not be omitted for regular threads, and the forum ID gathered from data out of the topics table in that case (so you can do the "users browsing this forum" feature)?

User avatar
dhn
Registered User
Posts: 1518
Joined: Wed Jul 04, 2001 8:10 am
Location: Around the corner
Contact:

Re: New style links

Post by dhn »

Cap'n Refsmmat wrote: Can it not be omitted for regular threads, and the forum ID gathered from data out of the topics table in that case (so you can do the "users browsing this forum" feature)?
There are more benefits like being able to use it for createing nice MOD rewrites.

Example:
/forum/new-features-discussion/t/158802

APTX
Registered User
Posts: 680
Joined: Thu Apr 24, 2003 12:07 pm

Re: New style links

Post by APTX »

Wasn't there something about using the correct forum style on global topics?
Don't give me my freedom out of pity!

User avatar
dhn
Registered User
Posts: 1518
Joined: Wed Jul 04, 2001 8:10 am
Location: Around the corner
Contact:

Re: New style links

Post by dhn »

APTX wrote: Wasn't there something about using the correct forum style on global topics?

This was said by naderman 3 posts up. Please read the topic before you reply. :)

Post Reply