Codoforum related discussions
Search function

Hi there,
Codoforum is great forum software. I am loving it.
I installed it and found out some strange behavior of search function.

1 Some words can't be searched.
"MT4" can be searched, while "EA" can't. Do you know why?
2 Search function in (sub)Category top page doesn't work.
The situation is same for this site (Codologic forum)

You can try my question with below site of mine.

http://fxforum.guardian.jp/index.php

I truly appreciate your help.
Best regards,
Yuji Shimizu

Hi there, Codoforum is great forum software. I am loving it. I installed it and found out some strange behavior of search function. 1 Some words can't be searched. "MT4" can be searched, while "EA" can't. Do you know why? 2 Search function in (sub)Category top page doesn't work. The situation is same for this site (Codologic forum) You can try my question with below site of mine. http://fxforum.guardian.jp/index.php I truly appreciate your help. Best regards, Yuji Shimizu

Hi,

We couldnt replicate your problem in this forum.

"MT4" can be searched, while "EA" can't. Do you know why?

Does this problem occur only in your forum or here too ?

Hi, We couldnt replicate your problem in this forum. >"MT4" can be searched, while "EA" can't. Do you know why? Does this problem occur only in your forum or here too ?

Hi,

Thank you for you reply!

This issue seems to happen only in my forum.
In this forum, it works.

Best regards,
Yuji

Hi, Thank you for you reply! This issue seems to happen only in my forum. In this forum, it works. Best regards, Yuji

We tried to load your forum but it is giving an error.

Did you make any changes to locale files ?

We tried to load your forum but it is giving an error. Did you make any changes to locale files ?

Hello adesh,
Thank you for your support.
Now my bug was fixed.
But search issue is still going on.

I change lang.php to translate the forum according to browser's language setting.
Best regards,
Yuji

Original

<?php

/*
 * @CODOLICENSE
 */


require LOCALE . '/' . LOCALE . '.php';

function _t($str, $plural = null, $count = 0) {

    if ($plural != null && $count > 1) {

        //return plural translation
        return codo_get_translation($plural, $count);
    }


    //return singular translation
    return codo_get_translation($str, $count);
}

//removes a translation from language file
function _r($index) {

    global $CODOT;

    unset($CODOT[$index]);
    write_to_file($CODOT);
}

function codo_get_translation($index, $count) {

    global $CODOT;

    if (!isset($CODOT[$index])) {

        $CODOT[$index] = $index;

        //add translation if does not exist
        if (MODE == 'DEVELOPMENT') {

            asort($CODOT);
            write_to_file($CODOT);
        }
    }

    return str_replace("%s", $count, $CODOT[$index]);
}

function write_to_file($arr) {

    $pre = "/**
 * 
 * Creator: 
 * 
 * Translation in codoforum is very simple 
 * Copy paste this file into
 * locale/your_language/your_language.php
 * 
 * For eg. locale/ru_RU/ru_RU.php or locale/russian/russian.php
 * 
 * After that , write translations of left of => to the right of =>
 * in that file.
 * 
 * For eg.
 * 
 * 'My profile' => 'Мой профиль',
 * 
 * You can then select the language from the backend
 *
 */
";

    file_put_contents(DATA_PATH . 'locale/' . LOCALE . '/' . LOCALE . '.php', "<?php\n\n$pre\n \$CODOT = " . var_export($arr, true) . ";");
}

/**
 * 
 * CODOFORUM no longer uses gettext() due to implementation time 
 * required for certain features. 
 */

