This has been in the README file since the start, but as more servers implement the Bookface scheme as the default more people have noticed that the "File Attachment" button is missing from the post Browser. I've replied to some individual posts about it but thought I should make my own post explaining that it is not a bug. It was a UX design decision on my part to purposely hide that button. Why?
There is no interface for actually managing the files you upload and attach. You cannot rename the files, you cannot delete them, and you cannot change the access permissions for them. If you accidentally upload a private file you can't remove it. It will accept several different file types, but uploaded videos have to be quite short due to file upload size limits, and even if that limit is set rather high, file uploads will often fail. If you are attaching both photos and files the interface can appear to be in photo mode but upload the image as a file instead. Again, you can never delete files uploaded in error. You would have to contact the server administrator and have them manually delete the file for you.
Users apparently aren't even supposed to be using this feature, especially to upload videos. According to the Friendica GitHub account the lead developer said this:
"I'd suggest you use PeerTube to post video and reshare from your Friendica account since both support ActivityPub."
Presumably, then, people should also be sharing other types of files by uploading them to a cloud drive somewhere and sharing a link to the file rather than uploading them to their Friendica account.
Years ago there was a video upload button and section in Friendica. Those were removed because none of the current core developers have experience handling video files [source]. They were replaced with the "Media" section but there is still no interface for managing uploaded files.
Bookface is intended to make Friendica friendlier to users coming from other platforms. Rather than expose new users to this incomplete, partially-broken feature I made the UX design decision to hide that button.
When Bookface was just a single user stylesheet I was using the File Attachment feature myself to share it. But I repeatedly experienced the issue with it where if I was both uploading and attaching images and files to a post it would look like it was in "Photo" upload mode but would actually upload the image as a "File" and I can never, ever delete that image file. I initially hid the button to prevent myself ever doing that again.
IMO if the developers are not going to add a File Manager interface to Friendica, than the File Attachment feature should be removed. But I'm not actually part of the Friendica development team so I cannot remove that feature. However I can hide the button for it in my scheme stylesheet.
Showing the File Button
That said, Bookface makes it easy for both Friendica Administrators or end-users to un-hide the button. Bookface hides the button with a CSS variable at the top of each stylesheet. The block discussed in the "Customization" section of the Wiki. Simply change --attach-file-button: none; to --attach-file-button: block; and the button will reappear.
Friendica Admins can either change this at the top of each of the server-side scheme stylesheets or they can add a customization <style> block to the "Frio" theme footer.tpl template file. Friendica users on a server that offers Bookface can override the setting for themselves by adding a custom user stylesheet using one of the methods under "Installing Bookface Userstyles" in the Wiki. It can be as simple as this one line:
:root{--attach-file-button: block;}
Friendica users who are using the Userstyles version of Bookface can edit it at the top of their custom stylesheet.
If you know how to use your browser's Developer Tools you can also "Inspect" the "Photo" button in the Browser and find the "File" button next to it, then temporarily unhide it to upload or attach a file on a case-by-case basis.
Switching Friendica to any other scheme or theme will also reveal the button. Only Bookface hides it.
I hope that clears up the "missing" button for people.
#Bookface #theme #files
@Friendica Admins @Friendica Support
Marko Karppinen
in reply to Meanwhile in Canada • • •Scott Knowles
in reply to Meanwhile in Canada • • •Probably is!
Antonio Pรกez ๐ฒ๐ฝ๐จ๐ฆ
Unknown parent • • •Peter Brown reshared this.
Estarriol, Terrorist Dragon
in reply to Meanwhile in Canada • • •we would not be in the least surprised.
that or false flag attacks to protect the melon.
Urzl
in reply to Meanwhile in Canada • • •I assume Tesla has remote capability to start a fire. They used remote door unlocking to help control the fire at the Trump hotel but won't use it to release burning victims at an accident.
I don't doubt they have more capability than they admit to publicly.
Lazarou Monkey Terror ๐๐๐ reshared this.
Kc
in reply to Meanwhile in Canada • • •Noortje Van Leeuwen
in reply to Meanwhile in Canada • • •They Filtered US sales through Canadian warehouses, so they could claim they were sold in Canada?
Noortje Van Leeuwen
in reply to Noortje Van Leeuwen • • •JohnfromParis
in reply to Meanwhile in Canada • • •Lazarou Monkey Terror ๐๐๐
in reply to Meanwhile in Canada • • •I've been saying this, some of these fires are vandalism (necessary vandalism) but a lot could be business owners getting rid of stock they know they aren't going to sell now.
Capitalism will be Capitalism....
#TeslaTakedown #Tesla #InsuranceFraud
NoBorg
in reply to Meanwhile in Canada • • •Remember that we have already seen in the past many less educated Americans vandalizing and using violence during various demonstrations.
Brokar
in reply to Meanwhile in Canada • • •Scaea - Social
in reply to Meanwhile in Canada • • •Jerry ๐ฆ๐๐ฆ
Unknown parent • • •Nadia โฎ๏ธ๐๐ฒ๐ท๐ฎ๐พ
in reply to Meanwhile in Canada • • •Mark likes this.
Mike McCaffrey
in reply to Meanwhile in Canada • • •The Penguin of Evil
in reply to Meanwhile in Canada • • •US who knows - maybe MAGA really will buy them all 8)
๐ฆฉ Plastic Garden Fauna ๐ฆฉ
Unknown parent • • •@Adventurer @Tenor2JT
Some twat soliciting useful idiots. Likely a Tesla Pinkerton or white-nationalist cybercrime police unit. If your into "fun" activities in your free time I take no exception to that, excepting the ones that put the fediverse at risk. Op-sec pracis is respect.
Joyful Jonny
Unknown parent • • •@OvertonDoors ooo someone touched a nerve. How does it feel to have your love and your kid rejected by Eeklon the Nazi scum?
Putrid white trash boffo clown cunt-for-brains thug.
Radio_Jem
in reply to Meanwhile in Canada • • •Simon Zerafa
in reply to Meanwhile in Canada • • •See also: stealmytesla.com/
What is this isn't a joke? ๐ค
Steal My Tesla
stealmytesla.com