Everything posted by Gabriel Torres
-
Is the ?d= parameter really necessary in Pages categories?
@Marc Stridgen Can you please move this topic to the Suggestions forum? Thanks.
-
Comma after username in topics
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: 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!
-
Missing badges in topicFeed template
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}}
-
Failed to submit sitemap update request to Bing
Hello, The sitemap task is failing to send the updated sitemap to Bing since 12/21/2021: Please advise. Cheers.
-
Sort sitemaps for databases by modification date
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. Thanks! 🙂
-
Sitemaps for Pages databases are not ordered by date
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
-
aria-checked v. W3 HTML validator
@Adlago That's what I've done here! 🙂 Thanks.
-
Menu icons vanish when we resize the browser
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!
-
Trying to find a word in modlog__action_split
@Andy Millne Both of these keys are translated here, yet it is shown in English in the context presented in the first post. You should take a look into this, it is a bug.
-
SEO: Blocked due to access forbidden (403) v. robots.txt
New addition to robots.txt for the same issue: Disallow: /*?*do=clearFilters Disallow: /*/?do=report The following Pages templates must be updated to include rel='nofollow': Listing > filterMessage (for the do=clearFilters) Display > record (for the do=report)
-
Improvement to the logo JSON schema markup
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!
-
Remove Link Tracking
@Runar Your plugin is causing an issue here. You must remove it from the marketplace.
-
.jpeg images are shown as {fileStore.core_Attachments} link
@Jim M bug was caused by the plugin below. It must be removed from the Marketplace.
-
Remove Link Tracking
@Runar I copied these directly from the database. I don't know whether they were posted like this or it was IPS that converted & into & before saving.
-
Remove Link Tracking
@Runar Another one very popular here. Mercado Livre https://produto.mercadolivre.com.br/MLB-1854616191-kit-remove-poeira-pc-note-ar-comprimido-spray-pincel-escova-_JM?matt_tool=31508429&matt_word=&matt_source=google&matt_campaign_id=14303413595&matt_ad_group_id=125984286637&matt_match_type=&matt_network=g&matt_device=c&matt_creative=539354956068&matt_keyword=&matt_ad_position=&matt_ad_type=pla&matt_merchant_id=138054060&matt_product_id=MLB1854616191&matt_product_partition_id=1457960502647&matt_target_id=aud-378637574381%3Apla-1457960502647 https://produto.mercadolivre.com.br/MLB-1743489486-gabinete-pc-gamer-2-usb-frontais-novo-modelo-cl-y75r-visutec-_JM?matt_tool=14213447&matt_word=&matt_source=bing&matt_campaign=MLB_ML_BING_AO_CE-ALL-ALL_X_PLA_ALLB_TXS_ALL&matt_campaign_id=382858295&matt_ad_group=CE&matt_match_type=e&matt_network=o&matt_device=c&matt_keyword=default Everything after the first "?" can be safely removed! Cheers
-
Is the ?d= parameter really necessary in Pages categories?
@Adriano Faria @Marc Stridgen My suggestion then is for the source code to check whether the database is set or not and add the ?d= parameter only if the database isn't set. Because the navigation URL looks ugly, we are exposing the database ID, and this may also influence SEO.
-
Is the ?d= parameter really necessary in Pages categories?
Hello, Here in our install we found the following issue. Because the source code adds the ?d= parameter in $table->baseUrl, navigation links also have this parameter. For example, for our https://www.clubedohardware.com.br/noticias/armazenamento/ page, the default navigation becomes https://www.clubedohardware.com.br/noticias/armazenamento/page/2/?d=6, https://www.clubedohardware.com.br/noticias/armazenamento/page/3/?d=6 and so on, instead of just https://www.clubedohardware.com.br/noticias/armazenamento/page/2/, https://www.clubedohardware.com.br/noticias/armazenamento/page/3/ etcetera. To fix this, I had to edit /applications/cms/modules/front/database/category.php and remove the following line: $table->baseUrl = $table->baseUrl->setQueryString( 'd', \IPS\cms\Databases\Dispatcher::i()->databaseId ); I know we have a very customized Pages configuration here, but I am giving you a heads up to check whether this line should really exist. Cheers!
-
Remove Link Tracking
@Runar See below several examples of what could be cleaned out. Amazon https://www.amazon.com.br/Placa-VÃdeo-AFOX-Radeon-RX560D/dp/B099X6JXVS/ref=asc_df_B099X6JXVS/?tag=googleshopp00-20&linkCode=df0&hvadid=379726213405&hvpos=&hvnetw=g&hvrand=2077078744594458364&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9101337&hvtargid=pla-1395670392199&psc=1 https://www.amazon.com.br/Cooler-Gamer-Intel-LGA1156-Deepcool/dp/B00X9LBO6Q/ref=pd_sbs_2/141-4175838-4920651?pd_rd_w=lDoas&pf_rd_p=fd372a8b-e6ae-4397-bd2a-6918070dc11e&pf_rd_r=PS7R5TZY09KW1MRS05EH&pd_rd_r=0c4ee111-ec81-45de-bac5-348c313c96ae&pd_rd_wg=MoG8I&pd_rd_i=B00X9LBO6Q&psc=1 These two examples are from amazon.com.br, but amazon.com, amazon.co.uk etc use the same format. Everything after the ASIN code can be removed. The stripped-down version of the same links would be: https://www.amazon.com.br/Placa-VÃdeo-AFOX-Radeon-RX560D/dp/B099X6JXVS/ https://www.amazon.com.br/Cooler-Gamer-Intel-LGA1156-Deepcool/dp/B00X9LBO6Q/ Aliexpress https://pt.aliexpress.com/item/1005003127978969.html?spm=a2g0o.9042311.0.0.39dcb90a8ouyUv https://pt.aliexpress.com/item/1005002307427655.html?spm=a2g0o.productlist.0.0.271e38b0Dwvegf&algo_pvid=83fd4b4b-0dad-40e2-9bd6-7e174d90e786&algo_exp_id=83fd4b4b-0dad-40e2-9bd6-7e174d90e786-1&pdp_ext_f={"sku_id"%3A"12000020010865917"}&pdp_pi=-1%3B600.06%3B-1%3B-1%40salePrice%3BBRL%3Bsearch-mainSearch The first example was stripped-down correctly by the plugin, but not the second one. Everything after the .html can be removed. Also note that here the example if for the Portuguese version of Aliexpress, but it applies to any version of this website. Submarino https://www.submarino.com.br/produto/3151895868?opn=XMLGOOGLE https://www.submarino.com.br/produto/2299745436?epar=bp_pl_00_go_pla_pcgamer_geral_gmv&epar=bp_pl_00_go_pla_pcgamer_geral_gmv&opn=XMLGOOGLE&WT.srch=1&utm_medium=buscappc&utm_source=google&utm_campaign=marca%3Asuba%3Bmidia%3Abuscappc%3Bformato%3Apla%3Bsubformato%3A00%3Bidcampanha%3Apla_pcgamer_geral_gmv&gclid=CjwKCAiAksyNBhAPEiwAlDBeLFPNb-9LkMp9jVF_IJjPhYrmvrHrSkYYOCLuGxIh4Pra8eiRYIOfTxoCRV8QAvD_BwE Everything after the product number can be removed. Americanas.com https://www.americanas.com.br/produto/2486010275?epar=bp_pl_00_go_inf-aces_acessorios_geral_gmv&opn=YSMESP&WT.srch=1&gclid=Cj0KCQiA8ICOBhDmARIsAEGI6o0gGYaX7k4U5OrIPQK-UhDSFFFmL8s6YNNS2b3vuo7V5N-T-XQSOlMaAoNMEALw_wcB&voltagem=BIVOLT#info-section Ditto. Terabyteshop https://www.terabyteshop.com.br/produto/10606/memoria-ddr4-corsair-vengeance-rgb-pro-cmw16gx4m2c3200c16-16gb-2x8gb-3200mhz?gclid=CjwKCAiAksyNBhAPEiwAlDBeLM6jxRmKBYgp4D9IAgH1ynX1xfUV98JekBpbZWq0BNWnXmsOJDTs8hoCn_EQAvD_BwE Ditto. I hope I have helped and let me know if you want more examples! 🙂
-
.jpeg images are shown as {fileStore.core_Attachments} link
Hi, Today I noticed a weird behavior here. Images uploaded by users with the .jpeg extension (note: jpeg with an "e", not jpg) are not rendered correctly. Instead, a link is displayed as below: Here are a few links where you can see the issue live: https://www.clubedohardware.com.br/forums/topic/1581037-discos-rÃgidos-dando-erro-na-hora-de-formatarinstalar-windows/#comment-8335914 https://www.clubedohardware.com.br/forums/topic/1580818-reparar-fios-do-conector/#comment-8335796 https://www.clubedohardware.com.br/forums/topic/1580908-ryzen-5-3600-n-usa-mais-de-20-em-jogos/#comment-8335477 Everything is working fine for all other file types and image formats. The images are loaded correctly when we click on the links. Please advise!
-
Remove Link Tracking
@Runar I will provide you with several examples from Amazon and other online stores that are popular here in our forums. I will get back to you with those. I just need to find real examples here... hehehe
-
Remove Link Tracking
@Runar Does it cover Amazon.com affiliate links? Because one problem we have here is users "recommending" products, but the links actually have afilliate tracking info.
-
SEO: Blocked due to access forbidden (403) v. robots.txt
@Marc Stridgen Just a follow up regarding this specific report from Google (Coverage > Excluded > Blocked due to access forbidden (403)) and the changes I implemented here in my install that might be added in future versions. I added the following to our robots.txt: Disallow: /theme/ Disallow: /*/?do=markRead Disallow: /*/?do=reportComment Note that I didn't mention the /theme/ issue in my original post, but after analyzing the report, I found several /theme/?csrfKey=xxxxx links listed. I searched all templates and added rel='nofollow' to all links related to markRead and reportComment. This includes templates from Pages as well. There were several templates that I had to edit. The ?advanced_search_submitted= from my original post must be diregarded. This was caused by a link structure we had in our old, custom layout. With these changes, the number of "affected pages" dropped from 38.7k to 26.1k so far, and we hope to see this number dropping further in the next few weeks. Cheers
-
Better representation of a banned user
We are old school here -- our website is up and running since 1996, with forums implemented in 2002. I understand what @Lindy says about the times that have changed. However for us here it is important to know when a user has been banned/suspended/restricted at the front-end, because we have several moderators and in a long topic, it is simply impossible to remember who in that topic has received warnings or is banned/suspended. Therefore, a solution to display banned info at the front-end only for staff members would be very useful, while preventing issues with regular users. This is already avaliable in the user's profile page; I mean adding this info at the user's miniprofile that goes along each post.
-
Transparent background in app (manifest) icon
@Marc Stridgen Thanks. Anxiously waiting for this implementation/fix... 🙂
-
Transparent background in app (manifest) icon
Hi, I am testing our install's web manifest. All icons I configured have transparent background. However, the icon that is installed at my computer's desktop has white background. Ditto for the task bar. Please advise. If anyone cares to test: https://www.clubedohardware.com.br Cheers.