Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Translation to greek unknown parts of the code (http://www.bvlist.com/showthread.php?t=8255)

Giorgatzelos 16th September 2012 16:37

it has only utf8_bin i changed it to this but still question marks are displayed in the page......

joeroberts 16th September 2012 16:45

I well check my files

Giorgatzelos 16th September 2012 16:46

ok Joe...

joeroberts 16th September 2012 16:56

please show me what your table structure looks like

Giorgatzelos 16th September 2012 17:02

2 Attachment(s)
Right now looks like this:Changed the bonus name and description to utf8_bin

joeroberts 16th September 2012 19:10

you need to let php incode the text like so
PHP Code:

$db->sql_query("UPDATE `".$db_prefix."_bonus` SET `description` = '".addslashes(strip_tags(urldecode('Αν φτάσετε τα σημεία για αυτή την περίπτωση, μπορείτε να ανταλλάξετε αυτά τα σημεία σχετικά με την πετάξει σε κυκλοφορία, αν αφαιρέσουμε τα σημεία και θα λάβετε την κίνηση.')))."' WHERE `torrent_bonus`.`id` = 1;"); 

and that inturn inserts text like this
Code:

Αν φτάσετε τα σημεία για αυτή την περίπτωση, μπορείτε να ανταλλάξετε αυτά τα σημεία σχετικά με την πετάξει σε κυκλοφορία, αν αφαιρέσουμε τα σημεία και θα λάβετε την κίνηση.
into the data base then php decodes it to this
Quote:

Αν φτάσετε τα σημεία για αυτή την περίπτωση, μπορείτε να ανταλλάξετε αυτά τα σημεία σχετικά με την πετάξει σε κυκλοφορία, αν αφαιρέσουμε τα σημεία και θα λάβετε την κίνηση.

Giorgatzelos 16th September 2012 19:15

so you are telling me to run sql command like this and it will work?just alter the greek text of each command accoardingly and the id in the end?

joeroberts 16th September 2012 19:19

yes you can see how it worked here
http://guv2.com/3/pmbt/mybonus.php

Giorgatzelos 16th September 2012 19:29

1 Attachment(s)
when i run your command it shows me this...

joeroberts 16th September 2012 19:39

you can not run it in phpmyadmin you add the line to one of your php files
and when you load that page it well run the query.


All times are GMT +2. The time now is 09:51.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.