Everything posted by Como
-
Disable 'Click & Hold' in Topic List View
That appears to work correctly, and does not affect 'click & hold' for titles appearing above individual topics. Just what I needed! Thank you @Marc.
-
Disable 'Click & Hold' in Topic List View
How would I go about disabling 'click & hold' editing of topic titles in topic list view? I still wish to retain click and hold for the title appearing at the top of the actual topic. Thanks.
-
Read/Unread Topics in Grid and Feed Views
For clarity, there was an error in my CSS at the time which caused all topic titles to display as bold in Grid view. I neglected to update my post here. Grid view (non-bold/ bold read/unread) works correctly.
-
Read/Unread Topics in Grid and Feed Views
We still use the feed view, but it would operate much better if read/unread topic status was indicated.
-
Group Icon Dark Mode
How might I change group icons in dark mode? Thanks.
-
Hook for all Forum Pages
I do have one question I need answering: following @Daniel F's instructions, the menu bar does not display on the home page. So I instead used the Page Editor to add a copy of the menu bar there. However, I cannot place it at the very top of the PrimaryColumn - it appears below an announcement. Whereas, when using the hook suggested by Daniel, the menu is placed above the same announcement. I would instead add the copy of the menu bar at the top of the home page via another hook, but I cannot locate the correct one. Any help would be appreciated.
-
Hook for all Forum Pages
My menu system now works pretty well. I entered in all the forum IDs by hand - there's a lot of them. And there are some more to add in some archived areas. It still would be very helpful to have a method to automatically fetch all sub-forums of the top-level categories so that I do not need to manually edit forum IDs when reorganizing the community. There is more to it than what I posted before - I'll post instructions if anyone has need of something like this. The menu bar displays at all levels, with the correct button indicated for the sub-community being viewed. Small bugs: When switching from clubs (which is one of the sub-communities) to one of the sub-communities comprising of true forums, the default button and associated sub-community are briefly displayed until the JS picks the intended target. When back-buttoning to the home page, the menu will switch to the default button and associated content. So, I need a way to make the the selected button stick until another is selected. All-in-all, I am quite pleased with it. It would be nice to make use of Invision's menu overflow system - I have restricted the menu bar to just five items and with short names so that it displays correctly on mobile devices. I tried having one version for mobile and another for desktop, but I ran into some technical problems. I might try tacking that again. Irrespective, making use of Invision's horizontal scrolling menu (as used for tabs in profiles) would be worth exploring.
-
Hook for all Forum Pages
A quick post to avoid any unnecessary by anyone reading this topic. I don't know what I am doing here (obviously); I am adapting the code from this post, to suit my needs. The only changes are to the last if statement: I removed ! from the second condition and removed two other conditions which seem unnecessary. {{$forumId = 0;}} {{if \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'forums'}} {{$forumId = \IPS\Request::i()->id;}} {{endif}} {{if \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'topic'}} {{try { $topic = \IPS\forums\Topic::loadAndCheckPerms( \IPS\Request::i()->id ); $forumId = $topic->forum_id; } catch( \Exception $e ) {};}} {{endif}} {{if ( \IPS\Request::i()->module == 'forums' AND in_array( $forumId, array( 174, 1 , 8, 90 ) ) ) }} MY MENU BAR {{endif}}It works. But I have a lot of nested forums (mostly archives of various kinds) and I must list each forumId separately. How would I go about having the array of forum IDs automatically apply to nested forums? I presume this is possible, but I would have idea of how to achieve this. If not, I guess I'll just have to laboriously add forum IDs. Thanks.
-
Hook for all Forum Pages
Hi @Daniel F Thank you for your help with this. To do that same within Clubs, would I simply replace 'forums' with 'clubs'? And is it possible to finesse the above to include additional conditions to check within which category the webpage is contained (so that I can select the relevant button in my new menu bar)? Thanks.
-
How to Display Clubs on Forums List Page
Hi all. I already had a pretty long list of categories and forums. And we have just expanded the community into another subject area. The categories/forums list was just a bit too long, and I wished to have two areas operate more as sub-communities, with additional common-area sub-communities or 'zones'. I subdivided my community into four zones using just HTML and CSS, with a menu bar above the zoned category/forums list view. It worked well, but I then added Clubs to the new menu. At this stage I was forced to add some JS so the the correct button and content are displayed when selecting a menu item from the Clubs page. It works. Unfortunately, the default button and its related content briefly display before the JS switches it to the correct button and content. This is untidy and I am unsure of the how the resultant repaint/reflow will affect my Google ratings. Alternatively, is there a way to display Clubs on the categories/forums list? This way I can use the HTML/CSS (which effectively hides* content unrelated to the selected button), without using JS, thus avoiding the problems with repaint/reflow? * I did not use display: none - I used an accessible alternative. Assuming there is a solution to the above, I also need away of adding the menu bar to topics list page and within topics with the correct, in context button selected. I can usually find my way through HTML and CSS, but please keep in mind that I have no knowledge of JS and how to use Invision's template logic. Thanks.
-
Suggestion: Text Editor Icons - Editable Alt Text - Usability
Hi, Almost invariably, the alt text associated with icons are a very poor match. They (sometimes) might work purely as descriptions of the icon, but they nearly always do not work for within the given content the icon might be used. From a usability perspective, we should have a method for editing icon alt text, either per use or globally.
-
Prefixes v5 - Closed Lists and Forced Use
'Prefixes' do exist - there are ACP options - but it appears that they are just a special type of tag and there is no granularity. Unless I am missing something, prefixes seem next to useless, at least for me.
-
Prefixes v5 - Closed Lists and Forced Use
Hi all, I would like to have a closed list of prefixes for one forum, and force members to choose a prefix. It appears that none of this is possible in v5 - is this correct? Thanks.
-
(Re)position Profile Photo (v5)
Ah. I was looking to see how I could adjust my present avatar. I did not realise (or had forgotten) that it must be done when uploading and before being saved.
-
(Re)position Profile Photo (v5)
Hi, How do members position their profile photo/image/avatar? I feel certain this was possible in the past, but I cannot locate how to do this now. Thanks.
-
Custom Sort - Topics I Started (as a Button)
Looking to pick some brains here. How would I go about recreating the Custom Sort, 'Topics I Started' as a button above topic title lists? Assume that I know nothing, which about right. I am unsure if I wish to have this for selected forums or all forums. So, instructions for both options would be helpful. Thanks. Actually, what would probably work better is if I could automatically display the topics started by the individual member at the top of the lost for a specific forum. We are attempting to force members to stick to a single topic on a particular forum. But if it has been some time since they posted to their topic, it will have disappeared off the first page, way down the list. And getting members to use Sort is too up hill.
-
Hook for all Forum Pages
Further to my previous reply, assuming I understand it correctly, might 'forums' be replaced with 'categories'? Edit: I think I better understand the above now - it makes the added HTML appear above all forum pages - yes? Having said that, I still do not properly understand what it does. Anyway, it is Christmas day - I do not expect to see you or anyone else here today. I should be offline too. Happy Holidays, all. Thanks.
-
Hook for all Forum Pages
Hi @Daniel F I am sorry - what does that do, exactly?
-
Hook for all Forum Pages
Hi @Cedric V. Thank you for commenting. I've been working on rejigging how categories are presented. Our community has a pretty long list of forums, and it is made longer by the use of the 'feed' layout. I wish to group some categories, and have other categories by themselves, accessible via a tabbed menu, above where the usual list of forums appears. I've actually gone down a similar route to the one you suggested, and ended up creating a custom block for new menu bar, and have added some CSS. I also wish to avoid using JS, and after an initial misstep of using 'display: none', I have manged to put together an accessible version, using absolute positioning and moving the superfluous forums left, outside of the viewport. I have yet to fully expand this out for all the forums, but it appears to be working correctly in my test theme. Not sure yet what issues might arise when the menu bar is located above the topic lists and topics - how to highlight the relevant menu item. I might need some help with that. Anyway, I just expected that there would be a single hook to add content (for my new menu bar) above the list of forums, topic titles and topics. But I could not locate it. Instead, I will use the page editor to add the menu bar at those three locations.
-
Hook for all Forum Pages
Maybe someone could edit the title to, 'Hook for all Forum Pages'. 🙄 Thanks.
-
Hook for all Forum Pages
Hi, Which hook do I need new content to appear above the main forum list, the category list page, topic title list pages, and topic? I need for this to appear above all all forum content. Or do I need to add several hooks to achieve this? If so, please advise. Thanks.
-
5.0.14 is now available!
I would need to change setting for what happens when clicking the topic title (at my site, it takes the member to the first unread post). At present, the disk/star takes the member to the opening post. Perhaps these swap if I change the title setting? But I am unwilling to test it as I do not know how members might be affected - a quick test might result in longer-lasting effects. I dunno. But anyway, those two functions are opposite to yours at my site.
-
5.0.14 is now available!
Hi @sharona. For some reason, this does not happen when I try it - clicking the ball/star takes me to the first unread post in the topic (not the opening post). Edited to add: I have selected the default behaviour for when clicking topic titles to take the member to the first unread post within the topic.
-
5.0.14 is now available!
Thanks, Gary, but that's not it. I took the comment from @sharona to mean that there is an option to override that setting (which I have set to 'Take me to comments I haven't read', which I do not wish to change) by clicking the disk/star next to the topic title in the forum topics list. But having now re-read Sharona's post, I think she means the options operate the other way around. That's fine (if it works - perhaps the option is dependent upon instead choosing the option 'Take me to the beginning'), but I do not wish to have that as default behaviour. Thank you anyway, Gary (and Sharona).
-
Indentation In Editor
Yes, we need this!