Menu

Explore Language Exchange Tips
WRITE A COMMENT for this subject | Create another subject for *Language Exchange Tips* category |
Tips to improve this service 1. Strongely need to add an ability to ignore an PM messages from some countries...
2. Translate all basic UI elements in Russian (why something like 'Logout', 'Links', 'Events'... has acceptable translations in Translation Team interface but still not aprooved?)
3. Place somewhere information of how to connect into Chat Room from external IRC client (user must use #polyglot channel on irc.mibbit.com)
4. Alow user to search peoples which are currently logged in on site
5. Place somewhere an info how much votes need to aproove an translated string in Translation Team interfeace
6. Need to replace overslashing on string containing an single quote character. For now Events-> Tyumen' Events menu record seems like ' Events-> Tyumen\\\' < --- here realy seven slashes (forum message form just strips some)
| Subject created by alrusdi |
WRITE A COMMENT for this subject 7 comment(s) | Create another subject for *Language Exchange Tips* category |
> > However if I set magic_quotes_gpc = Off, I will have problem with my queries if I insert texts with quotes ??
Yes, you will be need to check all queries for SQL injection posibility. Function like mysql_real_escape_string is good protection from user's mistakes and from SQL errors. But hackers knows a ways to overcome this protection, so you need to be ready. Good solution is to have your own function like filter_string_for_query which will normalize incoming utf string, convert html code into html entities, escape quotes, and try to detect some kinds of "unsecure" words like UNION DROP DELETE in text and strip or modify them (by adding space, for example: DROP TABLE users is not a D ROP TABLE user ...) etc.
Also, you need to clean from database a sequences of slashes before, because they are still exists...
| Comment written by alrusdi |
Thanks for those remarks : it really helps!!

> > Magic quotes
my php.ini is with
magic_quotes_gpc = On
and I strip slashes in the code
However if I set magic_quotes_gpc = Off, I will have problem with my queries if I insert texts with quotes ??
> > VIP user
you become VIP if xx of your translations get one vote,
i'll add this information in the vip page
see you!!
| Comment written by vincent |
I think that "mark as unread" option would be very interesting for e-mails.
| Comment written by lg333 |
vincent Thank you for paying attention to my post.
I'll PM you about 1-st tip
> people have to use the polyglot website
it' s not comfortable (for me at least). But this information still published in my post, and it is probably just enough
> Yeah i have to work on the "magic quote", i have not fully figured out yet
I see the same problem in PM posting and other texts from database. I suggest it happens because "php_magic_quotes" is swithed on in php.ini and additionaly php code itself uses someting like addslashes() or mysql_real_escape() before storing text in database. As results we have population of Evil Slashes is growing up)
Also... Something wrong with options which allows to become VIP user. Site says how I can to become VIP:
1) Invite 5 or more friends to this site
2) Post some language learning videos
3) Join to the Translation Team
4) Pay money
I have joined to the Translation Team, but still not VIP user)) What I do wrong?
| Comment written by alrusdi |
Hi,
Thanks for the tips : see answers below
1. Strongely need to add an ability to ignore an PM messages from some countries...
why ?
2. Translate all basic UI elements in Russian (why something like 'Logout', 'Links', 'Events'... has acceptable translations in Translation Team interface but still not aprooved?)
translation still in process, Russian admin has to accept it (he needs time for it)
3. Place somewhere information of how to connect into Chat Room from external IRC client (user must use #polyglot channel on irc.mibbit.com)
people have to use the polyglot website
4. Alow user to search peoples which are currently logged in on site
ok,
5. Place somewhere an info how much votes need to aproove an translated string in Translation Team interfeace
here is the rule : if language is accepted, item appear if more votes, or more recent
when admin approves one item votes are set to 999
6. Need to replace overslashing on string containing an single quote character. For now Events-> Tyumen' Events menu record seems like ' Events-> Tyumen\' < --- here realy seven slashes (forum message form just strips some)
Yeah i have to work on the "magic quote", i have not fully figured out yet
| Comment written by vincent |


WRITE A COMMENT for this subject