/*
if (!function_exists("gettext")) {

    \CODOF\Lang\Lang::init();

    function gettext($str, $index = -1) {

        return \CODOF\Lang\Lang::gettext($str, $index);
    }

    function _t($str) {

        return gettext($str);
    }

    function _t($singular, $plural, $no) {

        return gettext($singular, $no);
    }

}else{

setlocale(LC_ALL, LOCALE);
putenv('LANGUAGE='.LOCALE);

$domain = "messages";
bindtextdomain($domain, DATA_PATH . "locale");
//bind_textdomain_codeset($domain, 'UTF-8');

textdomain($domain);
}
 <?php



 $CODOT = array (
  'My profile' => 'My profile',
  'Logout' => 'Logout',
  'Register' => 'Register',
  'Login' => 'Login',
  'You do not have enough permissions to view this page!' => 'You do not have enough permissions to view this page!',
  'Search in ' => 'Search in ',
  'Advanced search' => 'Advanced search',
  'Search in Topic titles' => 'Search in Topic titles',
  'Yes' => 'Yes',
  'No' => 'No',
  'Sort results by' => 'Sort results by',
  'Author' => 'Author',
  'Post created' => 'Post created',
  'No. of replies' => 'No. of replies',
  'No. of views' => 'No. of views',
  'Last post time' => 'Last post time',
  'Post body' => 'Post body',
  'Post title' => 'Post title',
  'Asc' => 'Asc',
  'Desc' => 'Desc',
  'Search within' => 'Search within',
  'Any time' => 'Any time',
  'Past hour' => 'Past hour',
  'Past 24 hours' => 'Past 24 hours',
  'Past week' => 'Past week',
  'Past month' => 'Past month',
  'Past year' => 'Past year',
  'Search' => 'Search',
  'Create Topic' => 'Create Topic',
  'Give a title for your topic' => 'Give a title for your topic',
  'Create new topic' => 'Create new topic',
  'Describe your topic . You can use BBcode or Markdown' => 'Describe your topic . You can use BBcode or Markdown',
  'live preview' => 'live preview',
  'Post' => 'Post',
  'Cancel' => 'Cancel',
  'enter atleast ' => 'enter atleast ',
  ' characters' => ' characters',
  'Topics' => 'Topics',
  'topics' => 'topics',
  'Posts' => 'Posts',
  'posts' => 'posts',
  'sub-category' => 'sub-category',
  'sub-categories' => 'sub-categories',
  'No posts to display' => 'No posts to display',
  'posted ' => 'posted ',
  'read more' => 'read more',
  'replies' => 'replies',
  'views' => 'views',
  'recent by' => 'recent by',
  'All posts under this topic will be ' => 'All posts under this topic will be ',
  'deleted' => 'deleted',
  'Delete' => 'Delete',
  'Drop files to upload &nbsp;&nbsp;(or click)' => 'Drop files to upload &nbsp;&nbsp;(or click)',
  'Add link' => 'Add link',
  'link url' => 'link url',
  'link text' => 'link text',
  'optional' => 'optional',
  'link title' => 'link title',
  'Add' => 'Add',
  'Upload' => 'Upload',
  'New topic' => 'New topic',
  'Title' => 'Title',
  'Category' => 'Category',
  'Select a category' => 'Select a category',
  'Edit' => 'Edit',
  'Search result' => 'Search result',
  'All topics' => 'All topics',
  'Search in forum' => 'Search in forum',
  'Search sub-categories' => 'Search sub-categories',
  'No topics created yet!' => 'No topics created yet!',
  'Be the first to ' => 'Be the first to ',
  'create one' => 'create one',
  'No more topics to display!' => 'No more topics to display!',
  'No topics found matching your criteria!' => 'No topics found matching your criteria!',
  'posted' => 'posted',
  'reply' => 'reply',
  'Start typing here . You can use BBcode or Markdown' => 'Start typing here . You can use BBcode or Markdown',
  'The post has been ' => 'The post has been ',
  'undo' => 'undo',
  'The page you are looking for does not exists!' => 'The page you are looking for does not exists!',
  'There was some error. Please check your confirmation link' => 'There was some error. Please check your confirmation link',
  'Email confirmation successfull' => 'Email confirmation successfull',
  'You will be redirected to your ' => 'You will be redirected to your ',
  'profile' => 'profile',
  ' in 2 seconds' => ' in 2 seconds',
  'User login' => 'User login',
  'username or e-mail address' => 'username or e-mail address',
  'E-mail new password' => 'E-mail new password',
  'Please fill both the fields!' => 'Please fill both the fields!',
  'username' => 'username',
  'password' => 'password',
  ' Keep me logged in' => ' Keep me logged in',
  'I forgot my password' => 'I forgot my password',
  'user profile edits saved successfully' => 'user profile edits saved successfully',
  'display name' => 'display name',
  'avatar' => 'avatar',
  'Change' => 'Change',
  'signature' => 'signature',
  'Save edits' => 'Save edits',
  'Current password' => 'Current password',
  'New password' => 'New password',
  'Confirm password' => 'Confirm password',
  'Change password' => 'Change password',
  'passwords do not match!' => 'passwords do not match!',
  'A confirmation email has been sent to your email address!' => 'A confirmation email has been sent to your email address!',
  'You have not yet confirmed your email address.' => 'You have not yet confirmed your email address.',
  'Resend email' => 'Resend email',
  'Joined' => 'Joined',
  'Last login' => 'Last login',
  'email' => 'email',
  'Already registered?' => 'Already registered?',
  'Login here' => 'Login here',
  'username cannot be less than ' => 'username cannot be less than ',
  'username already exists' => 'username already exists',
  'passowrd cannot be less than ' => 'passowrd cannot be less than ',
  'mail already exists' => 'mail already exists',
  'User does not exist with the given username/mail' => 'User does not exist with the given username/mail',
  'Unable to reset password' => 'Unable to reset password',
  'You must be logged in to reply' => 'You must be logged in to reply',
  'You do not have permission to ' => 'You do not have permission to ',
  'create a topic' => 'create a topic',
  'edit this topic' => 'edit this topic',
  'Edit topic ' => 'Edit topic ',
  'Create topic' => 'Create topic',
  'Access denied' => 'Access denied',
  'Request new passsword' => 'Request new passsword',
  'Access Denied' => 'Access Denied',
  'Not found' => 'Not found',
  'password cannot be greater than 72 characters!' => 'password cannot be greater than 72 characters!',
  'username can have only letters digits and underscores' => 'username can have only letters digits and underscores',
  'user already exists' => 'user already exists',
  'email address not formatted correctly' => 'email address not formatted correctly',
  'email address is already registered' => 'email address is already registered',
  'username field cannot be left empty' => 'username field cannot be left empty',
  'password field cannot be left empty' => 'password field cannot be left empty',
  'until ' => 'until ',
  'You have been banned ' => 'You have been banned ',
  'Wrong username or password' => 'Wrong username or password',
  'capcha entered was wrong' => 'capcha entered was wrong',
  'ago' => 'ago',
  'at' => 'at',
  'just now' => 'just now',
  'second' => 'second',
  'seconds' => 'seconds',
  'minute' => 'minute',
  'minutes' => 'minutes',
  'hour' => 'hour',
  'hours' => 'hours',
  'Today' => 'Today',
  'day' => 'day',
  'days' => 'days',
  'Be notified of new replies' => 'Be notified of new replies',
  'Password updated successfully' => 'Password updated successfully',
  'The current password given is incorrect' => 'The current password given is incorrect',
);
*/

modified

<?php

/*
 * @CODOLICENSE
 */

$languages = explode(',', getenv('HTTP_ACCEPT_LANGUAGE'));
$languages = array_reverse($languages);

$result = '';

foreach ($languages as $language) {
  if (preg_match('/^ja/i', $language)) {
    $result = 'ja_JP';
  } elseif (preg_match('/^en/i', $language)) {
    $result = 'en_US';
  } elseif (preg_match('/^de/i', $language)) {
    $result = 'de_DE';
  } else {
    $result = 'en_US';
  }
}

if ($result == '') {
  $result = 'en_US';
}

require $result . '/' . $result . '.php';

function _t($str, $plural = null, $count = 0) {

    if ($plural != null && $count > 1) {

        //return plural translation
        return codo_get_translation($plural, $count);
    }


    //return singular translation
    return codo_get_translation($str, $count);
}

//removes a translation from language file
function _r($index) {

    global $CODOT;

    unset($CODOT[$index]);
    write_to_file($CODOT);
}

function codo_get_translation($index, $count) {

    global $CODOT;

    if (!isset($CODOT[$index])) {

        $CODOT[$index] = $index;

        //add translation if does not exist
        if (MODE == 'DEVELOPMENT') {

            asort($CODOT);
            write_to_file($CODOT);
        }
    }

    return str_replace("%s", $count, $CODOT[$index]);
}

function write_to_file($arr) {

    $pre = "/**
 * 
 * Creator: 
 * 
 * Translation in codoforum is very simple 
 * Copy paste this file into
 * locale/your_language/your_language.php
 * 
 * For eg. locale/ru_RU/ru_RU.php or locale/russian/russian.php
 * 
 * After that , write translations of left of => to the right of =>
 * in that file.
 * 
 * For eg.
 * 
 * 'My profile' => 'Мой профиль',
 * 
 * You can then select the language from the backend
 *
 */
";

    file_put_contents(DATA_PATH . 'locale/' . $result . '/' . $result . '.php', "<?php\n\n$pre\n \$CODOT = " . var_export($arr, true) . ";");
}

/**
 * 
 * CODOFORUM no longer uses gettext() due to implementation time 
 * required for certain features. 
 */

