Hi,
would it be possible to coded this to mChat, or to make development it directly extension?
To show a national flag for each user according to the current IP address.
Options could be the location on the left next to the user's name or right next to the mChat icons.
In attachment I present the picture as example from another website.
Thank you
Best regards
Scotty
Questions ⇒ [Request] National Flags in Chat according to IP
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySAGreen
- Users

- Status: Offline
- User theme: Dark
- Posts: 15
- Joined: Feb 23rd, '20, 18:17
[Request] National Flags in Chat according to IP
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Let's Go CommAndeR
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySniper_E
- VIP

- Status: Offline
- User theme: Dark
- Posts: 1160
- Joined: Oct 14th, '14, 17:01
Re: [Request] National Flags in Chat according to IP
As long as you have a national flag extension installed I would think a simple template edit would do that.
What national flag extension are you using?
You do know Dm does not maintain mChat.
What national flag extension are you using?
You do know Dm does not maintain mChat.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySAGreen
- Users

- Status: Offline
- User theme: Dark
- Posts: 15
- Joined: Feb 23rd, '20, 18:17
Re: [Request] National Flags in Chat according to IP
Hi, this image is not an extension for phpbb, it comes from the website...https://www.cbox.ws/ and have this function integrated in their chat.
I tried the phpbb extension...https://www.phpbb.com/customise/db/exte ... nal_flags/,
but this extension doesn't work to display in mChat, and then it more or less only works by the user selecting the flag of the country they are in from their control panel in the settings. However, it does not correlate with the actual IP address from which the user accesses the website.
I also tried to write and ask on the website...https://kasimi.net/index.php,
but I read somewhere in another post in the forum that kasimi is no longer active and the development of mChat and its add-ons is no longer running continued.
I was also looking for some tips here
https://www.phpbb.com/community/viewtopic.php?t=2607121
https://www.phpbb.com/community/viewtopic.php?t=2199821
https://www.phpbb.com/community/viewtopic.php?t=2376851
https://github.com/fonziset/IP-Country-Flags
I have seen some scripts on github, some purely as php files with JS and CSS support, some have been created as plugins and modules for various CMS like myBB, WP or Joomla. I tried testing a few things on jsfidle and codepen, but nothing worked.
https://github.com/Starpaul20/Country-Flag
https://github.com/wp-plugins/ipgp-user-country-flag
https://github.com/Kevinenei/country-flag-detect-js
https://github.com/egbakou/user-location
https://xenforo.com/community/resources ... ress.6090/
Thank you for me help.
Sincerely
Scotty
I tried the phpbb extension...https://www.phpbb.com/customise/db/exte ... nal_flags/,
but this extension doesn't work to display in mChat, and then it more or less only works by the user selecting the flag of the country they are in from their control panel in the settings. However, it does not correlate with the actual IP address from which the user accesses the website.
I also tried to write and ask on the website...https://kasimi.net/index.php,
but I read somewhere in another post in the forum that kasimi is no longer active and the development of mChat and its add-ons is no longer running continued.
I was also looking for some tips here
https://www.phpbb.com/community/viewtopic.php?t=2607121
https://www.phpbb.com/community/viewtopic.php?t=2199821
https://www.phpbb.com/community/viewtopic.php?t=2376851
https://github.com/fonziset/IP-Country-Flags
I have seen some scripts on github, some purely as php files with JS and CSS support, some have been created as plugins and modules for various CMS like myBB, WP or Joomla. I tried testing a few things on jsfidle and codepen, but nothing worked.
https://github.com/Starpaul20/Country-Flag
https://github.com/wp-plugins/ipgp-user-country-flag
https://github.com/Kevinenei/country-flag-detect-js
https://github.com/egbakou/user-location
https://xenforo.com/community/resources ... ress.6090/
Thank you for me help.
Sincerely
Scotty
