rusbrain / reps2_beta1

кузы2
http://reps2.ru
GNU General Public License v3.0
11 stars 5 forks source link

Chat: [d] is not working #175

Closed rusbrain closed 5 years ago

rusbrain commented 5 years ago

Screenshot

widedeveloper commented 5 years ago

@rusbrain, Could you please check this issue ?

rusbrain commented 5 years ago

Should be this structure: [d]picture-url text[/d]

Example: [d]http://reps.ru/storage/chat/pictures/eonzerg.png Hello[/d]

widedeveloper commented 5 years ago

oh, could you give more detail(example) with screenshot from defiler.ru I wasn't figure out the structure from defiler correctly because I can not sent the messages from there. for example : [d]http://reps.ru/storage/chat/pictures/eonzerg.png Hello[/d] this should be shown clickable 'picture' and 'text' ?

rusbrain commented 5 years ago

Should be this https://ibb.co/gPYymRQ

widedeveloper commented 5 years ago

I fixed that, but one problem, screenshot if user enter wrong image url [d] wrong url Text[/d], it will get console errors, so in this case, can we use default image? or hide the wrong image on chat ?

rusbrain commented 5 years ago

Default image or text will fit Incorrect image code

widedeveloper commented 5 years ago

I updated it, give me your opinion if it's working correctly