Advertisement:

Author Topic: View Single Category  (Read 72453 times)

Offline Diego Andrés

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,059
  • Gender: Male
  • We know, we'll be coming
    • DiegoCortes on GitHub
    • @comeladrillos on Twitter
    • SMF Tricks - Free & Premium Themes
Re: View Single Category
« Reply #160 on: September 20, 2015, 11:20:07 PM »
Hi, I believe there's some kind of issues while using this mod and Alias Boards.
When I access a category its working normal but, there's a blank category below with an empty board (empty of name and pretty much everything) and it's gone when I removed all the alias.

Thought you'll now better where should I modify to get this fixed.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,358
    • XPtsp.com Community
Re: View Single Category
« Reply #161 on: September 21, 2015, 01:08:54 PM »
Hi, I believe there's some kind of issues while using this mod and Alias Boards.
When I access a category its working normal but, there's a blank category below with an empty board (empty of name and pretty much everything) and it's gone when I removed all the alias.
Because I read the Alias Boards mod thread long long ago, I happen to know that the way the Alias Boards mod is implemented is to blame for this particular nasty bug.....  What happens when the Alias Boards mod is installed is all board information is gathered for the Board Index.  When it is displayed, we can easily display the aliased boards on the Board Index because we have the information already pulled to do so.  When you throw in the Single Category mod in the mix, all of a sudden, the aliased boards don't work.  This is because the query was changed to ONLY pull the boards from the specified category, making any aliases worthless because all the board information isn't loaded....

In all likelihood, the changes will somehow need to be made in the Alias Boards mod so that the information is available within a single category.  That mod has been marked for a revamp to correct issues such as board ordering with aliases mixed in....  I seriously doubt any changes will need to be made in the Single Category mod.
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline Diego Andrés

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,059
  • Gender: Male
  • We know, we'll be coming
    • DiegoCortes on GitHub
    • @comeladrillos on Twitter
    • SMF Tricks - Free & Premium Themes
Re: View Single Category
« Reply #162 on: September 21, 2015, 03:20:08 PM »
Great, I'm moving my eyes into that support topic then.

Thank you.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,358
    • XPtsp.com Community
Re: View Single Category
« Reply #163 on: July 06, 2017, 09:07:25 AM »
Uploaded v2.6 - July 5th, 2017
o Added support for SMF 2.1 Beta 3.
o Removed support for SMF 2.1 Beta 2, as well as SMF 2.0.8 and older.
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline confuseamuse

  • Jr. Member
  • **
  • Posts: 127
Re: View Single Category
« Reply #164 on: August 02, 2017, 04:56:13 PM »
I have a problem with this mod and it occurs when you click on a link in the path whilst in a topic (seen above as such):


If you click on the category name whilst in a topic, it directs you to a page with nothing below the path. The url also reads:

Code: [Select]
forum.com/index.php?c=7Instead of:
Code: [Select]
forum.com/index.php?action=forum;c=1
How would I correct this error?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 67,877
    • Arantor on GitHub
Re: View Single Category
« Reply #165 on: August 02, 2017, 05:21:20 PM »
So there's a conflict between whatever portal mod you use and this mod, and I'm not sure what the correct URL should be since intercepting process flow that early on really isn't a good idea for mod compatibility.

So, let's start with that, which portal mod do you use?
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline confuseamuse

  • Jr. Member
  • **
  • Posts: 127
Re: View Single Category
« Reply #166 on: August 02, 2017, 07:36:21 PM »
So there's a conflict between whatever portal mod you use and this mod, and I'm not sure what the correct URL should be since intercepting process flow that early on really isn't a good idea for mod compatibility.

So, let's start with that, which portal mod do you use?

Now that you've said this, it might be the PrettyUrls mods that's causing the conflict.

I also use SimplePortal.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,358
    • XPtsp.com Community
Re: View Single Category
« Reply #167 on: August 02, 2017, 07:38:31 PM »
Let me look into this bug report....
NOTICE:  My website is back up!

My Free Simple Machines mods on XPtsp.com and Simple Machines Customization Site!
My mods are being uploaded and are available at GitHub as well!

Offline brynn

  • Jr. Member
  • **
  • Posts: 346
  • Gender: Female
    • Inkscape Community
Re: View Single Category
« Reply #168 on: September 21, 2017, 11:43:15 PM »
Hi Friends,  (sorry, longish)
I've just run into the last issue reported here, too.  I think I've seen those kind of links referred to as "breadcrumbs", although I tend to think of it more as a link-path.

Anyway, for example, you've just finished reading a topic, and you want to go back to the same category (for whatever reason).  Find the link-path/breadcrumbs, and click on the category.

For me, it actually opens a page.  Every single category opens the same URL (https://forum.inkscapecommunity.com/index.php?c=3).  I don't know why that URL opens this page, because that's not the URL for that page.  The page it opens technically is an article in the Tiny Portal mod.  But it's real URL is either https://forum.inkscapecommunity.com/index.php, or https://forum.inkscapecommunity.com/index.php?page=28.  I have no idea how "c=3" got to be on the end, or why the whole URL opens that page.

SMF 2.0.14
Tiny Portal 1.2 (need to upgrade)
View Single Category 2.4 (need to upgrade)

I can list all our mods, if necessary (around 45).  I made a topic which you can use for testing:  https://forum.inkscapecommunity.com/index.php?topic=769.0  I don't think you'll need to register.

Oh, this is interesting!  I have another SMF forum which uses Simple Portal.  (Let's call the first one IC for Inkscape Community, and let's call this one ICD Inkscape for Cutting Design.)  https://www.inkscapecuttingdesign.com/smf/index.php

In ICD, clicking the category, no matter where you click the link (from the index page, or link-path in an open topic) it simply uses something like an html anchor.  Instead of opening a new portal page which displays only the category (as it does in IC) it simply changes which part of the index page you're looking at.  It puts whatever category you clicked at the top.  But if you scroll, you can still get to the rest of the index page.  In IC, the mod actually makes a new portal page, with only that category on it - even if you scroll, only that category is on the page.

I don't know, maybe that anchor-like behavior is a fallback or something, if a particular theme isn't compatible?  But I thought worth a mention.

The main issue is in IC where the link does not open the category (in any way).

Sort of off topic:
If it can be explained in a relatively simple way, could someone explain why this issue is not a bug?  Why is clicking on a category, not opening a category, not a bug?  I mean, I certainly appreciate that we have this mod to fix it.  But it seems to me like the forum's code should be fixed instead. 

I don't remember what clicking on the category does (since I've had this mod for a while).  But I don't know what could be considered more appropriate than clicking on a category  to open that category.  This really is the only complaint I've ever had about SMF (compared to other forum software).
End off topic

Anyway, let me know if I can help with testing and stuff.  Or if you need any more info.
Inkscape Community  (SMF with Tiny Portal)

Inkscape for Cutting Design  (originally a phpBB forum, converted to SMF, and using Simple Portal)