Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Sort alphabetical ( Russian alphabet) - Advanced search

6 years 3 months ago
  • Misha's Avatar
    Topic Author
  • Misha
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 0
Licenses:
JomSocial Active iSEO Active Socialize Active

Pryvet. How to sort users according to the Russian alphabet. Just translating via COM_COMMUNITY_JUMP_ABC = "abc" does not work. Help me please.

Attachments:
6 years 3 months ago
Licenses:

Privet, Misha.

Thank you for contacting us.
I assign developer to investigate this issue further.
He should check this ASAP.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
6 years 3 months ago
Licenses:

Privet Misha.

Please, do a safe copy of:

ROOT/components/com_community/models/search.php
ROOT/components/com_community/views/search/view.html.php
ROOT/language/en-GB/en-GB.com_community.ini

Then upload content of the package to Joomla! root folder and replace original files.

Finally do language overrides: documentation.jomsocial.com/wiki/Changin...gle_Sentence_or_Word


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you

This message has an attachment file.
Please log in or register to see it.

6 years 3 months ago
  • Misha's Avatar
    Topic Author
  • Misha
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 0
Licenses:
JomSocial Active iSEO Active Socialize Active

Good afternoon. Did everything as told. If you do not translate COM_COMMUNITY_JUMP_..._VALUE="...", it works as before, only with English letters. If you translate for example COM_COMMUNITY_JUMP_ABC_VALUE="абв", COM_COMMUNITY_JUMP_ABC="abc" then there is no sorting by "abc", it shows all users.

Attachments:
6 years 3 months ago
Licenses:

Hi, Misha.

Thank you for reporting this.
I reported it back to our developer.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
6 years 3 months ago
Licenses:

Hi, Misha.

Please, make safe copy of those files:

ROOT/components/com_community/models/search.php
ROOT/components/com_community/views/search/view.html.php

Then replace original files with patched from package.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you

This message has an attachment file.
Please log in or register to see it.

The following user(s) said Thank You: Misha
6 years 3 months ago
  • Misha's Avatar
    Topic Author
  • Misha
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 0
Licenses:
JomSocial Active iSEO Active Socialize Active

Good evening. Thank you. But with your option works search on the English alphabet, or Russian. In two alphabets, the search does not work. I do not know programming, so I compared the two files old and new, found the changes, and tried to make my own. The result is not a nice code, but it works.
And now you can make a search in other languages (Arabic and Chinese). But I do not know how to hide the search in other languages when the site is in English.
ROOT/components/com_community/models/search.php
$filterCount = CStringHelper::strlen($filter);
$allowedFilters = array(JText::_('COM_COMMUNITY_JUMP_ABC_VALUE'), JText::_('COM_COMMUNITY_JUMP_DEF_VALUE'), JText::_('COM_COMMUNITY_JUMP_GHI_VALUE'), JText::_('COM_COMMUNITY_JUMP_JKL_VALUE'), JText::_('COM_COMMUNITY_JUMP_MNO_VALUE'), JText::_('COM_COMMUNITY_JUMP_PQR_VALUE'), JText::_('COM_COMMUNITY_JUMP_STU_VALUE'), JText::_('COM_COMMUNITY_JUMP_VWX_VALUE'), JText::_('COM_COMMUNITY_JUMP_YZ_VALUE'),
JText::_('COM_COMMUNITY_JUMP_1_VALUE'), JText::_('COM_COMMUNITY_JUMP_2_VALUE'), JText::_('COM_COMMUNITY_JUMP_3_VALUE'), JText::_('COM_COMMUNITY_JUMP_4_VALUE'), JText::_('COM_COMMUNITY_JUMP_5_VALUE'), JText::_('COM_COMMUNITY_JUMP_6_VALUE'), JText::_('COM_COMMUNITY_JUMP_7_VALUE'), JText::_('COM_COMMUNITY_JUMP_8_VALUE'), JText::_('COM_COMMUNITY_JUMP_9_VALUE'));
ROOT/components/com_community/views/search/view.html.php
$filterItems = array();
$config = CFactory::getConfig();
if ($config->get('alphabetfiltering')) {
$filterItems = array(
'all' => JText::_('COM_COMMUNITY_JUMP_ALL'),
JText::_('COM_COMMUNITY_JUMP_ABC_VALUE') => JText::_('COM_COMMUNITY_JUMP_ABC'),
JText::_('COM_COMMUNITY_JUMP_DEF_VALUE') => JText::_('COM_COMMUNITY_JUMP_DEF'),
JText::_('COM_COMMUNITY_JUMP_GHI_VALUE') => JText::_('COM_COMMUNITY_JUMP_GHI'),
JText::_('COM_COMMUNITY_JUMP_JKL_VALUE') => JText::_('COM_COMMUNITY_JUMP_JKL'),
JText::_('COM_COMMUNITY_JUMP_MNO_VALUE') => JText::_('COM_COMMUNITY_JUMP_MNO'),
JText::_('COM_COMMUNITY_JUMP_PQR_VALUE') => JText::_('COM_COMMUNITY_JUMP_PQR'),
JText::_('COM_COMMUNITY_JUMP_STU_VALUE') => JText::_('COM_COMMUNITY_JUMP_STU'),
JText::_('COM_COMMUNITY_JUMP_VWX_VALUE') => JText::_('COM_COMMUNITY_JUMP_VWX'),
JText::_('COM_COMMUNITY_JUMP_YZ_VALUE') => JText::_('COM_COMMUNITY_JUMP_YZ'),

JText::_('COM_COMMUNITY_JUMP_1_VALUE') => JText::_('COM_COMMUNITY_JUMP_1'),
JText::_('COM_COMMUNITY_JUMP_2_VALUE') => JText::_('COM_COMMUNITY_JUMP_2'),
JText::_('COM_COMMUNITY_JUMP_3_VALUE') => JText::_('COM_COMMUNITY_JUMP_3'),
JText::_('COM_COMMUNITY_JUMP_4_VALUE') => JText::_('COM_COMMUNITY_JUMP_4'),
JText::_('COM_COMMUNITY_JUMP_5_VALUE') => JText::_('COM_COMMUNITY_JUMP_5'),
JText::_('COM_COMMUNITY_JUMP_6_VALUE') => JText::_('COM_COMMUNITY_JUMP_6'),
JText::_('COM_COMMUNITY_JUMP_7_VALUE') => JText::_('COM_COMMUNITY_JUMP_7'),
JText::_('COM_COMMUNITY_JUMP_8_VALUE') => JText::_('COM_COMMUNITY_JUMP_8'),
JText::_('COM_COMMUNITY_JUMP_9_VALUE') => JText::_('COM_COMMUNITY_JUMP_9'),
'others' => JText::_('COM_COMMUNITY_JUMP_OTHERS')
);
}
ROOT/language/en-GB/en-GB.com_community.ini
COM_COMMUNITY_JUMP_1="1"
COM_COMMUNITY_JUMP_2="2"
COM_COMMUNITY_JUMP_3="3"
COM_COMMUNITY_JUMP_4="4"
COM_COMMUNITY_JUMP_5="5"
COM_COMMUNITY_JUMP_6="6"
COM_COMMUNITY_JUMP_7="7"
COM_COMMUNITY_JUMP_8="8"
COM_COMMUNITY_JUMP_9="9"