/*
if (!function_exists("gettext")) {

    \CODOF\Lang\Lang::init();

    function gettext($str, $index = -1) {

        return \CODOF\Lang\Lang::gettext($str, $index);
    }

    function _t($str) {

        return gettext($str);
    }

    function _t($singular, $plural, $no) {

        return gettext($singular, $no);
    }

}else{

setlocale(LC_ALL, LOCALE);
putenv('LANGUAGE='.LOCALE);

$domain = "messages";
bindtextdomain($domain, DATA_PATH . "locale");
//bind_textdomain_codeset($domain, 'UTF-8');

textdomain($domain);
}
 <?php



 $CODOT = array (
  'My profile' => 'My profile',
  'Logout' => 'Logout',
  'Register' => 'Register',
  'Login' => 'Login',
  'You do not have enough permissions to view this page!' => 'You do not have enough permissions to view this page!',
  'Search in ' => 'Search in ',
  'Advanced search' => 'Advanced search',
  'Search in Topic titles' => 'Search in Topic titles',
  'Yes' => 'Yes',
  'No' => 'No',
  'Sort results by' => 'Sort results by',
  'Author' => 'Author',
  'Post created' => 'Post created',
  'No. of replies' => 'No. of replies',
  'No. of views' => 'No. of views',
  'Last post time' => 'Last post time',
  'Post body' => 'Post body',
  'Post title' => 'Post title',
  'Asc' => 'Asc',
  'Desc' => 'Desc',
  'Search within' => 'Search within',
  'Any time' => 'Any time',
  'Past hour' => 'Past hour',
  'Past 24 hours' => 'Past 24 hours',
  'Past week' => 'Past week',
  'Past month' => 'Past month',
  'Past year' => 'Past year',
  'Search' => 'Search',
  'Create Topic' => 'Create Topic',
  'Give a title for your topic' => 'Give a title for your topic',
  'Create new topic' => 'Create new topic',
  'Describe your topic . You can use BBcode or Markdown' => 'Describe your topic . You can use BBcode or Markdown',
  'live preview' => 'live preview',
  'Post' => 'Post',
  'Cancel' => 'Cancel',
  'enter atleast ' => 'enter atleast ',
  ' characters' => ' characters',
  'Topics' => 'Topics',
  'topics' => 'topics',
  'Posts' => 'Posts',
  'posts' => 'posts',
  'sub-category' => 'sub-category',
  'sub-categories' => 'sub-categories',
  'No posts to display' => 'No posts to display',
  'posted ' => 'posted ',
  'read more' => 'read more',
  'replies' => 'replies',
  'views' => 'views',
  'recent by' => 'recent by',
  'All posts under this topic will be ' => 'All posts under this topic will be ',
  'deleted' => 'deleted',
  'Delete' => 'Delete',
  'Drop files to upload &nbsp;&nbsp;(or click)' => 'Drop files to upload &nbsp;&nbsp;(or click)',
  'Add link' => 'Add link',
  'link url' => 'link url',
  'link text' => 'link text',
  'optional' => 'optional',
  'link title' => 'link title',
  'Add' => 'Add',
  'Upload' => 'Upload',
  'New topic' => 'New topic',
  'Title' => 'Title',
  'Category' => 'Category',
  'Select a category' => 'Select a category',
  'Edit' => 'Edit',
  'Search result' => 'Search result',
  'All topics' => 'All topics',
  'Search in forum' => 'Search in forum',
  'Search sub-categories' => 'Search sub-categories',
  'No topics created yet!' => 'No topics created yet!',
  'Be the first to ' => 'Be the first to ',
  'create one' => 'create one',
  'No more topics to display!' => 'No more topics to display!',
  'No topics found matching your criteria!' => 'No topics found matching your criteria!',
  'posted' => 'posted',
  'reply' => 'reply',
  'Start typing here . You can use BBcode or Markdown' => 'Start typing here . You can use BBcode or Markdown',
  'The post has been ' => 'The post has been ',
  'undo' => 'undo',
  'The page you are looking for does not exists!' => 'The page you are looking for does not exists!',
  'There was some error. Please check your confirmation link' => 'There was some error. Please check your confirmation link',
  'Email confirmation successfull' => 'Email confirmation successfull',
  'You will be redirected to your ' => 'You will be redirected to your ',
  'profile' => 'profile',
  ' in 2 seconds' => ' in 2 seconds',
  'User login' => 'User login',
  'username or e-mail address' => 'username or e-mail address',
  'E-mail new password' => 'E-mail new password',
  'Please fill both the fields!' => 'Please fill both the fields!',
  'username' => 'username',
  'password' => 'password',
  ' Keep me logged in' => ' Keep me logged in',
  'I forgot my password' => 'I forgot my password',
  'user profile edits saved successfully' => 'user profile edits saved successfully',
  'display name' => 'display name',
  'avatar' => 'avatar',
  'Change' => 'Change',
  'signature' => 'signature',
  'Save edits' => 'Save edits',
  'Current password' => 'Current password',
  'New password' => 'New password',
  'Confirm password' => 'Confirm password',
  'Change password' => 'Change password',
  'passwords do not match!' => 'passwords do not match!',
  'A confirmation email has been sent to your email address!' => 'A confirmation email has been sent to your email address!',
  'You have not yet confirmed your email address.' => 'You have not yet confirmed your email address.',
  'Resend email' => 'Resend email',
  'Joined' => 'Joined',
  'Last login' => 'Last login',
  'email' => 'email',
  'Already registered?' => 'Already registered?',
  'Login here' => 'Login here',
  'username cannot be less than ' => 'username cannot be less than ',
  'username already exists' => 'username already exists',
  'passowrd cannot be less than ' => 'passowrd cannot be less than ',
  'mail already exists' => 'mail already exists',
  'User does not exist with the given username/mail' => 'User does not exist with the given username/mail',
  'Unable to reset password' => 'Unable to reset password',
  'You must be logged in to reply' => 'You must be logged in to reply',
  'You do not have permission to ' => 'You do not have permission to ',
  'create a topic' => 'create a topic',
  'edit this topic' => 'edit this topic',
  'Edit topic ' => 'Edit topic ',
  'Create topic' => 'Create topic',
  'Access denied' => 'Access denied',
  'Request new passsword' => 'Request new passsword',
  'Access Denied' => 'Access Denied',
  'Not found' => 'Not found',
  'password cannot be greater than 72 characters!' => 'password cannot be greater than 72 characters!',
  'username can have only letters digits and underscores' => 'username can have only letters digits and underscores',
  'user already exists' => 'user already exists',
  'email address not formatted correctly' => 'email address not formatted correctly',
  'email address is already registered' => 'email address is already registered',
  'username field cannot be left empty' => 'username field cannot be left empty',
  'password field cannot be left empty' => 'password field cannot be left empty',
  'until ' => 'until ',
  'You have been banned ' => 'You have been banned ',
  'Wrong username or password' => 'Wrong username or password',
  'capcha entered was wrong' => 'capcha entered was wrong',
  'ago' => 'ago',
  'at' => 'at',
  'just now' => 'just now',
  'second' => 'second',
  'seconds' => 'seconds',
  'minute' => 'minute',
  'minutes' => 'minutes',
  'hour' => 'hour',
  'hours' => 'hours',
  'Today' => 'Today',
  'day' => 'day',
  'days' => 'days',
  'Be notified of new replies' => 'Be notified of new replies',
  'Password updated successfully' => 'Password updated successfully',
  'The current password given is incorrect' => 'The current password given is incorrect',
);
*/
Hello adesh, Thank you for your support. Now my bug was fixed. But search issue is still going on. I change lang.php to translate the forum according to browser&#039;s language setting. Best regards, Yuji Original ```` &amp;lt;?php /* * @CODOLICENSE */ require LOCALE . &#039;/&#039; . LOCALE . &#039;.php&#039;; function _t($str, $plural = null, $count = 0) { if ($plural != null &amp;amp;&amp;amp; $count &amp;gt; 1) { //return plural translation return codo_get_translation($plural, $count); } //return singular translation return codo_get_translation($str, $count); } //removes a translation from language file function _r($index) { global $CODOT; unset($CODOT[$index]); write_to_file($CODOT); } function codo_get_translation($index, $count) { global $CODOT; if (!isset($CODOT[$index])) { $CODOT[$index] = $index; //add translation if does not exist if (MODE == &#039;DEVELOPMENT&#039;) { asort($CODOT); write_to_file($CODOT); } } return str_replace(&quot;%s&quot;, $count, $CODOT[$index]); } function write_to_file($arr) { $pre = &quot;/** * * Creator: * * Translation in codoforum is very simple * Copy paste this file into * locale/your_language/your_language.php * * For eg. locale/ru_RU/ru_RU.php or locale/russian/russian.php * * After that , write translations of left of =&amp;gt; to the right of =&amp;gt; * in that file. * * For eg. * * &#039;My profile&#039; =&amp;gt; &#039;Мой профиль&#039;, * * You can then select the language from the backend * */ &quot;; file_put_contents(DATA_PATH . &#039;locale/&#039; . LOCALE . &#039;/&#039; . LOCALE . &#039;.php&#039;, &quot;&amp;lt;?php\n\n$pre\n \$CODOT = &quot; . var_export($arr, true) . &quot;;&quot;); } /** * * CODOFORUM no longer uses gettext() due to implementation time * required for certain features. */ /* if (!function_exists(&quot;gettext&quot;)) { \CODOF\Lang\Lang::init(); function gettext($str, $index = -1) { return \CODOF\Lang\Lang::gettext($str, $index); } function _t($str) { return gettext($str); } function _t($singular, $plural, $no) { return gettext($singular, $no); } }else{ setlocale(LC_ALL, LOCALE); putenv(&#039;LANGUAGE=&#039;.LOCALE); $domain = &quot;messages&quot;; bindtextdomain($domain, DATA_PATH . &quot;locale&quot;); //bind_textdomain_codeset($domain, &#039;UTF-8&#039;); textdomain($domain); } &amp;lt;?php $CODOT = array ( &#039;My profile&#039; =&amp;gt; &#039;My profile&#039;, &#039;Logout&#039; =&amp;gt; &#039;Logout&#039;, &#039;Register&#039; =&amp;gt; &#039;Register&#039;, &#039;Login&#039; =&amp;gt; &#039;Login&#039;, &#039;You do not have enough permissions to view this page!&#039; =&amp;gt; &#039;You do not have enough permissions to view this page!&#039;, &#039;Search in &#039; =&amp;gt; &#039;Search in &#039;, &#039;Advanced search&#039; =&amp;gt; &#039;Advanced search&#039;, &#039;Search in Topic titles&#039; =&amp;gt; &#039;Search in Topic titles&#039;, &#039;Yes&#039; =&amp;gt; &#039;Yes&#039;, &#039;No&#039; =&amp;gt; &#039;No&#039;, &#039;Sort results by&#039; =&amp;gt; &#039;Sort results by&#039;, &#039;Author&#039; =&amp;gt; &#039;Author&#039;, &#039;Post created&#039; =&amp;gt; &#039;Post created&#039;, &#039;No. of replies&#039; =&amp;gt; &#039;No. of replies&#039;, &#039;No. of views&#039; =&amp;gt; &#039;No. of views&#039;, &#039;Last post time&#039; =&amp;gt; &#039;Last post time&#039;, &#039;Post body&#039; =&amp;gt; &#039;Post body&#039;, &#039;Post title&#039; =&amp;gt; &#039;Post title&#039;, &#039;Asc&#039; =&amp;gt; &#039;Asc&#039;, &#039;Desc&#039; =&amp;gt; &#039;Desc&#039;, &#039;Search within&#039; =&amp;gt; &#039;Search within&#039;, &#039;Any time&#039; =&amp;gt; &#039;Any time&#039;, &#039;Past hour&#039; =&amp;gt; &#039;Past hour&#039;, &#039;Past 24 hours&#039; =&amp;gt; &#039;Past 24 hours&#039;, &#039;Past week&#039; =&amp;gt; &#039;Past week&#039;, &#039;Past month&#039; =&amp;gt; &#039;Past month&#039;, &#039;Past year&#039; =&amp;gt; &#039;Past year&#039;, &#039;Search&#039; =&amp;gt; &#039;Search&#039;, &#039;Create Topic&#039; =&amp;gt; &#039;Create Topic&#039;, &#039;Give a title for your topic&#039; =&amp;gt; &#039;Give a title for your topic&#039;, &#039;Create new topic&#039; =&amp;gt; &#039;Create new topic&#039;, &#039;Describe your topic . You can use BBcode or Markdown&#039; =&amp;gt; &#039;Describe your topic . You can use BBcode or Markdown&#039;, &#039;live preview&#039; =&amp;gt; &#039;live preview&#039;, &#039;Post&#039; =&amp;gt; &#039;Post&#039;, &#039;Cancel&#039; =&amp;gt; &#039;Cancel&#039;, &#039;enter atleast &#039; =&amp;gt; &#039;enter atleast &#039;, &#039; characters&#039; =&amp;gt; &#039; characters&#039;, &#039;Topics&#039; =&amp;gt; &#039;Topics&#039;, &#039;topics&#039; =&amp;gt; &#039;topics&#039;, &#039;Posts&#039; =&amp;gt; &#039;Posts&#039;, &#039;posts&#039; =&amp;gt; &#039;posts&#039;, &#039;sub-category&#039; =&amp;gt; &#039;sub-category&#039;, &#039;sub-categories&#039; =&amp;gt; &#039;sub-categories&#039;, &#039;No posts to display&#039; =&amp;gt; &#039;No posts to display&#039;, &#039;posted &#039; =&amp;gt; &#039;posted &#039;, &#039;read more&#039; =&amp;gt; &#039;read more&#039;, &#039;replies&#039; =&amp;gt; &#039;replies&#039;, &#039;views&#039; =&amp;gt; &#039;views&#039;, &#039;recent by&#039; =&amp;gt; &#039;recent by&#039;, &#039;All posts under this topic will be &#039; =&amp;gt; &#039;All posts under this topic will be &#039;, &#039;deleted&#039; =&amp;gt; &#039;deleted&#039;, &#039;Delete&#039; =&amp;gt; &#039;Delete&#039;, &#039;Drop files to upload &amp;amp;nbsp;&amp;amp;nbsp;(or click)&#039; =&amp;gt; &#039;Drop files to upload &amp;amp;nbsp;&amp;amp;nbsp;(or click)&#039;, &#039;Add link&#039; =&amp;gt; &#039;Add link&#039;, &#039;link url&#039; =&amp;gt; &#039;link url&#039;, &#039;link text&#039; =&amp;gt; &#039;link text&#039;, &#039;optional&#039; =&amp;gt; &#039;optional&#039;, &#039;link title&#039; =&amp;gt; &#039;link title&#039;, &#039;Add&#039; =&amp;gt; &#039;Add&#039;, &#039;Upload&#039; =&amp;gt; &#039;Upload&#039;, &#039;New topic&#039; =&amp;gt; &#039;New topic&#039;, &#039;Title&#039; =&amp;gt; &#039;Title&#039;, &#039;Category&#039; =&amp;gt; &#039;Category&#039;, &#039;Select a category&#039; =&amp;gt; &#039;Select a category&#039;, &#039;Edit&#039; =&amp;gt; &#039;Edit&#039;, &#039;Search result&#039; =&amp;gt; &#039;Search result&#039;, &#039;All topics&#039; =&amp;gt; &#039;All topics&#039;, &#039;Search in forum&#039; =&amp;gt; &#039;Search in forum&#039;, &#039;Search sub-categories&#039; =&amp;gt; &#039;Search sub-categories&#039;, &#039;No topics created yet!&#039; =&amp;gt; &#039;No topics created yet!&#039;, &#039;Be the first to &#039; =&amp;gt; &#039;Be the first to &#039;, &#039;create one&#039; =&amp;gt; &#039;create one&#039;, &#039;No more topics to display!&#039; =&amp;gt; &#039;No more topics to display!&#039;, &#039;No topics found matching your criteria!&#039; =&amp;gt; &#039;No topics found matching your criteria!&#039;, &#039;posted&#039; =&amp;gt; &#039;posted&#039;, &#039;reply&#039; =&amp;gt; &#039;reply&#039;, &#039;Start typing here . You can use BBcode or Markdown&#039; =&amp;gt; &#039;Start typing here . You can use BBcode or Markdown&#039;, &#039;The post has been &#039; =&amp;gt; &#039;The post has been &#039;, &#039;undo&#039; =&amp;gt; &#039;undo&#039;, &#039;The page you are looking for does not exists!&#039; =&amp;gt; &#039;The page you are looking for does not exists!&#039;, &#039;There was some error. Please check your confirmation link&#039; =&amp;gt; &#039;There was some error. Please check your confirmation link&#039;, &#039;Email confirmation successfull&#039; =&amp;gt; &#039;Email confirmation successfull&#039;, &#039;You will be redirected to your &#039; =&amp;gt; &#039;You will be redirected to your &#039;, &#039;profile&#039; =&amp;gt; &#039;profile&#039;, &#039; in 2 seconds&#039; =&amp;gt; &#039; in 2 seconds&#039;, &#039;User login&#039; =&amp;gt; &#039;User login&#039;, &#039;username or e-mail address&#039; =&amp;gt; &#039;username or e-mail address&#039;, &#039;E-mail new password&#039; =&amp;gt; &#039;E-mail new password&#039;, &#039;Please fill both the fields!&#039; =&amp;gt; &#039;Please fill both the fields!&#039;, &#039;username&#039; =&amp;gt; &#039;username&#039;, &#039;password&#039; =&amp;gt; &#039;password&#039;, &#039; Keep me logged in&#039; =&amp;gt; &#039; Keep me logged in&#039;, &#039;I forgot my password&#039; =&amp;gt; &#039;I forgot my password&#039;, &#039;user profile edits saved successfully&#039; =&amp;gt; &#039;user profile edits saved successfully&#039;, &#039;display name&#039; =&amp;gt; &#039;display name&#039;, &#039;avatar&#039; =&amp;gt; &#039;avatar&#039;, &#039;Change&#039; =&amp;gt; &#039;Change&#039;, &#039;signature&#039; =&amp;gt; &#039;signature&#039;, &#039;Save edits&#039; =&amp;gt; &#039;Save edits&#039;, &#039;Current password&#039; =&amp;gt; &#039;Current password&#039;, &#039;New password&#039; =&amp;gt; &#039;New password&#039;, &#039;Confirm password&#039; =&amp;gt; &#039;Confirm password&#039;, &#039;Change password&#039; =&amp;gt; &#039;Change password&#039;, &#039;passwords do not match!&#039; =&amp;gt; &#039;passwords do not match!&#039;, &#039;A confirmation email has been sent to your email address!&#039; =&amp;gt; &#039;A confirmation email has been sent to your email address!&#039;, &#039;You have not yet confirmed your email address.&#039; =&amp;gt; &#039;You have not yet confirmed your email address.&#039;, &#039;Resend email&#039; =&amp;gt; &#039;Resend email&#039;, &#039;Joined&#039; =&amp;gt; &#039;Joined&#039;, &#039;Last login&#039; =&amp;gt; &#039;Last login&#039;, &#039;email&#039; =&amp;gt; &#039;email&#039;, &#039;Already registered?&#039; =&amp;gt; &#039;Already registered?&#039;, &#039;Login here&#039; =&amp;gt; &#039;Login here&#039;, &#039;username cannot be less than &#039; =&amp;gt; &#039;username cannot be less than &#039;, &#039;username already exists&#039; =&amp;gt; &#039;username already exists&#039;, &#039;passowrd cannot be less than &#039; =&amp;gt; &#039;passowrd cannot be less than &#039;, &#039;mail already exists&#039; =&amp;gt; &#039;mail already exists&#039;, &#039;User does not exist with the given username/mail&#039; =&amp;gt; &#039;User does not exist with the given username/mail&#039;, &#039;Unable to reset password&#039; =&amp;gt; &#039;Unable to reset password&#039;, &#039;You must be logged in to reply&#039; =&amp;gt; &#039;You must be logged in to reply&#039;, &#039;You do not have permission to &#039; =&amp;gt; &#039;You do not have permission to &#039;, &#039;create a topic&#039; =&amp;gt; &#039;create a topic&#039;, &#039;edit this topic&#039; =&amp;gt; &#039;edit this topic&#039;, &#039;Edit topic &#039; =&amp;gt; &#039;Edit topic &#039;, &#039;Create topic&#039; =&amp;gt; &#039;Create topic&#039;, &#039;Access denied&#039; =&amp;gt; &#039;Access denied&#039;, &#039;Request new passsword&#039; =&amp;gt; &#039;Request new passsword&#039;, &#039;Access Denied&#039; =&amp;gt; &#039;Access Denied&#039;, &#039;Not found&#039; =&amp;gt; &#039;Not found&#039;, &#039;password cannot be greater than 72 characters!&#039; =&amp;gt; &#039;password cannot be greater than 72 characters!&#039;, &#039;username can have only letters digits and underscores&#039; =&amp;gt; &#039;username can have only letters digits and underscores&#039;, &#039;user already exists&#039; =&amp;gt; &#039;user already exists&#039;, &#039;email address not formatted correctly&#039; =&amp;gt; &#039;email address not formatted correctly&#039;, &#039;email address is already registered&#039; =&amp;gt; &#039;email address is already registered&#039;, &#039;username field cannot be left empty&#039; =&amp;gt; &#039;username field cannot be left empty&#039;, &#039;password field cannot be left empty&#039; =&amp;gt; &#039;password field cannot be left empty&#039;, &#039;until &#039; =&amp;gt; &#039;until &#039;, &#039;You have been banned &#039; =&amp;gt; &#039;You have been banned &#039;, &#039;Wrong username or password&#039; =&amp;gt; &#039;Wrong username or password&#039;, &#039;capcha entered was wrong&#039; =&amp;gt; &#039;capcha entered was wrong&#039;, &#039;ago&#039; =&amp;gt; &#039;ago&#039;, &#039;at&#039; =&amp;gt; &#039;at&#039;, &#039;just now&#039; =&amp;gt; &#039;just now&#039;, &#039;second&#039; =&amp;gt; &#039;second&#039;, &#039;seconds&#039; =&amp;gt; &#039;seconds&#039;, &#039;minute&#039; =&amp;gt; &#039;minute&#039;, &#039;minutes&#039; =&amp;gt; &#039;minutes&#039;, &#039;hour&#039; =&amp;gt; &#039;hour&#039;, &#039;hours&#039; =&amp;gt; &#039;hours&#039;, &#039;Today&#039; =&amp;gt; &#039;Today&#039;, &#039;day&#039; =&amp;gt; &#039;day&#039;, &#039;days&#039; =&amp;gt; &#039;days&#039;, &#039;Be notified of new replies&#039; =&amp;gt; &#039;Be notified of new replies&#039;, &#039;Password updated successfully&#039; =&amp;gt; &#039;Password updated successfully&#039;, &#039;The current password given is incorrect&#039; =&amp;gt; &#039;The current password given is incorrect&#039;, ); */ ```` modified ```` &amp;lt;?php /* * @CODOLICENSE */ $languages = explode(&#039;,&#039;, getenv(&#039;HTTP_ACCEPT_LANGUAGE&#039;)); $languages = array_reverse($languages); $result = &#039;&#039;; foreach ($languages as $language) { if (preg_match(&#039;/^ja/i&#039;, $language)) { $result = &#039;ja_JP&#039;; } elseif (preg_match(&#039;/^en/i&#039;, $language)) { $result = &#039;en_US&#039;; } elseif (preg_match(&#039;/^de/i&#039;, $language)) { $result = &#039;de_DE&#039;; } else { $result = &#039;en_US&#039;; } } if ($result == &#039;&#039;) { $result = &#039;en_US&#039;; } require $result . &#039;/&#039; . $result . &#039;.php&#039;; function _t($str, $plural = null, $count = 0) { if ($plural != null &amp;amp;&amp;amp; $count &amp;gt; 1) { //return plural translation return codo_get_translation($plural, $count); } //return singular translation return codo_get_translation($str, $count); } //removes a translation from language file function _r($index) { global $CODOT; unset($CODOT[$index]); write_to_file($CODOT); } function codo_get_translation($index, $count) { global $CODOT; if (!isset($CODOT[$index])) { $CODOT[$index] = $index; //add translation if does not exist if (MODE == &#039;DEVELOPMENT&#039;) { asort($CODOT); write_to_file($CODOT); } } return str_replace(&quot;%s&quot;, $count, $CODOT[$index]); } function write_to_file($arr) { $pre = &quot;/** * * Creator: * * Translation in codoforum is very simple * Copy paste this file into * locale/your_language/your_language.php * * For eg. locale/ru_RU/ru_RU.php or locale/russian/russian.php * * After that , write translations of left of =&amp;gt; to the right of =&amp;gt; * in that file. * * For eg. * * &#039;My profile&#039; =&amp;gt; &#039;Мой профиль&#039;, * * You can then select the language from the backend * */ &quot;; file_put_contents(DATA_PATH . &#039;locale/&#039; . $result . &#039;/&#039; . $result . &#039;.php&#039;, &quot;&amp;lt;?php\n\n$pre\n \$CODOT = &quot; . var_export($arr, true) . &quot;;&quot;); } /** * * CODOFORUM no longer uses gettext() due to implementation time * required for certain features. */ /* if (!function_exists(&quot;gettext&quot;)) { \CODOF\Lang\Lang::init(); function gettext($str, $index = -1) { return \CODOF\Lang\Lang::gettext($str, $index); } function _t($str) { return gettext($str); } function _t($singular, $plural, $no) { return gettext($singular, $no); } }else{ setlocale(LC_ALL, LOCALE); putenv(&#039;LANGUAGE=&#039;.LOCALE); $domain = &quot;messages&quot;; bindtextdomain($domain, DATA_PATH . &quot;locale&quot;); //bind_textdomain_codeset($domain, &#039;UTF-8&#039;); textdomain($domain); } &amp;lt;?php $CODOT = array ( &#039;My profile&#039; =&amp;gt; &#039;My profile&#039;, &#039;Logout&#039; =&amp;gt; &#039;Logout&#039;, &#039;Register&#039; =&amp;gt; &#039;Register&#039;, &#039;Login&#039; =&amp;gt; &#039;Login&#039;, &#039;You do not have enough permissions to view this page!&#039; =&amp;gt; &#039;You do not have enough permissions to view this page!&#039;, &#039;Search in &#039; =&amp;gt; &#039;Search in &#039;, &#039;Advanced search&#039; =&amp;gt; &#039;Advanced search&#039;, &#039;Search in Topic titles&#039; =&amp;gt; &#039;Search in Topic titles&#039;, &#039;Yes&#039; =&amp;gt; &#039;Yes&#039;, &#039;No&#039; =&amp;gt; &#039;No&#039;, &#039;Sort results by&#039; =&amp;gt; &#039;Sort results by&#039;, &#039;Author&#039; =&amp;gt; &#039;Author&#039;, &#039;Post created&#039; =&amp;gt; &#039;Post created&#039;, &#039;No. of replies&#039; =&amp;gt; &#039;No. of replies&#039;, &#039;No. of views&#039; =&amp;gt; &#039;No. of views&#039;, &#039;Last post time&#039; =&amp;gt; &#039;Last post time&#039;, &#039;Post body&#039; =&amp;gt; &#039;Post body&#039;, &#039;Post title&#039; =&amp;gt; &#039;Post title&#039;, &#039;Asc&#039; =&amp;gt; &#039;Asc&#039;, &#039;Desc&#039; =&amp;gt; &#039;Desc&#039;, &#039;Search within&#039; =&amp;gt; &#039;Search within&#039;, &#039;Any time&#039; =&amp;gt; &#039;Any time&#039;, &#039;Past hour&#039; =&amp;gt; &#039;Past hour&#039;, &#039;Past 24 hours&#039; =&amp;gt; &#039;Past 24 hours&#039;, &#039;Past week&#039; =&amp;gt; &#039;Past week&#039;, &#039;Past month&#039; =&amp;gt; &#039;Past month&#039;, &#039;Past year&#039; =&amp;gt; &#039;Past year&#039;, &#039;Search&#039; =&amp;gt; &#039;Search&#039;, &#039;Create Topic&#039; =&amp;gt; &#039;Create Topic&#039;, &#039;Give a title for your topic&#039; =&amp;gt; &#039;Give a title for your topic&#039;, &#039;Create new topic&#039; =&amp;gt; &#039;Create new topic&#039;, &#039;Describe your topic . You can use BBcode or Markdown&#039; =&amp;gt; &#039;Describe your topic . You can use BBcode or Markdown&#039;, &#039;live preview&#039; =&amp;gt; &#039;live preview&#039;, &#039;Post&#039; =&amp;gt; &#039;Post&#039;, &#039;Cancel&#039; =&amp;gt; &#039;Cancel&#039;, &#039;enter atleast &#039; =&amp;gt; &#039;enter atleast &#039;, &#039; characters&#039; =&amp;gt; &#039; characters&#039;, &#039;Topics&#039; =&amp;gt; &#039;Topics&#039;, &#039;topics&#039; =&amp;gt; &#039;topics&#039;, &#039;Posts&#039; =&amp;gt; &#039;Posts&#039;, &#039;posts&#039; =&amp;gt; &#039;posts&#039;, &#039;sub-category&#039; =&amp;gt; &#039;sub-category&#039;, &#039;sub-categories&#039; =&amp;gt; &#039;sub-categories&#039;, &#039;No posts to display&#039; =&amp;gt; &#039;No posts to display&#039;, &#039;posted &#039; =&amp;gt; &#039;posted &#039;, &#039;read more&#039; =&amp;gt; &#039;read more&#039;, &#039;replies&#039; =&amp;gt; &#039;replies&#039;, &#039;views&#039; =&amp;gt; &#039;views&#039;, &#039;recent by&#039; =&amp;gt; &#039;recent by&#039;, &#039;All posts under this topic will be &#039; =&amp;gt; &#039;All posts under this topic will be &#039;, &#039;deleted&#039; =&amp;gt; &#039;deleted&#039;, &#039;Delete&#039; =&amp;gt; &#039;Delete&#039;, &#039;Drop files to upload &amp;amp;nbsp;&amp;amp;nbsp;(or click)&#039; =&amp;gt; &#039;Drop files to upload &amp;amp;nbsp;&amp;amp;nbsp;(or click)&#039;, &#039;Add link&#039; =&amp;gt; &#039;Add link&#039;, &#039;link url&#039; =&amp;gt; &#039;link url&#039;, &#039;link text&#039; =&amp;gt; &#039;link text&#039;, &#039;optional&#039; =&amp;gt; &#039;optional&#039;, &#039;link title&#039; =&amp;gt; &#039;link title&#039;, &#039;Add&#039; =&amp;gt; &#039;Add&#039;, &#039;Upload&#039; =&amp;gt; &#039;Upload&#039;, &#039;New topic&#039; =&amp;gt; &#039;New topic&#039;, &#039;Title&#039; =&amp;gt; &#039;Title&#039;, &#039;Category&#039; =&amp;gt; &#039;Category&#039;, &#039;Select a category&#039; =&amp;gt; &#039;Select a category&#039;, &#039;Edit&#039; =&amp;gt; &#039;Edit&#039;, &#039;Search result&#039; =&amp;gt; &#039;Search result&#039;, &#039;All topics&#039; =&amp;gt; &#039;All topics&#039;, &#039;Search in forum&#039; =&amp;gt; &#039;Search in forum&#039;, &#039;Search sub-categories&#039; =&amp;gt; &#039;Search sub-categories&#039;, &#039;No topics created yet!&#039; =&amp;gt; &#039;No topics created yet!&#039;, &#039;Be the first to &#039; =&amp;gt; &#039;Be the first to &#039;, &#039;create one&#039; =&amp;gt; &#039;create one&#039;, &#039;No more topics to display!&#039; =&amp;gt; &#039;No more topics to display!&#039;, &#039;No topics found matching your criteria!&#039; =&amp;gt; &#039;No topics found matching your criteria!&#039;, &#039;posted&#039; =&amp;gt; &#039;posted&#039;, &#039;reply&#039; =&amp;gt; &#039;reply&#039;, &#039;Start typing here . You can use BBcode or Markdown&#039; =&amp;gt; &#039;Start typing here . You can use BBcode or Markdown&#039;, &#039;The post has been &#039; =&amp;gt; &#039;The post has been &#039;, &#039;undo&#039; =&amp;gt; &#039;undo&#039;, &#039;The page you are looking for does not exists!&#039; =&amp;gt; &#039;The page you are looking for does not exists!&#039;, &#039;There was some error. Please check your confirmation link&#039; =&amp;gt; &#039;There was some error. Please check your confirmation link&#039;, &#039;Email confirmation successfull&#039; =&amp;gt; &#039;Email confirmation successfull&#039;, &#039;You will be redirected to your &#039; =&amp;gt; &#039;You will be redirected to your &#039;, &#039;profile&#039; =&amp;gt; &#039;profile&#039;, &#039; in 2 seconds&#039; =&amp;gt; &#039; in 2 seconds&#039;, &#039;User login&#039; =&amp;gt; &#039;User login&#039;, &#039;username or e-mail address&#039; =&amp;gt; &#039;username or e-mail address&#039;, &#039;E-mail new password&#039; =&amp;gt; &#039;E-mail new password&#039;, &#039;Please fill both the fields!&#039; =&amp;gt; &#039;Please fill both the fields!&#039;, &#039;username&#039; =&amp;gt; &#039;username&#039;, &#039;password&#039; =&amp;gt; &#039;password&#039;, &#039; Keep me logged in&#039; =&amp;gt; &#039; Keep me logged in&#039;, &#039;I forgot my password&#039; =&amp;gt; &#039;I forgot my password&#039;, &#039;user profile edits saved successfully&#039; =&amp;gt; &#039;user profile edits saved successfully&#039;, &#039;display name&#039; =&amp;gt; &#039;display name&#039;, &#039;avatar&#039; =&amp;gt; &#039;avatar&#039;, &#039;Change&#039; =&amp;gt; &#039;Change&#039;, &#039;signature&#039; =&amp;gt; &#039;signature&#039;, &#039;Save edits&#039; =&amp;gt; &#039;Save edits&#039;, &#039;Current password&#039; =&amp;gt; &#039;Current password&#039;, &#039;New password&#039; =&amp;gt; &#039;New password&#039;, &#039;Confirm password&#039; =&amp;gt; &#039;Confirm password&#039;, &#039;Change password&#039; =&amp;gt; &#039;Change password&#039;, &#039;passwords do not match!&#039; =&amp;gt; &#039;passwords do not match!&#039;, &#039;A confirmation email has been sent to your email address!&#039; =&amp;gt; &#039;A confirmation email has been sent to your email address!&#039;, &#039;You have not yet confirmed your email address.&#039; =&amp;gt; &#039;You have not yet confirmed your email address.&#039;, &#039;Resend email&#039; =&amp;gt; &#039;Resend email&#039;, &#039;Joined&#039; =&amp;gt; &#039;Joined&#039;, &#039;Last login&#039; =&amp;gt; &#039;Last login&#039;, &#039;email&#039; =&amp;gt; &#039;email&#039;, &#039;Already registered?&#039; =&amp;gt; &#039;Already registered?&#039;, &#039;Login here&#039; =&amp;gt; &#039;Login here&#039;, &#039;username cannot be less than &#039; =&amp;gt; &#039;username cannot be less than &#039;, &#039;username already exists&#039; =&amp;gt; &#039;username already exists&#039;, &#039;passowrd cannot be less than &#039; =&amp;gt; &#039;passowrd cannot be less than &#039;, &#039;mail already exists&#039; =&amp;gt; &#039;mail already exists&#039;, &#039;User does not exist with the given username/mail&#039; =&amp;gt; &#039;User does not exist with the given username/mail&#039;, &#039;Unable to reset password&#039; =&amp;gt; &#039;Unable to reset password&#039;, &#039;You must be logged in to reply&#039; =&amp;gt; &#039;You must be logged in to reply&#039;, &#039;You do not have permission to &#039; =&amp;gt; &#039;You do not have permission to &#039;, &#039;create a topic&#039; =&amp;gt; &#039;create a topic&#039;, &#039;edit this topic&#039; =&amp;gt; &#039;edit this topic&#039;, &#039;Edit topic &#039; =&amp;gt; &#039;Edit topic &#039;, &#039;Create topic&#039; =&amp;gt; &#039;Create topic&#039;, &#039;Access denied&#039; =&amp;gt; &#039;Access denied&#039;, &#039;Request new passsword&#039; =&amp;gt; &#039;Request new passsword&#039;, &#039;Access Denied&#039; =&amp;gt; &#039;Access Denied&#039;, &#039;Not found&#039; =&amp;gt; &#039;Not found&#039;, &#039;password cannot be greater than 72 characters!&#039; =&amp;gt; &#039;password cannot be greater than 72 characters!&#039;, &#039;username can have only letters digits and underscores&#039; =&amp;gt; &#039;username can have only letters digits and underscores&#039;, &#039;user already exists&#039; =&amp;gt; &#039;user already exists&#039;, &#039;email address not formatted correctly&#039; =&amp;gt; &#039;email address not formatted correctly&#039;, &#039;email address is already registered&#039; =&amp;gt; &#039;email address is already registered&#039;, &#039;username field cannot be left empty&#039; =&amp;gt; &#039;username field cannot be left empty&#039;, &#039;password field cannot be left empty&#039; =&amp;gt; &#039;password field cannot be left empty&#039;, &#039;until &#039; =&amp;gt; &#039;until &#039;, &#039;You have been banned &#039; =&amp;gt; &#039;You have been banned &#039;, &#039;Wrong username or password&#039; =&amp;gt; &#039;Wrong username or password&#039;, &#039;capcha entered was wrong&#039; =&amp;gt; &#039;capcha entered was wrong&#039;, &#039;ago&#039; =&amp;gt; &#039;ago&#039;, &#039;at&#039; =&amp;gt; &#039;at&#039;, &#039;just now&#039; =&amp;gt; &#039;just now&#039;, &#039;second&#039; =&amp;gt; &#039;second&#039;, &#039;seconds&#039; =&amp;gt; &#039;seconds&#039;, &#039;minute&#039; =&amp;gt; &#039;minute&#039;, &#039;minutes&#039; =&amp;gt; &#039;minutes&#039;, &#039;hour&#039; =&amp;gt; &#039;hour&#039;, &#039;hours&#039; =&amp;gt; &#039;hours&#039;, &#039;Today&#039; =&amp;gt; &#039;Today&#039;, &#039;day&#039; =&amp;gt; &#039;day&#039;, &#039;days&#039; =&amp;gt; &#039;days&#039;, &#039;Be notified of new replies&#039; =&amp;gt; &#039;Be notified of new replies&#039;, &#039;Password updated successfully&#039; =&amp;gt; &#039;Password updated successfully&#039;, &#039;The current password given is incorrect&#039; =&amp;gt; &#039;The current password given is incorrect&#039;, ); */ ````

Now it is hard to reproduce this issue after reorganized Topics of my forum.
Therefore I would like to close this topic.
Thank you for your help.

Bset regards,
Yuji

Now it is hard to reproduce this issue after reorganized Topics of my forum. Therefore I would like to close this topic. Thank you for your help. Bset regards, Yuji
299
5
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft