Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Countries

9 years 8 months ago
  • Luis D's Avatar
    Topic Author
  • Luis D
  • Offline
  • Fresh Boarder
  • Posts: 85
  • Thank you received: 0
Licenses:
JomSocial Expired

Good afternoon, I returned to subscribe to kept appearing jomsocial because problems were solved to update some, but other things have broken down again. When a user wants to register the list of countries goes disorderly, in his day and sorted out, but the update has been returned to dislodge.

Attachments:
9 years 8 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Luis,

Please you apply this patch www.jomsocial.com/forum/profile-universa...6652-countries#87249

I hope it will help.

thank you

9 years 8 months ago
  • Luis D's Avatar
    Topic Author
  • Luis D
  • Offline
  • Fresh Boarder
  • Posts: 85
  • Thank you received: 0
Licenses:
JomSocial Expired

Like last time, I tell him that I do not understand code, could you be so kind as to make the change? Thank you very much.

9 years 8 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

hi Luis,

I need ask albert first for this, since he found this issue.. I thought this issue already fixed in newest package.. today he is off, maybe I will contact you again next monday..

thank you

9 years 8 months ago
  • Luis D's Avatar
    Topic Author
  • Luis D
  • Offline
  • Fresh Boarder
  • Posts: 85
  • Thank you received: 0
Licenses:
JomSocial Expired

ok

9 years 8 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Luis,

I think the sorting country is not fixed properly, I will ask this again to our dev..

thank you

9 years 7 months ago
  • Luis D's Avatar
    Topic Author
  • Luis D
  • Offline
  • Fresh Boarder
  • Posts: 85
  • Thank you received: 0
Licenses:
JomSocial Expired

Ok, I expect an answer. Thank you.

9 years 7 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Luis,

Our developer is still inspecting this, I will let you know if this issue possible to be fixed.

thx

9 years 7 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

for fixing this issue:

1. please you open this file components/com_community/helpers/string.php add this code after line 311 :

/**
     * Used to compare two string with ascii support.
     * @param $a
     * @param $b
     * @return int
     */
    public static function compareAscii($a, $b){
        $at = iconv('UTF-8', 'ASCII//TRANSLIT', $a);
        $bt = iconv('UTF-8', 'ASCII//TRANSLIT', $b);
        return strcmp($at, $bt);
   }

2. open this file components/com_community/libraries/fields/country.php, find this code :
natcasesort($countriesSorted);

change it to (or add this after at line 74) :
uksort($countriesSorted, 'CStringHelper::compareAscii');

thx

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