Welcome to WebmasterWorld Guest from

Forum Moderators: rogerd

Message Too Old, No Replies

phpBB help please

i want just topics and no categories



9:27 pm on Nov 10, 2004 (gmt 0)

10+ Year Member


I've just installed phpBB and I want to customize the forum so that the user comes in and isn't presented with a list of subforums and categories. Rather, they come in and see the list of posts on the first page.

Is this possible?

Thanks in advance,

Tim (phpbb novice)


9:40 pm on Nov 10, 2004 (gmt 0)

WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Tim, do you mean that you'll only have a single forum/topic which will contain all of the threads, and you'll just see the thread list when you arrive at the forum?

Joe Belmaati

10:24 pm on Nov 10, 2004 (gmt 0)

10+ Year Member

Timmy, is your phpBB in the root folder of your site, or do you have a homepage with a link to your phpbb? If the latter is the case, simply change the link from /phpbb/ to /phpbb/viewforum.php?f=1

That will make the entry point to your phpbb the viewforum page from forum 1.

If the former is the case things are a bit more tricky. You may consider a basic meta redirect or you could do an htaccess url rewrite, but this is a bit more tricky than a metatag redirect. If you don't mind sacrificing your phpbb indexpage you could simply rename it index2.php to keep it as a backup and put up a new index.php page in your phpbb root folder with code something like this:


That should do the trick, although I am sure there are smoother ways of doing it, such as using an htaccess rewrite condition - in your root folder htaccess file:

Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} /phpbb/index.php
RewriteRule .* /phpbb/viewforum.php?f=1

Using the above method requires that your site is on an Apache server with mod_rewrite turned on. If you want to test that you can copy this code:




name it phpinfo.php, put it in your root folder and call it in your browser. You will get a wealth of information about your server configuration. Search the page for mod_rewrite. If you find it chances are you should be able to tell wheteher or not it is available to you.
Obviously, substitute all instances of phpbb with the name of your phpbb folder.

Hope this helps.:)


10:49 pm on Nov 10, 2004 (gmt 0)

10+ Year Member

Firstly, thanks for the replies. I posted on the phpbb website and had no relpies. Just goes to show what a great forum this is.

The forum will be a part of the website and will be linked to from the main site. I want the forum to be incorporated into the look of the website which is fixed width, with left navigation. But that's a whole different topic.

So the idea of changing the link is excellent. Is it really that simple though? When people are taken to that link they will still see the category link at the top. But I guess it is the best and easiest option.

The only reason I want this is because I don't want the forum to have lots of categories, or even a few. The website is a new one but is similar to another community website where we changed the forum to phpbb and people didn't like it. They were used to the amateur bravenet type forums and didn't like the fact that there were so many clicks.

However I want to go with phpBB but just make it easy for the users. I'm sure it will prove a lively and active forum in due time and then we can start introducing categories.


Joe Belmaati

6:34 am on Nov 11, 2004 (gmt 0)

10+ Year Member

it is very easy to remove the category link and other redundant links and graphics. Let me know if you need any help with it. I'd be glad to help.


10:24 am on Nov 11, 2004 (gmt 0)

10+ Year Member

Okay, thanks. I'm going to work on it today and see how I get on.




Featured Threads

Hot Threads This Week

Hot Threads This Month