Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 1, 20168 yr This plugin will display the languages flags on board top so the user can swap between languages in a faster way.
February 6, 20168 yr Author What's New in Version 1.0.1: Added setting to user decide if wants to display the country flags or the dropdown languages. Contry flags is the default.
February 6, 20168 yr @Adriano Faria Hi. Maybe it is nice to add a option to make the dropdown languages, as dropdown country flags ? Regards, Bart
February 6, 20168 yr Author Just now, R-023 said: Maybe it is nice to add a option to make the dropdown languages, as dropdown country flags ? I'll take a look for a next version.
February 6, 20168 yr Just now, Adriano Faria said: I'll take a look for a next version. Thanks! And thanks voor the Hook!
March 30, 20168 yr Recently I migrated on new hosting where the Suite with installed plugin v1.0.1 gave HTTP 500 error. When I tried to reinstall the plugin installation failed every time with the error: 'Sorry, you do not have permission for that! 1S111/1'. A permissions for newly created files and folders were 644 & 777 respectively, they were correct. Previous version 1.0.0 installed just fine. I made some research with Get Ready For IPS script and found the cause. It was in suhosting PHP extension values below then recommended ones. Here they are: suhosin.post.max_vars >= 4096 suhosin.request.max_vars >= 4096 suhosin.get.max_value_length >= 2000 suhosin.post.max_value_length >= 10000 suhosin.request.max_value_length >= 10000 suhosin.request.max_varname_length >= 350 After adjusting mentioned settings plugin was successfully installed and run Edited March 30, 20168 yr by Safety1st
May 9, 20168 yr This is not working (not showing the flags) on the registration final page: Edited May 9, 20168 yr by RPG-support
May 9, 20168 yr Author Probably because the template this plugin extends isn't used on this page, so... EDIT: you can see that doesn't appear the user info (for logged in users) or the Sign In or Sign Up links (for guests). That's exactlythe area extended by this plugin.
May 10, 20168 yr Author It works for guests: It doesn't appear on pages that uses the minimal template, like that or Contact Us (without popup), simply because those pages doesn't use the template this plugin extends. I can add in a future version. Not now. Not really a BIG thing.
November 22, 20177 yr Hi, this plugin has worked well for me, until I decided to move forum to https Everything moved well, except there are four items that IPS support identified as related to this plugin that has hard link to http still. Mixed Content: The page was loaded over HTTPS, but requested an insecure image 'http://sitename/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_flags16.png'. This content should also be served over HTTPS. Mixed Content: The page at 'sitename' was loaded over HTTPS, but requested an insecure image 'http://sitename/uploads/set_resources_1/d0e70b4cbb9ab8afb1bc1065a3f8487a_subitem_stem.png'. also /uploads/set_resources_1/d0e70b4cbb9ab8afb1bc1065a3f8487a_subitem_stem@2x.png /uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_flags32.png'
November 23, 20177 yr Author It happens that the plugin hasn't any HTTP hardcoded in the template. It uses the IPS functions and CSS to display flags. Template: <ul class='ipsList_inline'> {{foreach $languages as $id => $lang }} <li> {{$url = \IPS\Http\Url::internal( 'app=core&module=system&controller=language&id='.$id, 'front' )->csrf();}} <a data-ipsTooltip data-ipsTooltip-label=" {$lang->title}" href='{$url}'><i class='{$lang->get__icon()}'></i></a> </li> {{endforeach}} </ul> Function: /** * Get Icon * * @return string * @note Works on Unix systems. Partial support for Windows systems. */ public function get__icon() { return "ipsFlag ipsFlag-{$this->getCountry()}"; } CSS (which is default from IPS): /* Normal */ .ipsFlag { width: 16px; height: 16px; background: url("{resource="flags16.png" app="core" location="global"}") no-repeat; display: inline-block; vertical-align:text-top; line-height:16px; } .ipsFlag.ipsFlag-ad{background-position:0 -352px;} .ipsFlag.ipsFlag-ae{background-position:0 -368px;} .ipsFlag.ipsFlag-af{background-position:0 -384px;} ... ... ... That's all. No HTTP or HTTP anywhere.
September 6, 20186 yr Author 1 hour ago, mdmx said: Hi @Adriano Faria if possible make support for 4.3 Have you tested it? Doesn’t it work?
September 6, 20186 yr 1 hour ago, mdmx said: Hi @Adriano Faria if possible make support for 4.3 Works for me.
September 17, 20186 yr On 2/1/2016 at 9:32 PM, Adriano Faria said: This plugin will display the languages flags on board top so the user can swap between languages in a faster way. How i download it?
November 14, 20195 yr On 2/6/2016 at 11:10 PM, Adriano Faria said: On 2/6/2016 at 11:09 PM, R-023 said: Maybe it is nice to add a option to make the dropdown languages, as dropdown country flags ? I'll take a look for a next version. Any update on this @Adriano Faria it would be a great addition - thanks!
November 14, 20195 yr 1 hour ago, darth12 said: Any update on this @Adriano Faria it would be a great addition - thanks! It's already done in this mod.
November 14, 20195 yr Author 5 hours ago, darth12 said: Any update on this @Adriano Faria it would be a great addition - thanks! Since February/2016:
February 25, 20222 yr Hi @Adriano Faria any chance that I/you could implement the flags in mobile menu visible for memberes and guests??? send you pm already ...