Organize Forum ID Numbers?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Seraphic
Registered User
Posts: 274
Joined: Wed Feb 15, 2006 8:20 am

Organize Forum ID Numbers?

Post by Seraphic »

Hi,

Is there a way to re-organize your forum ID numbers after you delete/create several forums in phpBB3?

So your forum ID numbers aren't from top to bottom: 2, 24, 5, 16, 11, etc.. know what I mean?

Thanks

User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm
Contact:

Re: Organize Forum ID Numbers?

Post by Phil »

This would require a script, and no such script has been written. What benefit would this have?
Moving on, with the wind. | My Corner of the Web

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51081
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Organize Forum ID Numbers?

Post by stevemaury »

Why on earth would you care?

But I guess you could go through the database and start replacing the forum numbers wherever they appear. Off the top of my head, that would be forums, posts, topics, forums_prune, etc. Then you would have to go through all the posts and change the internal links, because those would no longer work.

Then, if you added or deleted a forum, you could do it all over again.

Not worth it.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Seraphic
Registered User
Posts: 274
Joined: Wed Feb 15, 2006 8:20 am

Re: Organize Forum ID Numbers?

Post by Seraphic »

Well, if there no auto feature built in then it wouldn't be worth it.
My reason was to have it be organized. :D

User avatar
Marshalrusty
Project Manager
Project Manager
Posts: 29253
Joined: Mon Nov 22, 2004 10:45 pm
Location: New York City
Name: Yuriy Rusko
Contact:

Re: Organize Forum ID Numbers?

Post by Marshalrusty »

The reason this would be a bad idea is that it would break any links to those forums. The reason that IDs are used instead of, say, forum titles, is that of you decide to change the title, all links are still preserved.
Have comments/praise/complaints/suggestions? Please feel free to PM me.

Need private help? Hire me for all your phpBB and web development needs

faszerowany
Registered User
Posts: 20
Joined: Sun Jan 16, 2011 8:36 pm

Re: Organize Forum ID Numbers?

Post by faszerowany »

whether someone has a script that allows you to assign new id numbers for forums?

eg.
forum_id 13 to 1
forum_id 15 to 2

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22069
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket.

Re: Organize Forum ID Numbers?

Post by Mick »

Why are you bumping a three year old topic?

Please start a new one.
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

Locked

Return to “[3.0.x] Support Forum”