MyBBHacks.com Plugins for MyBB

Full Version: Utf-8 characters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello , 

i just bought the ez gallery pro . 

I have three question 

a) With greek letters I have problem on the letters (appear like questionmark) . How I can fix it? 

a1) With greek letters I have problem on the letters also in comments (appear like questionmark) . How I can fix it? 

b) Instead of 5 stars , I want 10 stars . How I can do it also.

Thanks in advance !!!
A. In what areas? You might need to change the collation type on the database tables of the gallery to utf8.
The areas in on title and on comments there appears the questionmarks , english letter are supported without problem

Thank you very much for your quick response 
Because I am amateur can you please tell me where I can change  the collation type on the database tables of the gallery to utf8?

Thanks in advance
In a tool such as phpmyadmin in cpanel or the adminer php standalone script.
Thank you , it is on swedish , now i turn it in utf-8

b) Instead of 5 stars , I want 10 stars . How I can do it also.
(07-20-2019, 10:48 PM)liontaris Wrote: [ -> ]Thank you , it is on swedish , now i turn it in utf-8

b) Instead of 5 stars , I want 10 stars . How I can do it also.


Also is it possible , instead of one picture , to upload 3 or more pictures in one thread ?
and how i can change the words ( i want to translate it in greek)
and star rating for the foto's 
and calculate the average !

Thanks in advance!
For language you would translate
\inc\languages\english\ezgallery.lang.php
And
\inc\languages\english\admin\ezgallery.lang.php



Star rating is harder you would have to change all the spots where number of stars is five and the calculations ($row['totalratings']* 5)
To 10 instead of five.
Quote:[attachment=202]For language you would translate
\inc\languages\english\ezgallery.lang.php
And
\inc\languages\english\admin\ezgallery.lang.php


When i am changing to the greek letters , appears questionmarks (???????) shall i set a UTF-8 enconding to php file and where?


Quote:Star rating is harder you would have to change all the spots where number of stars is five and the calculations ($row['totalratings']* 5)

To 10 instead of five.


I found it in ezgallery.php and ezgalleryuser.php (inside the root) but did not change the stars .
I did an update just now
5.2.8
+Added setting to change the number of max stars



For text files you need to make sure you are saving the file in utf8 try using notepad++ the encoding must be utf8 not ANSI