Support Forum

Sub-forums vertical instead of horizontal?

LI lisalew
lisalew
Member

Is there a setting or a theme that lists the sub-forums underneath the forum heading vertically (like this http://www.phototalkforum.com/forum/) instead of in a list of horizontal links?

 

Also, is there a way to list the birthdays of the members? (Not critical of course, just curious)

36 Answers

New Answer

MP Mr Papa
Mr Papa
Member

subforum display, yes, if I follow you…  this is group view right?  then add a stack=1 argument to the sp_ForumIndexSubForums(); template tag call in the group view theme template file for the theme you are using…

so for the default theme, would be

     sp_ForumIndexSubForums('stack=1', __sp('Sub-Forums'), __sp('Browse topics in %NAME%'));

as we recommend, dont actually modify one of our themes, copy one and create your own theme so its safe on updates…

BrandonC just started this code entry, but it should help creating a theme:

http://codex.simple-press.com/codex/themes/creating-a-theme/

our documentation for 5.0 is just beginning, so you will have to bear with us for a while until we get it up to snuff…

TY tyeung
tyeung
Member

lisalew said

Is there a setting or a theme that lists the sub-forums underneath the forum heading vertically (like this http://www.phototalkforum.com/forum/) instead of in a list of horizontal links?

 

In version 4.4.5 and 4.5.0, the subforums could be “hidden” in the main view and then displayed stacked vertically when you actually opened the particular forum.

 

When using the code mentioned above, the subforums are shown stacked vertically in the main view, but they are still showing horizontally when you enter the forum.

 

Anyway to hide them in main forum view?   and how to stack vertically after entering the forum itself?

YS Yellow Swordfish
Yellow Swordfish
Member

On the first point – can you hide them – then yes. The move to templates means you just need to edit the correct template in your SP theme folder. Simply remove the call to display sub-forums if it is not wanted.

On the point of them being stacked in forum view this was missed in the new template tag. We have a ticket to add this option and it will be there before too long.

TY tyeung
tyeung
Member

Yellow Swordfish said

On the first point – can you hide them – then yes. The move to templates means you just need to edit the correct template in your SP theme folder. Simply remove the call to display sub-forums if it is not wanted.

On the point of them being stacked in forum view this was missed in the new template tag. We have a ticket to add this option and it will be there before too long.

cool.  Just removed that statement so the subs are hidden.

 

Look forward to the subforum stacked view!

 

thanx guys!

TY tyeung
tyeung
Member

stacked version… looks terrible as I have to figure out some of the other markup to separate the header from the subforums but hopefully I can MacGyver it.   I wish the default theme and fonts that are showing your current support forum would carry over completely so all I had to do was just change the background of the boxes to burgundy, and I’d be a happy camper!!

 

forumpic-sub-stacked.jpg
TY tyeung
tyeung
Member

and here it is… subforums hidden…

 

just need the “last posted” column to update when someone posts a topic within a subforum (there are items in there that were posted last night during testing which as you can see, don’t show) and we’ll be golden!

 

forum-groupstacked.jpg
TY tyeung
tyeung
Member

Mr Papa said

ticket is open for us to look at…

Awesome thanks.  Should the “default theme” that you guys are using in this very forum appear more or less the same in terms of sizing when we install on our own site?  I’ve checked all the css styles and I can’t see how my fonts are so tiny on my install compared to this default theme.  The only thing I changed was going to the sky-red overlay and tried that stack statement, but the size of all the fonts are so small so I had to increase font size %’s everywhere.

 

Having said that, after doing the 5.0 build upgrade tonight, I have some weird behavior on the dropdown boxes… The “recently updated topics” drop down is smaller than the “select forum” dropdown and you can see it did something strange with the bounding box.  Haven’t changed anything with respect to the dropdowns so don’t know why they look like that.

 

12-8-2011-1-47-17-AM.jpg
YS Yellow Swordfish
Yellow Swordfish
Member

There is no guarantee – no matter how we have worked to try and avoid it – that your WP theme will not have influence on the forum display/ Non-targeted CSS rules defined at too high a level can still determine display flow.

But are you saying that all this only changed after an update to the SP theme itself?

TY tyeung
tyeung
Member

Yellow Swordfish said

There is no guarantee – no matter how we have worked to try and avoid it – that your WP theme will not have influence on the forum display/ Non-targeted CSS rules defined at too high a level can still determine display flow.

But are you saying that all this only changed after an update to the SP theme itself?

Yes, just the drop downs changed…  everything else is still fine.

 

although now I can’t do anything as per my last new post about the theme file not being found..  aggghh

TY tyeung
tyeung
Member

reinstalled the “stack” theme again and things are back… and I can choose between both.

 

The drop downs in the “stacked” theme are also doing that funny resizing thing and I’ve tried various other overlays – the one I did the modifications to (in order to hide the sub-forums) was the sky-red.php, but even if I revert back to any of the other untouched overlays, still same thing with the funny drop downs…

YS Yellow Swordfish
Yellow Swordfish
Member

Same problem – javascript conflict of some sort.

SP sptab
sptab
Member

tyeung said

and here it is… subforums hidden…

 

just need the “last posted” column to update when someone posts a topic within a subforum (there are items in there that were posted last night during testing which as you can see, don’t show) and we’ll be golden!

 

forum-groupstacked.jpg

I was wondering if this issue has been fixed ?

I am experiencing the same with my forum, latest SP 5, latest default theme.

( http://www.arctablet.com/blog/forum/arnova-10-g2/ )

MP Mr Papa
Mr Papa
Member

so what arguments are you calling the last post template tag with?  by default the subforums should be included in the last post column…

there is a includeSubs=1 argument you can pass in the argument list to the sp_ForumIndexLastPost() template tag which tells whether or not to include the subforums…  the default is 1… 

so I doubt you changed it to 0, but need to check….  and latest means RC build 7652 on core and default theme 1.0.7?