How to hide image name and size below the attachments

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
ghio
Registered User
Posts: 5
Joined: Wed Apr 19, 2017 8:11 pm

How to hide image name and size below the attachments

Post by ghio » Sun May 14, 2017 2:18 pm

Hallo!
I have a problem (sorry for my english).
I need to hide the file name, file size and file download count below the attachments.
I use PHPBB 3.20.
I've read some post in this forum and I've modified my "attachements.html" file in thys way:

Code: Select all

[{_file.DENIED_MESSAGE}]

{_file.DOWNLOAD_NAME}
    {_file.COMMENT}

{_file.DOWNLOAD_NAME}
    {_file.COMMENT}

{_file.UPLOAD_ICON} {_file.DOWNLOAD_NAME}
    {_file.COMMENT}

{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]
the original was:

Code: Select all

[{_file.DENIED_MESSAGE}]

{_file.DOWNLOAD_NAME}
    {_file.COMMENT}

{_file.DOWNLOAD_NAME}
    {_file.COMMENT}
    {_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}

{_file.UPLOAD_ICON} {_file.DOWNLOAD_NAME}
    {_file.COMMENT}
    ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}

{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]
However, nothing has changed.
Where am I wrong?
Thank's to all.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50894
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: How to hide image name and size below the attachments

Post by stevemaury » Sun May 14, 2017 3:02 pm

In looking both at my 3.2 test installation, and at this board here (phpbb.com/community), it seems that if an attachment is inline, there is no "Attachment" label at the top, nor any name, filesize, viewed or downloaded labels. If the attachment is NOT inline, there is an "Attachment" label at the top, but no name, filesize, viewed or downloaded labels. See:

not inline - viewtopic.php?f=556&t=2423191#p14739411
inline - viewtopic.php?f=556&t=2423191#p14739411

I had never noticed this before.

Can we have a link to a post on your board showing an attachment with info at the bottom?
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

ghio
Registered User
Posts: 5
Joined: Wed Apr 19, 2017 8:11 pm

Re: How to hide image name and size below the attachments

Post by ghio » Sun May 14, 2017 4:25 pm

Thank's.
My forum is acquariodolce.it.
This is a screenshot.
Cattura.PNG
If i use the bbcode [img] there are no label

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50894
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: How to hide image name and size below the attachments

Post by stevemaury » Sun May 14, 2017 6:50 pm

A link, please, not a screenshot.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

ghio
Registered User
Posts: 5
Joined: Wed Apr 19, 2017 8:11 pm

Re: How to hide image name and size below the attachments

Post by ghio » Sun May 14, 2017 8:47 pm

Sorry.
To see the image in the forum you have to log in.
You can use this credential:
ID: Imago
PW: 123456

This is a link
https://www.acquariodolce.it/caridine-e-zucca-t221.html

Thank's

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50894
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: How to hide image name and size below the attachments

Post by stevemaury » Mon May 15, 2017 5:17 pm

What date did you convert to 3.2? As a test, make a post with an image attachment and see if the info is at the bottom. Do it inline and not inline.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

ghio
Registered User
Posts: 5
Joined: Wed Apr 19, 2017 8:11 pm

Re: How to hide image name and size below the attachments

Post by ghio » Mon May 15, 2017 7:27 pm

https://www.acquariodolce.it/test-setta ... html#p8235

I've started my forum directly with phpbb 3.2 on February 2017

ghio
Registered User
Posts: 5
Joined: Wed Apr 19, 2017 8:11 pm

Re: How to hide image name and size below the attachments

Post by ghio » Thu May 18, 2017 8:55 pm

Nothing new for me? ;)

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50894
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: How to hide image name and size below the attachments

Post by stevemaury » Thu May 18, 2017 10:12 pm

Nope. I do not see that information under attachments either at this board or my test board, so I am baffled.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

maxwellqc13
Registered User
Posts: 145
Joined: Fri Mar 10, 2017 9:51 pm
Location: Iowa
Name: Max

Re: How to hide image name and size below the attachments

Post by maxwellqc13 » Thu May 18, 2017 11:08 pm

I assume this is what you are referring to. The top image is inline via the attachment function the bottom just an attachment. Both are the same image.

I tried to remove the info below them also and was not able to. Only option I found was using BBCode instead
Page-Shot-2017-5-18 (1) Grain Belt News - Post a new topic.png

TearAByte
Registered User
Posts: 13
Joined: Tue Apr 17, 2018 12:54 am

Re: How to hide image name and size below the attachments

Post by TearAByte » Mon Jun 11, 2018 11:40 pm

Was there ever a resolution for this?
I too want to hide/remove the filename and size shown at the bottom of uploaded images placed "Inline" ..

You can see an example in this post:
https://underthepin.com/viewtopic.php?f ... p=367#p367

User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: How to hide image name and size below the attachments

Post by canonknipser » Tue Jun 12, 2018 9:01 am

See viewtopic.php?f=556&t=2473176#p15022471 for a similar issue
Don't forget do clear the board's cache after changing the template, otherwise you'll not see any change
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21681
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: How to hide image name and size below the attachments

Post by Mick » Tue Jun 12, 2018 12:12 pm

Inline:
DFC7427C-7950-4B6C-8B1A-C5EB6BBF5E9D.jpeg


Not inline:
Attachments
A203EC7D-0036-4E3B-8E35-A77EA88C0E31.jpeg
"The more connected we get the more alone we become" - Kyle Broflovski

Post Reply

Return to “[3.2.x] Support Forum”