MyBB Community Forums
Date and time appearing attachment. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Date and time appearing attachment. (/thread-234698.html)



Date and time appearing attachment. - Noinha - 2022-01-14

Hello developers.

Using the attachment system, after inserting the image in the thread, the day and time is displayed next to the image.
I take the opportunity to ask if there is a limit of attachments(global) and in which folder they are saved.
Can I change the attachments destination folder?
Thank you very much!

   


RE: Date and time appearing attachment. - noyle - 2022-01-14

> Using the attachment system, after inserting the image in the thread, the day and time is displayed next to the image.

I guess there might be wrong the attachment-related templates or the language entries.
Check template postbit_attachments_images_image;
Check postbit_attachments_* & postbit_attachment_* entries in global.lang.php in your language pack.

> I take the opportunity to ask if there is a limit of attachments(global) and in which folder they are saved.
> Can I change the attachments destination folder?

It's ./uploads and you may change the setting of "Uploads Path" in AdminCP in "Board Settings » Server and Optimization Options". Make sure your upload folder has correct permissions (read & write).


RE: Date and time appearing attachment. - Noinha - 2022-01-15

(2022-01-14, 08:05 PM)noyle Wrote: > Using the attachment system, after inserting the image in the thread, the day and time is displayed next to the image.

I guess there might be wrong the attachment-related templates or the language entries.
Check template postbit_attachments_images_image;
Check postbit_attachments_* & postbit_attachment_* entries in global.lang.php in your language pack.

> I take the opportunity to ask if there is a limit of attachments(global) and in which folder they are saved.
> Can I change the attachments destination folder?

It's ./uploads and you may change the setting of "Uploads Path" in AdminCP in "Board Settings » Server and Optimization Options". Make sure your upload folder has correct permissions (read & write).

Hi. Thanks for the feedback.
The problem does not occur when the language is in English. The problem is in the language pack, but I can't find where the error is.

   

   

   

html english
   

html portuguese
   


RE: Date and time appearing attachment. - noyle - 2022-01-15

Check language entries today and yesterday in global.lang.php in your language pack, which should be plain text.


RE: Date and time appearing attachment. - Noinha - 2022-01-16

(2022-01-15, 02:10 PM)noyle Wrote: Check language entries today and yesterday in global.lang.php in your language pack, which should be plain text.

Hi ! 
That was the error!
Thanks for your help!