PDA

View Full Version : Displaying main categories only.


milonguero
09-10-2008, 01:30 PM
I want to display a list of main forum categories as html links. Not like forumjump listbox. How can I do that?

Lynne
09-10-2008, 02:10 PM
If you just want them as plain html links, then just:

<a href="/forums/forumdisplay.php?f=xx">Forum Name</a>Is that what you are asking? :confused:

milonguero
09-10-2008, 05:48 PM
I want them as plain html links but I want the links to be generated automatically.

(Also post counts for each category would be nice)

Guest190829
09-10-2008, 06:14 PM
You're going to need some knowledge of SQL and PHP to do this, you could probably use the forum cache as a way to calculate the total post count of each categories...but it all depends where you want this data.

Lynne
09-10-2008, 06:33 PM
As Danny said, you'll have to write some code for that. There are so many factors that would go into which categories to grab - do you need to worry about permissions, order, only top level categories or all, etc. You could use the datamanager/datacache (which I don't know how to do), but you have to define exactly what variables you want to consider when spitting them out.

milonguero
09-10-2008, 06:48 PM
I tried to use forumjump variables but they don't work on forumhome.
I searched the addon forum. It seems that there are no addons for this.

Lynne
09-10-2008, 06:57 PM
There is an add-on to add a forumjump menu to the navbar. That code may help you out.

Navbar Forumjump- Adds a DHTML "Forum Jump" menu to your Navbar (https://vborg.vbsupport.ru/showthread.php?t=157353)

milonguero
09-10-2008, 08:15 PM
Thanks but this addon doesn't work on version 3.7.3

Collapsible navbar menu function works but table menu doesn't work.