• Resolved buylov

    (@buylov)


    If I use the name of the rank in Cyrillic, you can not enter slug in English (plugin error). But slug in Russian contains more than 20 characters (because of the encoding). With points and achievement, there is no such problem.

    Moreover, there appears a wrong translation:

    Achievement Type renamed successfully.
    All ranks of this type, and all active and earned user ranks, have been updated automatically.
    All shortcodes, widgets, and URIs that reference the old rank type slug must be updated manually.

    • This topic was modified 7 years ago by buylov.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ruben Garcia

    (@rubengc)

    Hi @buylov

    GamiPress slugs work exactly like WordPress slugs, they need to be URL friendly

    Thank you so much for report this typo on ranks, It will get fixed on next release

    Best regards

    Thread Starter buylov

    (@buylov)

    Hello @rubengc,
    can you expect to fix this problem? In version 1.4 it still exists.

    Plugin Author Ruben Garcia

    (@rubengc)

    Hi @buylov

    The incorrect text was fixed on 1.3.4 and about slug, you need to use URL friendly characters like WordPress slugs

    Best regards

    Thread Starter buylov

    (@buylov)

    Hi @rubeng,

    Try to enter the name of rank type in Russian, for example, “Уровни”. You will not succeed.

    Plugin Author Ruben Garcia

    (@rubengc)

    Hi @buylov

    The word “Уровни” is encoded to “%d1%83%d1%80%d0%be%d0%b2%d0%bd%d0%b8” with a length of 36 characters

    When you register a new rank type, GamiPress registers it internally as a new WordPress CPT, for this there is a limitation of 20 characters at slug

    Keep a friendly slug to meet WordPress CPT requirements is needly to allow you enable frontend access to ranks, for example, if you set the rank type “levels” and you set a new level with name “level 1” your slug to directly access to this level is: /levels/level-1

    There is no option to change this workflow (because is a WordPress core need), so unique solution here is use as slug the word “levels” and use “Уровни” as a plural name (and if it is the singular, then use for it too)

    Hope it helps you

    Best regards

    Thread Starter buylov

    (@buylov)

    @rubengc,

    I understand, but the problem is that I can not change the slug, if I use the Russian name. Plugin automatically sets the slug.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can not edit Rank slug (for Cyrillic alphabet)’ is closed to new replies.