PDA

View Full Version : Putting a category at different url?


Andy92
03-14-2008, 03:04 PM
Hey,

At the moment, i am running 6 categories on my vBulletin forum, each with forums in each category.

At the moment, everything is displayed at kedoa.com/forum

Is it possible to move one whole category to say kedoa.com/tutorials

??

So when you go to /forum, all the 5 categories are displayed, and then the 6th one will be displayed at /tutorials

???

Andy92
03-15-2008, 10:00 PM
Anyone know then?

Not even an addon or mod for this?

Dismounted
03-16-2008, 02:25 AM
A simple rewrite rule could achieve this. I'm not a mod_rewrite expert, so I can't provide any exact code.

dismas
03-16-2008, 02:58 AM
Do you mean like the way the tabs are set up here with Forums, articles, mods, and styles?

penagate
03-16-2008, 04:40 AM
Something like this.

/path/to/public_html/.htaccess
RewriteEngine On
RewriteRule ^tutorials$ forum/forumdisplay.php?f=XX [NC,QSA]


You might have to alter that based on your physical base path and so on.

If you're using URL rewrites, it's a good idea to put forum data in a completely separate folder (e.g. public_html/forum_data) to your virtual paths (e.g. example.com/forums).

Andy92
03-16-2008, 09:58 AM
Yeh, i mean i want it like the categories setup here.

Like Forums, Articles, Mods, Styles.

Basically, if i go to my vbulletin admin panel, and in the tutorial forum category settings, i turn active to off, so that it doesnt display the tutorials category at /forums, but if i know the url, then it displays it if i like the tutorials menu item to the category.

Just like here! Thats works, but the thing is, when i turn active to off, and then i type in the url to it, it doesnt display any of the new threads and thread counts in the sub categories. It says that each sub category has 0 posts and 0 threads?

Then when i click on the sub category all the threads and posts are listed there.

Does anyone know why its not counting the threads and posts when i turn active to off?

Dismounted
03-16-2008, 10:04 AM
Setting the display order to 0 also hides the category.

Andy92
03-16-2008, 10:31 AM
Yeh, i have set the diplay order to 0, and yes it does hide it.

But still, every sub forum says it has 0 posts, and that the last post was never. And then when you click on it, all the threads display!

Help? How does vbulletin.org do it here?

--------------- Added 1205680775 at 1205680775 ---------------

Ive been looking around, and lots of people that have done this and hiding forums, when you then go to them it doesnt display any thread or post counts.

This is in vBulletin 3.7 beta 5.

Dismounted
03-18-2008, 05:50 AM
Someone has reported the above issues as a bug on the Bug Tracker over at vBulletin.com. It is yet to be confirmed or dismissed.

Andy92
03-18-2008, 05:18 PM
Ok, yeh there is a fix for this issue.

:)

Brandon Sheley
03-18-2008, 06:02 PM
The only fix seems to be a rewrite, have you tried asking over at vbseo.com ?
They might be able to do what you're after.

cheers

Dismounted
03-19-2008, 05:32 AM
He is referring to this (http://www.vbulletin.com/forum/project.php?issueid=24911) fix.