1 (edited by xerx 2008-10-28 23:14)

Topic: topics on main page

Hello,

I've been using punbb on my website www.passive.bg and I am very happy with it.
I was wondering is there any way to make topics appear on the main page when opening the forum section on the site?
The only thing I could do is make category and then submit topics to it.

I would be very thankful if someone could help me with this one.

thanks in advance smile

Re: topics on main page

Do you mean you do not need categories/forums and want to see the topics list at the index?

Carpe diem

3

Re: topics on main page

yes, exactly smile

can you help?

Re: topics on main page

xerx wrote:

yes, exactly smile

can you help?

Simple "hack":
1. Have one category.
2. Have one forum.
3. Replace viewforum.php, line 34 with $id = <your only forum id>.
4. Rename index.php to index.old.php. Copy viewforum.php (modified) to index.php.

Not sure that's all, but try to start from this :-)
Categories/forums will remain enabled, but will not be visible to the users.

Carpe diem

5 (edited by xerx 2008-10-31 15:00)

Re: topics on main page

hello,

I have tryed what you'v suggested, but this hack seems to not work.
It's also not very clear in point 4. what exactly should I do? What I've done is renaming viewforum.php to index.php and putting it on its place. In viewforum.php I've changed the id to 2, which is my forum and it still doesn't work.

You can see the result ot www.passive.bg/forum.php

would appreciate if you could further help me with this one.

thanks smile

Re: topics on main page

1. http://www.passive.bg/forum/viewforum.php?id=2
2. http://www.passive.bg/forum/viewforum.php

1. must be equal to 2.
Hardcode id into viewforum.php.
And AFTER that copy it in place of index.php.

Just follow the steps I've described:

Anatoly wrote:

1. Have one category.
2. Have one forum.
3. Replace viewforum.php, line 34 with $id = <your only forum id>.
4. Rename index.php to index.old.php. Copy viewforum.php (modified) to index.php.

The links above tell me that you did not do this or did this incorrectly. Recheck/try again please.

Carpe diem

7

Re: topics on main page

yeah,

it worked. I just pasted this link as a link to the forum http://www.passive.bg/forum/viewforum.php?id=2 and I think it's ok now.

thanx so much for your help!

regards