Support Forum

Breadcrumbs link to groups

CB Christine Baker
Christine Baker
Member

In my forum the breadcrumb links to GROUPS all go to the main forum instead of the group.

I noticed it works fine here, what did I do wrong? Whatever I did was a long time ago.

2018-6-12-breadcrumbs-HDD-forum.png

When I click on “Lake Mohave Ranchos Fire District” I get to the MAIN forum instead of the group.  Need to send the link to several people and don’t even know how to get the group link.

51 Answers

New Answer

MP Mr Papa
Mr Papa
Member

are you sure its a group?  you say it works here, but we dont have groups in our breadcrumbs…  so need to check…

but if you really want groups in the breadcrumbs, you will need to alter the call to the api… see this page for details:  https://simple-press.com/documentation/codex/api/template-functions-and-the-api/display-template-functions/common-view/sp_breadcrumbs/

basically need to add the groupLink argument with its url…  as always, that change should be made in your child theme or custom theme in the header template file..

CB Christine Baker
Christine Baker
Member

I can’t believe that those aren’t groups here, just forums?

I should have done that, somehow thought there was a purpose for groups.

I found my question here from 5 years ago:
https://simple-press.com/support-forum/sp5-general-topics/a-way-to-get-the-group-into-the-breadcrumbs/

I have no idea what I actually did back then (now I keep notes).  I just recently installed the child theme, I’m so lost.

I’ll just go with forums instead of groups.

CB Christine Baker
Christine Baker
Member

Well, not as easy as I thought.   I can’t move the forums outside of a group.  Frustrating …

I read the old 5 year old topic and lins (except the codex links didn’t work) and looked at my spHeadDesktop.php:

sp_BreadCrumbs(‘tagClass=spLeft spBreadCrumbs&tree=0&icon=&homeIcon=sp_CrumbsHome.png&truncate=35&groupLink=1’, __sp(‘Home’));

The group is in the breadcrumbs, but when I click on it, it loads the main forum page.

Now, copying the group link:
https://forum.highdesertdirt.com/mohave/?group=7

So why won’t it go there?

 

 

YS Yellow Swordfish
Yellow Swordfish
Member

I am somewhat confused as to what you are trying to say here and what it is you want to happen. And partly that is because at the top you said ‘I noticed it works fine here’ and, as @mr-papa pointed out, we do not show forum groups in our breadcrumbs. So I am a but lost about what ‘works’ here that you may be confusing with groups.

Also – in your last post you put a link in place to a forum group (Lake Mohave Rancho Fire District – LMRFD) and when I click on that link it just loads that specific group so are you saying that when you try it it does NOT load it?

Could you describe the problem you are having in a little more detail please?

CB Christine Baker
Christine Baker
Member

I can’t believe it, it’s Firefox.  That was my problem, not going to the group but just loading the main forum page. From the breadcrumbs or by clicking on the link I posted here. 

Since it works for you, I thought I’d give Chrome a try and it does load the group.

I have so many problems since the last Firefox major update, most of my addons don’t work anymore and I just don’t like it.

But, many people use it and this is weird.  How can this be?

YS Yellow Swordfish
Yellow Swordfish
Member

try emptying the browser cache in the firefox preferences. I am using Firefox and it is fine although I am using it in a Mac…,

CB Christine Baker
Christine Baker
Member

Sigh, earlier I wrote this long post describing everything I’ve done, including installing Chrome on my backup machine and it would not work on either computer in Firefox and Chrome until I reloaded my forum page — and then in worked everywhere.  I must have forgotten to submit that post 🙁

So now, a few hours later, once again, it does NOT work.  I’m so frustrated, finally recorded a screencast:

You can see that the links are correct:
https://forum.highdesertdirt.com/mohave/?group=7

In 25 years I’ve never seen anything like that.

CB Christine Baker
Christine Baker
Member

And then I click on the link I just posted in my last comment, and it works!

And the menu link and breadcrumb link work too.

I’m guessing, in a few hours the links will have forgotten where to go again.

MP Mr Papa
Mr Papa
Member

so if something is coming or going, definitely sounds like a caching issue…  you cannot really cache the forum since all its content appear on a single wp page and most caching systems get confused by this…

in fact, when I look at your page source, I see this:

<!-- Page supported by LiteSpeed Cache 2.3 on 2018-06-18 15:10:25 -->

which does seem to also indicate caching is in effect…

CB Christine Baker
Christine Baker
Member

I don’t even understand how caching relates to an URL.  I thought CONTENT is cached, not URLs.  What am I missing?

And, this is the ONLY issue!  I don’t have it here or at any other site.  It’s ONLY the group links, not any other link at my forum and I’ve been clicking around a lot since I’m just finally setting it up. 

I’ve moved many posts and forums, reorganized, and I could see how THAT might cause a problem. But it doesn’t, everything else works. Even right after I move posts or forums everything goes where it should go.

This makes no sense.   Group 7 has never been the main page, so how could that cache? 

It’s more like a redirect.  Sometimes.

CB Christine Baker
Christine Baker
Member

Just realized that I moved this site a few months ago and I don’t think the current server has lightspeed, so I deactivated the plugin.

Unfortunately, nothing changed, even when I click on the link HERE (that made it work earlier), still no go.

https://forum.highdesertdirt.com/mohave/?group=7

— hoped that this link might get it working again, but no luck.

Also don’t understand why it works for you and not for me.

YS Yellow Swordfish
Yellow Swordfish
Member

Caching systems work at page level. While a ‘page’ is defined by its content it is also uniquely tied to a specific and unique URL.

Does it work for me? It looks like it but as far as I can see that is the only group I have access to as a guest visitor. Is that correct?

SO I think you should determine whether this behaviour is just when you look at things as opposed to when other visitors look at the forum pages.

CB Christine Baker
Christine Baker
Member

There are several groups you should have access to. 

Like here:

https://forum.highdesertdirt.com/mohave/?group=10
https://forum.highdesertdirt.com/mohave/?group=8

You should see exactly what I had in the screencast.

And all groups have the same problem, just tried the links now, for the first time in at least months.  The fire district group has active discussions, that’s why I only looked at that group.

You brought up a good point, I have to test logged out too.  So far just focused on using a different computer and browsers and that made no difference.

It sure is odd that it’s ONLY the group links giving me trouble.

Something for tomorrow morning, my brain is fried.

YS Yellow Swordfish
Yellow Swordfish
Member

Those 2 links seem to work for me just fine again. oh dear…