MyBBHacks.com Plugins for  MyBB

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Utf-8 characters
#1
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 !!!
Reply
#2
A. In what areas? You might need to change the collation type on the database tables of the gallery to utf8.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#3
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
Reply
#4
In a tool such as phpmyadmin in cpanel or the adminer php standalone script.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#5
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.
Reply
#6
(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!


Attached Files Thumbnail(s)
   
Reply
#7
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.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#8
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 .


Attached Files Thumbnail(s)
   
Reply
#9
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
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)