Advertisement:

Author Topic: View Single Category  (Read 79794 times)

Offline Diego Andrés

  • Customizer
  • SMF Hero
  • *
  • Posts: 3,248
  • Gender: Male
    • DiegoSetroc on GitHub
    • @bihgetter 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,859
  • Mod King
    • 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.

Offline Diego Andrés

  • Customizer
  • SMF Hero
  • *
  • Posts: 3,248
  • Gender: Male
    • DiegoSetroc on GitHub
    • @bihgetter 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,859
  • Mod King
    • 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.

Offline confuseamuse

  • Jr. Member
  • **
  • Posts: 145
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: 71,389
    • StoryBB/StoryBB 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?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline confuseamuse

  • Jr. Member
  • **
  • Posts: 145
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,859
  • Mod King
    • XPtsp.com Community
Re: View Single Category
« Reply #167 on: August 02, 2017, 07:38:31 PM »
Let me look into this bug report....

Offline brynn

  • Full Member
  • ***
  • Posts: 515
  • 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)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: View Single Category
« Reply #169 on: March 05, 2018, 10:46:47 AM »
Uploaded v2.7 - March 5th, 2018
o Changed operations in Sources/QueryString.php for better compatibility.

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,873
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: View Single Category
« Reply #170 on: March 05, 2018, 12:36:00 PM »
I do not fully understand how it works ... but I'm going to try it if I catch it :P very good @dougiefresh thanks for sharing ;D.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: View Single Category
« Reply #171 on: November 09, 2018, 12:16:38 PM »
Uploaded v2.8 - November 9th, 2018
o No functionality change.
o Updated documentation to point to new website.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: View Single Category
« Reply #172 on: June 19, 2019, 07:42:04 PM »
Uploaded v2.9 - May 22, 2019
o Added support for SMF 2.1 RC2.
o Removed support for SMF 2.1 Beta 3.