MyBBHacks.com Plugins for  MyBB
Utf-8 characters - Printable Version

+- MyBBHacks.com Plugins for MyBB (https://www.mybbhacks.com)
+-- Forum: ezGallery Pro for MyBB (https://www.mybbhacks.com/forumdisplay.php?fid=8)
+--- Forum: Support (https://www.mybbhacks.com/forumdisplay.php?fid=10)
+--- Thread: Utf-8 characters (/showthread.php?tid=3154)



Utf-8 characters - liontaris - 07-20-2019

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 !!!


RE: Utf-8 characters - MyBBHacks - 07-20-2019

A. In what areas? You might need to change the collation type on the database tables of the gallery to utf8.


RE: Utf-8 characters - liontaris - 07-20-2019

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


RE: Utf-8 characters - MyBBHacks - 07-20-2019

In a tool such as phpmyadmin in cpanel or the adminer php standalone script.


RE: Utf-8 characters - liontaris - 07-20-2019

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.


RE: Utf-8 characters - liontaris - 07-20-2019

(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!


RE: Utf-8 characters - MyBBHacks - 07-21-2019

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.


RE: Utf-8 characters - liontaris - 07-21-2019

Quote:     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 .


RE: Utf-8 characters - MyBBHacks - 07-21-2019

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