Topic: [PunBB 1.3.4] Need Folder-based fancy urls to include category name

Hi!

I am new to PunBB. I am currently using PunBB 1.3.4. I was wondering if there is a way to modify the SEF url's generated by PunBB?

Currently a forum's location does not include the category name... I would like to change it to a simple:

  forum.uri/category-name/forum-name/

Any insight into this would be greatly appreciated.

Thanks
Kamal

Re: [PunBB 1.3.4] Need Folder-based fancy urls to include category name

To do this you should make many changes in the core.
You should edit the following:

  • the corresponding Forum urls and  rules;

  • forum DB requests to fetch title of a category;

  • SQL-requests to fetch title of category.

3 (edited by kamalx 2009-12-12 08:02)

Re: [PunBB 1.3.4] Need Folder-based fancy urls to include category name

Slavok wrote:

To do this you should make many changes in the core.
You should edit the following:

  • the corresponding Forum urls and  rules;

  • forum DB requests to fetch title of a category;

  • SQL-requests to fetch title of category.


@Slavok,

Thanks very much for your reply. I will look into the pointers you have given. Perhaps I would need some more help with regards to the files that I need to modify. I am currently going through the code and trying to understand how the url rewriting works.

Also, I am sorry if I am missing the point but I did not get the difference between the second and third point you have mentioned. Do not those two refer to the same task, that is getting the title of the category from the database? Sorry if that sounds too silly, but I am yet to understand well how punbb works. I am sure your reply would be instrumental in enlightening me on that smile

Thanks again!
Kamal