Ibai
-
Posts
327 -
Joined
-
Last visited
Reputation Activity
-
Ibai reacted to Adlago in Add width and height to reactions
1. Loading = lazy makes loading icons delay, but does not onload them after loading the page, data-src should be added
2. Actual size of icons is 24 x 24, so this size should be specified in link
3. For responsive rendering, you should also add, for example, class=react, respectively, add the necessary in the custom css, and neutralize the original max sizes from the framework css.
4. Link should be edited in templates reactionBlurb and reactionOverview
I use this:
Link edited
<img class="react" src='{expression="\IPS\Text\Parser::blankImage()"}' data-src='{$reaction->_icon->url}' alt='{lang="reaction_title_{$reaction->id}" escape="true"}' width="24px" height="24px" loading="lazy"> Custom css
.react{width:28px;height:28px} .ipsReact_reactCount img {max-width: 28px;max-height: 28px;} @media screen and (max-width: 767px) { .react{width:20px;height:20px} }
-
Ibai got a reaction from abobader in Add width and height to reactions
Hi,
Another thing I always change in every template I customize is the size of the reaction icons. This is sth suggested and reported by PageSpeedTest.
You can find in reactionOverview template bit, for instance:
<img src='{$reaction->_icon->url}' alt="{lang="reaction_title_{$reaction->id}" escape="true"}" loading="lazy"> I always change for the folloging
<img src='{$reaction->_icon->url}' alt="{lang="reaction_title_{$reaction->id}" escape="true"}" loading="lazy" width="28" height="28"> There is another template bit to change: searchReaction.
Any chances to have this as standard? Do you think it's a good idea?
Cheers,
Ibai
-
-
Ibai got a reaction from Adlago in 500 Error. Community off / Admin CP working... HELP!!
Wow... what a work!
I found in this community another member experiencing same issue... It was Theme related...
I created a new theme and the website came back... Still, I don't know what happened. I've performed all the changes comparing both templates and I have my website back. Seems the theme became corrupted, because ALL the changes I had in my previous theme are working...
-
Ibai reacted to Randy Calvert in HELP!! Issues upgrading
Glad you got it squared away. TYPICALLY if you see session issues, it’s a hosting problem. 🙂
-
Ibai reacted to Daniel F in Bug in downloads -> front -> browse -> rows
Thanks, I have fixed this for an upcoming release.
-
Ibai reacted to The Old Man in [Suggestion] Downloads app: Allow parent categories to show files from sub categories
I missed this topic, but completely agree after being advised it’s not possible to achieve this in the Downloads app.
It’s pretty silly to be honest if clients have waited such a long time for this basic functionality that is present in other areas of IPS and configured this way for the Marketplace here.
Honestly what’s the point of having a totally empty parent category that misleads users into missing the content inside the subcategories.
-
Ibai reacted to MMXII in [Suggestion] Downloads app: Allow parent categories to show files from sub categories
I'd love to see this in the core though.
Regarding your plugin:
If I understand your description correctly, it only displays files from sub categories, if the parent category holds no files at all? So when there is at least one file, no files from sub categories will be shown? If so, this is why I suggest an option in the AdminCP, because even when there is only a couple of files in the parent category, it might make sense to fill it up with files from the sub categories (option enabled) or you might not want to do that (option disabled). I find the pricing way too steep (15 $ for "just that"), but of course that is just my personal opinion 🙂 – I do not want to discredit your work. -
Ibai reacted to MMXII in [Suggestion] Downloads app: Allow parent categories to show files from sub categories
This is an old issue regarding the Downloads app: When I create parent categories and some sub categories, files that have been placed in the sub categories will not show up under the parent categories. While this might technically be correct, it makes the parent categories look unwelcoming (when the parent category does not hold any files at all), because whenever a user clicks the parent category, it looks as if there is nothing to be found.
My suggestion is to add an option to download categories in the AdminCP:
When enabled, files from sub categories should also be displayed in the parent category. When disabled, everything should stay as is (current behavior). -
Ibai reacted to opentype in Pages feature request: Add incoming database relationship links inline
It has often been pointed out that adding links to external Pages databases is problematic, when the external record doesn’t exist yet. That would need a way to add these external records while creating the record from the current database.
This feature request is related but about the other direction. I run into this problem all the time with linked databases.
Let’s say I have a book database and a separate “book list” database, where users can create lists of books using the database relationship field pointing to the book database. It would be expected, but it’s currently not possible to add a book to a book list while you are browsing the books. Instead I have to open the book list database in a separate window, find the right list, and then find the book again, which I had already opened. Not very convenient.
It would be nice to be able to set the incoming links right from the record view.
In the template section, where the loop for reciprocal links appears, add buttons “add this [local db word like ‘book’] to [external db word like ‘a booklist’]”, which opens a pop-up to search for existing records in the external Pages db or offer an option to create a new one.
This would be useful for almost all use-cases of linked Pages databases.
-
Ibai reacted to opentype in Pages feature request: database relationship field pagination and ordering
The use of the Pages database relationship field creates a comma-separated list for outgoing and incoming links. This is usually fine when there are just a couple of entries.
But there can also be hundreds of entries and then the field becomes way too limited. Suggestion:
Ordering becomes an issue. With 100+ entries, there needs to be admin-defined ordering based on fields (e.g. title or custom fields) or something like record ID, publishing date et cetera. Just like it exists for the database itself. In fact, taking over the ordering from the specific database being linked would probably solve it for most cases. Pagination becomes necessary when there are lots of entries. Template. Make the field output part of the Pages template system, so it can be customized on a database level. (So far, we had to hack the theme templates, but that won’t be easily possible anymore in 5.x). -
Ibai reacted to Jim M in Caching issues, file not found. HELP
Basically, the software simply outputs a normal CSS file so if that CSS file is not on your server, it would not be able to read appropriately by the browser. Same for images/etc... If you have something on your server which converts to webp but that image doesn't actually exist then your server/browser can't load it.
-
Ibai reacted to Adlago in Caching issues, file not found. HELP
This mod is applied to "regular sites". In this case, look for other forms of optimization, but remove this mod.
-
Ibai reacted to Sonya* in IPB as a LMS
Charles, if we could have actions buttons in Pages that are connected to a piece of code (like PHP blocks) then it would solve countless things. Think of:
How often the button has been clicked Mark something as "finished" Add sub-record to database relationship field via modal window right in the parent record. Add to favorites Hidden download to prevent hot links and so on... I have created a number of hooks to solve those things. But they are not reusable, requiring the field key and database ID. And they cannot be edited by admin on the fly like PHP widgets.
-
Ibai reacted to opentype in IPB as a LMS
I usually use Pages for this purpose. A category is a course—a record is a Lesson. A problem I run into with this method is that a “category” can’t hold any other information than title and description. There is no category image, no category rating (to rate the course), no custom fields to add additional information about the course. So that is something I would like to see improved. More power to Pages categories.
-
Ibai reacted to Adriano Faria in Grid view in Downloads categories on mobile devices
The new Downloads feature to display files as a grid in category view has no effect in phones, at least so these buttons could be displayed only for desktop and tablets devices.
-
Ibai reacted to Haim Rafael in Advanced Tags & Prefixes is built into the system
There used to be this app that is no longer supported:
Will it be possible in the future to add tags to topics such as "publication|" "Question" and so'?
-
Ibai reacted to Interferon in In fluid forum view, make categories collapsable, and collapse by default
I like the fluid forum view for staying on top of the forum contents, but the categories list takes up a lot of valuable real estate on a page we are trying to make the most of. I suggest making the categories box collapsed by default, and then allow the user to expand it when desired. Maybe this can be done in a drop-down box like the compact view does it.
We have a side bar filled with other stuff, and its a little awkward that the fluid and traditional views result in a side bar with a much different height.
-
Ibai reacted to Daniel F in [SEO] Ability to edit URLs for Topics
That's a blog post from 2018....
Here's a more accurate blog from a probably also more SEO related site https://www.searchenginejournal.com/does-url-length-affect-seo/425230/
Or if you prefer videos, the answer straight from the Google Search Advocate. Nr1 John Mueller.
-
Ibai reacted to SeNioR- in [Suggestion] Profile Area
Yep, ugly as hell and not very functional. Maybe someday... 🙂
-
Ibai reacted to Randy Calvert in PHP8 will be the minimum version from November 2022
The story of my life... it's just one continual fatal error.
-
Ibai reacted to Matt in PHP8 will be the minimum version from November 2022
Just a little friendly bump on this topic to remind those still using PHP 7.4, that our November release will require PHP8.
If you haven't yet upgraded to PHP8, please do put a plan in place before you upgrade. Upgrading to the November release with PHP7 will result in a fatal error.
-
Ibai reacted to Adriano Faria in The "required" attribute for the search field
It is like that actually to redirect users to the advanced form ( https://invisioncommunity.com/search/ ), otherwise another button (like the cog) would be necessary beside the magnifying glass.
-
Ibai reacted to Clover13 in Pages sidebar block templates
I find myself using the same Pages sidebar blocks on many pages and feel a good suggestion would be a way to template the set of blocks and then simply add it as a single block on any page or even just default any page that isn't already customized to use it?
For example, say I have 10 sidebar blocks and 20 pages I want them on, I have to add 200 blocks manually. I'd prefer to set this as a default in one place and all pages just inherit it but you can still go in and customize any of them if you desire.
-
Ibai reacted to Goza in Adding Icons to navBarItems
Since you've added the FA code in the navBarItems template. You can designated different icons by using CSS.
When you inspect in google chrome, firefox, or whatever browser you use. A little tedious work, add these in your custom.css
[data-navitem-id="87"] .fa-comment:before { content: "\f206"; } For each icon inserted, change the ID of the navitem-id and change the content: "\f206" to your prefer icon number.