COM_COMMUNITY_JUMP_1_VALUE="1"
COM_COMMUNITY_JUMP_2_VALUE="2"
COM_COMMUNITY_JUMP_3_VALUE="3"
COM_COMMUNITY_JUMP_4_VALUE="4"
COM_COMMUNITY_JUMP_5_VALUE="5"
COM_COMMUNITY_JUMP_6_VALUE="6"
COM_COMMUNITY_JUMP_7_VALUE="7"
COM_COMMUNITY_JUMP_8_VALUE="8"
COM_COMMUNITY_JUMP_9_VALUE="9"
ROOT/language/overrides/ru-RU.override.ini
COM_COMMUNITY_JUMP_1="абв"
COM_COMMUNITY_JUMP_2="гдеё"
COM_COMMUNITY_JUMP_3="жзий"
COM_COMMUNITY_JUMP_4="клм"
COM_COMMUNITY_JUMP_5="ноп"
COM_COMMUNITY_JUMP_6="рст"
COM_COMMUNITY_JUMP_7="уфх"
COM_COMMUNITY_JUMP_8="цчшщы"
COM_COMMUNITY_JUMP_9="эюя"

COM_COMMUNITY_JUMP_1_VALUE="абв"
COM_COMMUNITY_JUMP_2_VALUE="гдеё"
COM_COMMUNITY_JUMP_3_VALUE="жзий"
COM_COMMUNITY_JUMP_4_VALUE="клм"
COM_COMMUNITY_JUMP_5_VALUE="ноп"
COM_COMMUNITY_JUMP_6_VALUE="рст"
COM_COMMUNITY_JUMP_7_VALUE="уфх"
COM_COMMUNITY_JUMP_8_VALUE="цчшщы"
COM_COMMUNITY_JUMP_9_VALUE="эюя"

Attachments:
6 years 2 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
By default Jomsocial supported by the English language. I am not able to understand your last message for hiding search in other languages?
Kindly let me know with an example if you have sort issue in Russia with two letters.

The following user(s) said Thank You: Misha
6 years 2 months ago
  • Misha's Avatar
    Topic Author
  • Misha
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 0
Licenses:
JomSocial Active iSEO Active Socialize Active

Good afternoon. I wanted when the Frontend Language "English" sorting by other alphabets was not displayed. But then I decided that even if Frontend Langauge "English" sorting should be done in two languages, as the names in Russian remain. Therefore, nothing needs to be changed, because now I like it. Thank you.

Attachments:
6 years 2 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

it seems you found a way to handle the sorting now :)
Actually jomsocial does not translate the strings, By default Jomsocial supported by the English language.
If you will have any issue in future, do not hesitate to open a new thread on forum.

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW