SimplePortal
Development => Feature Requests => Topic started by: Jade Elizabeth on January 16, 2016, 02:53:47 AM
-
I wanted to upload an attachment to display or use a prexisting one.
It would be good to see attachments both like posts are and embedded more with BBC. So if you upload "thisismypicture1.jpg" you should be able to embed it as [thisismypicture1.jpg] or it will just display at the bottom of the block like a post would display an attachment :).
Also it would need to actually integrate with SMFs system, it would be hellish to have another attachment panel and it would be good to be able to use a preexisting one from the list :).
-
Not sure if I understood you entirely but... This? http://custom.simplemachines.org/mods/index.php?mod=3770
-
Yes but for the blocks and articles. I'm making a BBC block for example, it would be awesome if I could embed something I've already uploaded or attach something new to that block :).
-
Well, there is an attachments block as well, how would you want to change it exactly? :)
-
Basically I want the custom BBC block to behave similar to a post would behave, with attachments :D.
-
Well, you could link the attachment with [url=link to attachment]title you want to use[/url]
-
That's no good for images.
I just made this and it would be good to have it display in a block as an image I don't have to upload externally, or if I can use it like an attachment like I did there.
Intricate Daisy Mandala (http://www.colormeforum.com/coloring-pages/$0-99-intricate-and-charming-daisy-mandala)
-
If you want to display the image
[url=http://www.colormeforum.com/index.php?action=dlattach;topic=169.0;attach=224;image][img]http://www.colormeforum.com/index.php?action=dlattach;topic=169.0;attach=224;image[/img][/url]
If you want to hide it
[url=http://www.colormeforum.com/index.php?action=dlattach;topic=169.0;attach=224;image]title for the image[/url]
-
Hmm I was worried that might throw errors but thank you :D.
-
Eh, if guests cannot see attachments it will, otherwise it shouldn't :)
To fix it for guests with restrictions... Gotta use php some kind of ifAllowedTo(attachments_view) or something like that, can't check right now.