Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author KodeFor.Me

    (@merianos)

    Hello ??

    First of all you have to download the poedit from here : https://www.poedit.net/download.php

    Then you have to open the file /wp-content/plugins/wp_phpbb_bridge/languages/wp_phpbb_bridge-en.po with the poedit. Make any change you like and finaly save the project as wp_phpbb_bridge-es.po

    Finally we will be huppy to share you translation with our plugin.

    Kind regards
    The Greek WordPress Community ??

    PS: When you finish, you can send the translation to [email protected]

    Thread Starter kokohv

    (@kokohv)

    Hi there,

    i did that and i’m sending you the translated files, but that wasn’t my question. I did explained myself wrong.

    This is my issue

    https://i51.tinypic.com/i1l4c0.jpg

    Whenever a topic in the forum has and accent, like “Presentación” the plugin smoke crack.

    Thanks

    Plugin Author KodeFor.Me

    (@merianos)

    Kind regards about your translation.

    Maybe you have wrong encoding in your page. Try the utf-8.

    May this help. If not contact as back again ??

    Thread Starter kokohv

    (@kokohv)

    No problem, it took me a couple of minutes, i’m glad i could help.

    I’m sure that’s the problem, but whad do i have to change ? WP or phpBB? wp-config ? Would it be safe ?

    Thanks.

    Plugin Author KodeFor.Me

    (@merianos)

    To play with character set in WordPress there are several ways.

    To get the character set from this page wp-admin/options-reading.php into your theme you can Use that code

    <meta http-equiv="content-type" content="text/html; charset=<?php bloginfo('charset'); ?>" />

    Otherwise you can access your theme and change the current encoding with this one

    <meta http-equiv=”content-type” content=”text/html; charset=utf-8″ />

    In phpBB3 you have to modify the file /includes/functions.php. You have to search for the record S_CONTENT_ENCODING and change it’s value to the UTF-8.

    After that changes you will propably not have anymore problem ??

    CynepMEH

    (@cynepmeh)

    Hello,

    I have the same problem. I am using cyrillic characters (Bulgarian language) and I have UTF-8 everywhere. I still get the ? for each non-english character. How can I fix that?

    Thank you.

    Thread Starter kokohv

    (@kokohv)

    Yes, it didn’t work and i just removed the widget since i don’t know how to fix it.

    The plugin works great managing the users between phpbb and wordpress, but the widget, it just don’t work.

    Plugin Author KodeFor.Me

    (@merianos)

    I don’t realy know what’s going wrong with you ??

    I did a re-search in the plugin, and every file is saved in UTF-8, also the translation files are in UTF-8. So I can’t find the source of the problem. ??

    In next version I will try to find the reason, but I can’t find it for now ??

    Hi, sorry for my english
    The problem that have @kokohv is that the collation of the phpbb database is different from utf8. The solution is to write the following line before submit a query to the phpbb database:

    @mysql_query('SET CHARACTER SET UTF8', $cn);

    I added it in widget-posts.php before:

    $rs = @mysql_query ($qr, $cn);

    and the problem was solved.

    I hope I have helped.

    @bworth

    That worked! Solves the issue!

    Thank you!

    Thread Starter kokohv

    (@kokohv)

    Thank you very much. It did worked smoothly.

    bworth,
    Thank you! Perfect solution I think.

    I’m fairly new to WordPress files, etc, but am comfortable with code – can anyone explain a little more what @bworth has suggested? I’m sure that’s the answer to all my Greek showing up as ???. I would appreciate it!

    Hi,

    you should do the following:

    1. Open widget-posts.php
    2. Go to the line where this piece of code is:
    $rs = @mysql_query ($qr, $cn);
    3. Add this line of code above it:
    @mysql_query('SET CHARACTER SET UTF8', $cn);
    4. So the final code looks like this:

    @mysql_query('SET CHARACTER SET UTF8', $cn);
    $rs = @mysql_query ($qr, $cn);

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: WP phpBB Bridge] Accents’ is closed to new replies.