Support Forum

New and updated topics question

ME Meztli
Meztli
Member

Hi guys,

As i supose you know by now, i am creating a new reboot child theme and overlay. I stumbled into a issue i can not solve, but maybe some of you can help me.

I have 8 forums. Each has 5 subforums.

Exemple:

LotRO

–> Recruitment

–> Officers

WoW

–> Recruitment

–> Officers

and so on…

Due to the same name, it´s impossible to tell in the “new and updated topics list/rows” from which forum the subforum topics originate.

Would it be possible to show the forum/subforum url in the lists/rows instead of only the subforum name?

/wow/recruitment

/lotro/recruitment

etc

Thanks in advance!

12 Answers

New Answer

IK Ike
Ike
Member

Hey Meztli,

Unfortunately looking at the function sp_ListForumName, there is no argument for displaying forum parent along with sub forum name in list view..

I’m just going out but will take a look when I get back to see if there is a solution.

ME Meztli
Meztli
Member

Hi Ike,

Thanks for the reply.

We solved it for now by giving each subforum a unique name.

But it would be great if the “Unread and recently updated topics” rows could display forum parent along with sub forum name, just like the drop down list (new/updated topics) does when you are logged in.

However, when it comes to the rows, it would be fantastic if the forum parent along with sub forum was displayed for guests as well.

Thanks for all help. It´s much appricated.

Cheers!

IK Ike
Ike
Member

No problem, looks like re-naming is the way to go right now. Unless Andy or Steve have any more input then suggestion taken on board for now..

ME Meztli
Meztli
Member

Sorry for off-topic, but i am styling some plugin css files. Is it possible to make costum plugin css a part of the child theme, so they wont be over written by next update?

IK Ike
Ike
Member

How are you styling them? In the parent theme or the child theme styles folder?

You can add any .spcss file that Reboot uses (90% of available plugin styles, it’s missing a couple) to the child themes styles folder and it will be included as part of the parent themes CSS before the parents plugin styles.

ME Meztli
Meztli
Member

I tried to add the styling to my child theme css, but it did not work. So i placed the styling for this particular plugin in wp-content/sp-resources/forum-plugins/topic-description/resources/css/topic-description.css and it’s ofcourse working, but it will be gone in next update.

So if i understand you correct, i should add topic-description.css to wp-content/sp-resources/forum-themes/my child theme/styles folder?

IK Ike
Ike
Member

Yes, add it to your child themes styles folder but you have to change the extension to ‘spcss’ in either a parent or child theme i.e:

sp-topic-description.spcss

However, I’ve just checked and sp-topic-description.spcss isn’t part of Reboots plugin syles.. For it to work in the child theme it must first exist in the parent theme.

So, add it to Reboot and your child theme, make your changes to the one in your child theme, and I’ll open a ticket and make sure the next version of Reboot comes with it in it’s styles folder so you won’t have to add it again.

ME Meztli
Meztli
Member

One more question about “Unread and recently updated topics”.

Is it possible to increase the numbers of rows? I would like to have 8 instead of the current maximum 5. Did try to find it my selfs by browsing through a lot of Reboot php files, but i could not locate it.

YS Yellow Swordfish
Yellow Swordfish
Member

Can you tell me where you are referring to? Which list has a max 5 entries?

YS Yellow Swordfish
Yellow Swordfish
Member

No matter – I found it.

You need the spGroupViewDesktop.php template file (or the equivalent in a child theme).

Right down the bottom is the call

sp_RecentPostList('show=5&admins=1', __sp('Unread and recently updated topics'));

which you can see has the ‘show’ argument set to 5. Change the number to whatever you fancy.