Jump to content

Gabriel Torres

Clients
  • Posts

    1,748
  • Joined

  • Last visited

  • Days Won

    4

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Gabriel Torres

  1. Hello,

    In the ACP we have the option to automatically replace text with emoji (Customization > Editor > Emoji > Replace text with emoji?). However, this is an "all-or-nothing" setting, and it doesn't allow us to enable/disable individual emojis.

    The problem we have here is that "letter C" + "collon" is replaced with 😄.

    As you know, "letter C" + "collon" is also how Microsoft operating systems names the first hard drive since the 1980s, so whenever someone types in something like the command format, we have an emoji instead of the letter C.

    Therefore, my suggestion is for wither removing this shortcut or adding an option for us to have a fine-grain control over which combinations are replaced with what, in the same fashion we have in the "Custom Emoji" tab.

    Thank you in advance.

    Cheers,

    Gabe.

  2. @Marc Stridgen

    4 hours ago, Marc Stridgen said:

    are you holding URLs with an @ in moderation?

    I am not sure that I understood the question. I simply enabled the new feature below, available in the Word Filters section, Spam & E-mail tab:

    Quote

    Added the ability to moderate or replace posted email addresses with an obfuscated placeholder in content.

    So, I know that this is causing the issue, as explained in my original post. What I am reporting here is that, in my opinion, this filter should ignore filenames from images/emoticons.

    Cheers

  3. Hi there,

    I found out a very silly bug with the plataform, regarding the new feature that holds content for approval if an email adress is detected. If an image with an "@" symbol in its filename is inserted, the post is held for approval.

    We had old custom emoticons with file names such as:

    biggrin@2x.png
    ohmy@2x.png
    sad@2x.png
    tongue@2x.png
    happy@2x.png
    ph34r@2x.png
    sleep@2x.png
    wink@2x.png
    smile@2x.png

    Whenever any one of them was used, the post would be held for approval.

    I deleted these emoticons, but maybe this is something you want to take a look into.

    Thanks,

    Gabe.

  4. @Daniel F Just a headsup that the example I gave above was fixed in 4.6.10, however, as I mentioned, the issue also affects other templates as well!

    On 12/19/2021 at 3:23 PM, Gabriel Torres said:

    The same happens in the linkedin, pinterest, and reddit templates.

    These were not fixed in 4.6.10!

    Here is what needs to be fixed!

    linkedin

    From:

    <a href="http://www.linkedin.com/shareArticle?mini=true&amp;url={$url}&amp;title={$title}" rel="nofollow" class="cShareLink cShareLink_linkedin" target="_blank" data-role="shareLink" title='{lang="lin_text"}' data-ipsTooltip rel='noopener'>
    	<i class="fa fa-linkedin"></i>
    </a>

    To:

    <a href="http://www.linkedin.com/shareArticle?mini=true&amp;url={$url}&amp;title={$title}" rel="nofollow noopener" class="cShareLink cShareLink_linkedin" target="_blank" data-role="shareLink" title='{lang="lin_text"}' data-ipsTooltip>
    	<i class="fa fa-linkedin"></i>
    </a>

    pinterest

    From:

    <a href="{$url}" class="cShareLink cShareLink_pinterest" rel="nofollow" target="_blank" data-role="shareLink" title='{lang="pinterest_text"}' data-ipsTooltip rel='noopener'>
    	<i class="fa fa-pinterest"></i>
    </a>

    To:

    <a href="{$url}" class="cShareLink cShareLink_pinterest" rel="nofollow noopener" target="_blank" data-role="shareLink" title='{lang="pinterest_text"}' data-ipsTooltip>
    	<i class="fa fa-pinterest"></i>
    </a>

    reddit

    From:

    <a href="http://www.reddit.com/submit?url={$url}&amp;title={expression="urlencode( $title )"}" rel="nofollow" class="cShareLink cShareLink_reddit" target="_blank" title='{lang="reddit_text"}' data-ipsTooltip rel='noopener'>
    	<i class="fa fa-reddit"></i>
    </a>

    To:

    <a href="http://www.reddit.com/submit?url={$url}&amp;title={expression="urlencode( $title )"}" rel="nofollow noopener" class="cShareLink cShareLink_reddit" target="_blank" title='{lang="reddit_text"}' data-ipsTooltip>
    	<i class="fa fa-reddit"></i>
    </a>

    I hope I have helped! 🙂

    Cheers

  5. Hi,

    The default Display > record template from Pages has a small glitch. The <br> tags at the end should be inside the {{if}} statements, otherwise we have too much space at the bottom of the page when the {{if}} conditions aren't met.

    Default:

    <br>
    {{if $commentsAndReviews}}
    	<a id="replies"></a>
    	<h2 class='ipsHide'>{lang="user_feedback"}</h2>
    	<div class='ipsResponsive_pull'>
    		{$commentsAndReviews|raw}
    	</div>
    {{endif}}
    
    <br>
    {{if $updateForm}}
    	<div class='ipsAreaBackground_light ipsPad'>
    		<h2 class='ipsType_sectionHead'>{lang="cms_front_update_fields" sprintf="$record::database()->recordWord( 1 )"}</h2>
    		<ul class='ipsForm ipsForm_vertical'>
    			{$updateForm|raw}
    		</ul>
    	</div>
    {{endif}}

    Suggested fix:

    {{if $commentsAndReviews}}
    	<br>
    	<a id="replies"></a>
    	<h2 class='ipsHide'>{lang="user_feedback"}</h2>
    	<div class='ipsResponsive_pull'>
    		{$commentsAndReviews|raw}
    	</div>
    {{endif}}
    
    {{if $updateForm}}
    	<br>
    	<div class='ipsAreaBackground_light ipsPad'>
    		<h2 class='ipsType_sectionHead'>{lang="cms_front_update_fields" sprintf="$record::database()->recordWord( 1 )"}</h2>
    		<ul class='ipsForm ipsForm_vertical'>
    			{$updateForm|raw}
    		</ul>
    	</div>
    {{endif}}

    Thanks.

    PS: Please move this topic to the suggestions forums if this isn't considered a bug per se. Thanks.

  6. Hi,

    I don't know if the platform has already this function, hence me asking here in the support forum. If that isn't the case, please kindly move this topic to the suggestions forum.

    Here in our website we have comments enabled for articles databases in Pages, with the option to store those comments in topics in a specific forum.

    The first post of the comment topic is created based on a theme template. If we change this template, then we need to click to edit the article and save it, so the system will update the topic's first post.

    The problem is that we have over 3,000 topics that need to be updated, and clicking on each one to edit + save is too time consuming. So, I wonder if there is a built-in function to run a task to update the first post of all comment topics in a database.

    Thank you in advance,

    Gabriel.

  7. Hi,

    I noticed today in our community, and could confirm that this is also present here at your community, that there is a comma placed after the username in topics. See it in the screenshot below:

    image.png.de33dec7b5653c0ea4a711d5f9aa56f3.png

    Investigating this further, this issue is caused by the byline_itemprop language string: By %s,

    This string is used whenever a date is placed in the sequence, however in this particular context, as the date is placed in a new line, and the comma looks ugly IMHO.

    So, I believe the byline_nodate_itemprop language string should be the one used in the forums > front > topics > topic template, not byline_itemprop.

    I don't know if this topic is a bug report or a suggestion, please move it to the suggestions forum if that is the case.

    Cheers!

  8. forums > front > widgets > topicFeed

    My suggestion is to improve this template to add some missing topic status badges, such as:

    • Topic is locked
    • Topic has moderation enabled
    • Topic has poll

    The default list in this template:

    {{if $topic->mapped('featured') || $topic->hidden() === -1 || $topic->hidden() === 1 || $topic->isSolved()}}
    	{{if $topic->hidden() === -1}}
    		<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$topic->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span></span>
    	{{elseif $topic->hidden() === 1}}
    		<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span></span>
    	{{endif}}
    	{{if $topic->mapped('featured')}}
    		<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span></span>
    	{{endif}}
    	{{if $topic->isSolved()}}
    		<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="this_is_solved"}'><i class='fa fa-check'></i></span></span>
    	{{endif}}
    {{endif}}

    My suggestion:

    {{if $topic->locked()}}
    	<span><i class='ipsType_medium fa fa-lock' data-ipsTooltip title='{lang="topic_locked"}'></i></span>
    {{endif}}
    {{if $topic->hidden() === -1}}
    	<span><span class="ipsBadge ipsBadge_icon ipsBadge_warning ipsBadge_small" data-ipsTooltip title='{$topic->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span></span>
    {{elseif $topic->hidden() === -2}}
    	<span><span class="ipsbadge ipsBadge_icon ipsBadge_warning ipsBadge_small" data-ipsTooltip title='{$topic->deletedBlurb()}'><i class='fa fa-trash'></i></span></span>
    {{elseif $topic->hidden() === 1}}
    	<span><span class="ipsBadge ipsBadge_icon ipsBadge_warning ipsBadge_small" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span></span>
    {{elseif $topic->canToggleItemModeration() and $topic->itemModerationEnabled()}}
    	<span><span class="ipsBadge ipsBadge_icon ipsBadge_warning ipsBadge_small" data-ipsTooltip title='{lang="topic_moderation_enabled"}'><i class='fa fa-user-times'></i></span></span>
    {{endif}}
    {{if $topic->mapped('pinned')}}
    	<span><span class="ipsBadge ipsBadge_icon ipsBadge_positive ipsBadge_small" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span></span>
    {{endif}}
    {{if $topic->mapped('featured')}}
    	<span><span class="ipsBadge ipsBadge_icon ipsBadge_positive ipsBadge_small" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span></span>
    {{endif}}
    {{if $topic->mapped('poll')}}
    	<span><span class="ipsBadge ipsBadge_icon ipsBadge_neutral ipsBadge_small" data-ipsTooltip title='{lang="topic_has_poll"}'><i class='fa fa-question'></i></span></span>
    {{endif}}
    {{if $topic->isSolved()}}
    	<span><span class="ipsBadge ipsBadge_icon ipsBadge_positive ipsBadge_small" data-ipsTooltip title='{lang="this_is_solved"}'><i class='fa fa-check'></i></span></span>
    {{endif}}

     

  9. Hi,

    Sitemaps generated for Pages databases (e.g., articles) list contents by creation date and not by updated date. See, in the screenshot below, how this makes the sitemap to list articles completely out of order. IMO, for better SEO, contents inside the sitemap should be sorted from most recent to least recent. If you want to take a look at this live in our install, try: https://www.clubedohardware.com.br/sitemap.php?file=2_sitemap_database_records_1

    An even better option would be to allow us to select which field to use, including custom fields. Because here in our install we have a custom field for "updated date", and our articles are listed sorted by this field. This is required because the standard record_saved field is updated everytime we make any kind of edit, and if we sort by this field the article is bumped up whenever any kind of silly edit is made.

    image.png.5614fd7b1bf2071bc3611538fee34cbc.png

    Thanks! 🙂

     

  10. Hi,

    Sitemaps generated for Pages databases (e.g., articles) list contents out of order instead being sorted by <lastmod>. See, in the screenshot below, how the dates are completely out of order. I believe this is a bug. IMO, contents inside the sitemap should be sorted from most recent to least recent. If you want to take a look at this live in our install, try: https://www.clubedohardware.com.br/sitemap.php?file=2_sitemap_database_records_1

    image.png.5614fd7b1bf2071bc3611538fee34cbc.png

  11. Hi,

    A couple of moderators from our community brought this issue to my attention. I was able to reproduce it using the default, unmodified theme, and I could also reproduce the issue here in the IPS forums.

    If we open any dropdown menu from the main menu bar at the top, keep this menu open, resize the browser window and expand it again, the icons vanish. They only show up again if we reload the page. See the video below to understand the issue:

    My answer to them was that a website is not meant to be used like that, changing the layout from desktop to mobile and then to desktop again, and probably that is the answer you will give us, but I promised to report this issue to you anyway. Maybe it is a bug, and maybe there is a solution. I don't know.

    Thank you in advance!

  12. Hello,

    This suggestion is regarding the logo schema markup that is added at the bottom of every page.

    Currently, the logo that is used is the theme's main logo. There are two issues with that, in my opinion:

    1. The main logo is rectangular, whereas the logo provided by the schema markup should be squared;

    2. The main logo changes with the theme. For instance, we have two themes here, a light one and a dark one, and in the dark theme, the logo has a dark backgound and different colors. This way, the logo will change depeding on the theme that is being used. If the dark theme is crawlable by Google, Google may display a different logo than intended in results.

    Therefore, I think it would be better if the logo in the JSON schema markup is (1) squared and (2) fixed (not changing depending on the theme).

    So, my proposal is to change the system/Output/Output.php file, from:

    if( $logo = \IPS\Theme::i()->logo_front )
                    {
                            $jsonLd['organization']['logo'] = array(
                                    '@type' => 'ImageObject',
                        			'@id'   => \IPS\Settings::i()->base_url . '#logo',
                        			'url'   => (string) $logo
                            );
                    }

    To:

    if( $logo = json_decode( \IPS\Settings::i()->icons_homescreen, TRUE ) )
                    {
                            $jsonLd['organization']['logo'] = array(
                                    '@type' => 'ImageObject',
                        			'@id'   => \IPS\Settings::i()->base_url . '#logo',
                        			'url'   => \IPS\Settings::i()->base_url . 'uploads/' . $logo['original']
                            );
                    }

    Here I used the "homescreen" logo present in the Icons & logos page from the ACP because it fits the criteria I want (squared and fixed), but you may want to create a new setting for this specific logo.

    I hope you can improve this.

    Cheers!

×
×
  • Create New...