Support Forum

Sub-Forums not showing in correct order

42 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

If you take a look at – and spend a few minutes looking through the spForumView.php template in the /templates folder of your SP theme then you will see the section that handles the sub-forum display. It is marked with comments at both start and end.

This can be moved down – the whole section – and pasted in between the end pagelinks and the start of the editor section and that should do what you want.

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)

 

 

ME Meztli
Meztli
Member

Hello guys

I got problem with this issue again (last SP version).

If i drag a forum to a subforum position and click save, the forum ends up in an completely different forum group.

I simply can not drag a forum to a subforum position.

I did try to deactivate all other plugins, but it did not make any difference.

Please help!

YS Yellow Swordfish
Yellow Swordfish
Member

As far as we are aware the underlying routines are now solid. Any residual problems are most likely to do with old data structures that had some minor corruptions that did not manifest themselves as far as the display went.

Please do note that I do say ‘as far as we are aware’ and we can only base this on feedback and reports from users.

I would the the following. Do not use the overall ‘all groups/forums’ ordering tool to begin with with but use the individual option at forum Group level. So one Group at a time. Load up the ordering panel for a group and then update without making any changes. Do this for each group.

Look at the results in the Manage Groups and Forums listing. If any top-level forums are in the wrong Group then use the Edit Forum panel and specify their correct group location and save. If any sub-forums are in the wrong parent then use the edit forum panel to move them individually.

When this is done then go back to the group level ordering panel and move them about within the group until they are correct and then save.

This sounds long winded but can actually be a fairly quick and simple task depending perhaps on the number of forums you have defined. Perhaps an initial backup of the database might not be a bad thing. What we are looking to do here is clear the old data relationships that had become corrupted which this approach should do.

MP Mr Papa
Mr Papa
Member

good news… we would be interested though, in knowing if you could now use the reordering tab…  with everything in the db aligned, does it work now?

ME Meztli
Meztli
Member

Mr Papa said
good news… we would be interested though, in knowing if you could now use the reordering tab…  with everything in the db aligned, does it work now?

Hi Steve,

No, it´s only doable via the group level ordering panel.

Cheers

YS Yellow Swordfish
Yellow Swordfish
Member

How many groups and forums are you running in total? I wonder if it is simply exhausting the POST variables allowed by your php setup…

ME Meztli
Meztli
Member

Hi Andy,

The forum have:

  • 9 Groups
  • 25 forums
  • 30 subforums
YS Yellow Swordfish
Yellow Swordfish
Member

Depending on your php ini settings that could just be enough to blow the POST variable limit. I will see if I can find anything out…

ME Meztli
Meztli
Member

Yellow Swordfish said
Depending on your php ini settings that could just be enough to blow the POST variable limit. I will see if I can find anything out…

Thanks Andy!

MP Mr Papa
Mr Papa
Member

if you can update your php.ini file, might be interesting to see what happens if you increased post_max_size or max_input_vars (php 5.3.9+)…  think the default 1000 and rather small if large form submitted….