Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

MyAttachments ideas and donation

This discussion is related to the My Attachments addon.
phreakphreak VanillaAPP - White label iOS and Android App MVP
edited December 2013 in Feedback

Hi everybody,

I think MyAttachments is another great addon from @peregrine to the Vanilla plugins. I would like to collect ideas and donations for possible development, ... at least if there are more people with interest in this plugin. I donated $25 today to say thanx.

Ideas for Development

  • Make the attachments aware of category rights (so that users who are not allowed to certain categories won't see images of others users.)
  • "Optional" Possibility to delete the images form the "My Attachments" Tab (maybe with adding of "Image removed" text)
  • Make it more gallery-like by giving a resizing possibility in the backend that will fit the pictures in a certain square or size (200x200). Right now also the name of the picture stretches the DIV very heavily. This can also be achieved by CSS, but maybe providing an easier solution trough setting would be great for some users.
  • Adding localization

@peregrine and everybody: Any other ideas or what do you think about those?


Why is MyAttachment important to a community that uses File Upload? Simply because my users are friends of File Uploads. It's hundred of users uploading very often private pics to my website. Some of them just want to have an overview of what picture they uploaded, from time to time users leave the community and it's their right to have their private pictures removed from the Admins. This makes it far easier to find the right pictures for them and for me. I really gain lifetime through this, probably 365 minutes a year, so thanx. :)

peregrinevrijvlinderhgtonight
«1

Comments

  • @phreak well done, I will also gave him donation when i get appropriate amount from PTC sites

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited December 2013

    Make it more gallery-like by giving a resizing possibility in the backend that will fit the pictures in a certain square or size (200x200). Right now also the name of the picture stretches the DIV very heavily.

    To arrange the pics better add this to the plugin css

    .ImageThumbnail {
    border-radius: 10px;
    width: 150px;
    height: 150px;
    }
    
    div.imagepair {
    display: inline-table;
    width: 28%;
    height: auto;
    margin: 15px;
    padding: 10px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    box-shadow: 0 0 10px #aaa;
    -moz-box-shadow: 0 0 10px #aaa;
    -webkit-box-shadow: 0 0 10px #aaa;
    }
    

    I think the problem may be also that if the name of the image is really long it takes up more space than the pic ...

    so adding this forces the size of all pic containers, but the name of the pic cant be broken up to fit if the name contains underscores.

    p.imagename{
    width:50px;
    white-space:pre-wrap;
    }
    

    To get rid of the image name , I just used this and then the pics line up nicer. I don't need the image name, it is not a good caption.

    p.imagename, p.imagename a {
    display: none;
    }
    

    It would be a great idea to add your tooltip for the discussions index to these pics if it is possible to meld those two. Just thought...

    Also note that this plugin only works with images uploaded, not images that you link to the post.
    It would be nice to add those too but I realize that would involve having to save the linked images into db. This plugin should make people want to upload more than link images hopefully.

    peregrine
  • thanks for the donation @phreak

    Make it more gallery-like by giving a resizing possibility in the backend that will fit the pictures in a certain square or size (200x200). Right now also the name of the picture stretches the DIV very heavily. This can also be achieved by CSS, but maybe providing an easier solution trough setting would be great for some users.

    like V says via css.

    too many parameters a user might want to change via a settings for widths and heights.

    or

     div.imagepair { 
        display: inline-block;
        width: auto;
        margin: 10px auto;
        padding: 10px;
        padding-bottom: 32px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        box-shadow: 0 0 10px #AAA;
        -moz-box-shadow: 0 0 10px #AAA;
        -webkit-box-shadow: 0 0 10px #AAA;
    }
    
    
        .ImageThumbnail {
        border-radius: 10px;
        width: auto;
        height: 150px;
        }
        div.imagepair {
        display: inline-table;
        width: 23%;
        height: auto;
        margin: 15px;
        padding: 10px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        box-shadow: 0 0 10px #aaa;
        -moz-box-shadow: 0 0 10px #aaa;
        -webkit-box-shadow: 0 0 10px #aaa;
        }
    
    
        p.imagename{
        white-space:pre-wrap;
        }
    

    if you don't want distorted thumbnails pics

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinder
  • R_JR_J Cheerleader & Troubleshooter Munich Moderator
    edited December 2013

    I think it would be even better if

    • admin could config the sort order with two dropdowns: sort field and sort order (I would prefer upload date, desc.)
    • user could hide an attachment in his list from being shown to others
    • user could filter which filetypes he wants to see in other users galleries
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    if you don't want distorted thumbnails pics

    Yes you can play a little with the thumbnail size but depending on the pic it may push out of the container, the link to post or the name. I use hover zoom so when I hover the image gets bigger anyway to see it better. If there was a way to add the fancy box class to those images, like maybe using jquery to add the fancy box class then the fancy box plugin would work for this too. Or the one hgtonight made.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited December 2013

    user could hide an attachment in his list from being shown to others

    You would have to hide the discussion it came from. this plugin fetches the images belonging to a discussion. The id for the image belongs to the discussion it came from. To prevent someone from seeing your attachments you would need to be able to also hide the discussion it came from ... I think..

    admin could config the sort order with two dropdowns: sort field and sort order (I would prefer upload date, desc.)

    I think one sort order is fine, simply by the comment number. 1-1000. So the first ones come first. It is the natural order in my opinion.

    Sorting could be affected by people editing their posts or deleting the discussion.

    user could filter which filetypes he wants to see in other users galleries

    User can filter that in their browser no?

    @peregrine , this is a great plugin :) <3

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    1.) I just thought about how a list of attachments could be simply customized to look like some kind of gallery and only if the user wants to. So I do not want to really hide an attachment, but simply give the option to not show it in this list (for cosmetic reasons)

    2.) That's why I thought having the ability to sort would be great: peregrine thought it would be great to see them by alphabet, you would prefer them by oldest first and I by youngest first. Changing the sort field and order in the code would be the simplest thing but having a ui or at least a config parameter

    3.) Is there already a filter? I have to admit that I haven't even looked at the source code by now and so I don not know what that great plugin can do and what not. So maybe I'm talking about already existing features... :\ I know it's a shame but my time is very limited at Christmas and I'm almost happy if vacations are over ;)

    @peregrine: I still love the idea and the power of that plugin even if you do not change it at all

    peregrine
  • peregrineperegrine MVP
    edited December 2013

    @R_J said:

    1.) I just thought about how a list of attachments could be simply customized to look like some kind of gallery and only if the user wants to. So I do not want to really hide an attachment, but simply give the option to not show it in this list (for cosmetic reasons)

    2.) That's why I thought having the ability to sort would be great: peregrine thought it would be great to see them by alphabet, you would prefer them by oldest first and I by youngest first. Changing the sort field and order in the code would be the simplest thing but having a ui or at least a config parameter

    3.) Is there already a filter? I have to admit that I haven't even looked at the source code by now and so I don not know what that great plugin can do and what not. So maybe I'm talking about already existing features... :\ I know it's a shame but my time is very limited at Christmas and I'm almost happy if vacations are over ;)

    peregrine: I still love the idea and the power of that plugin even if you do not change it at all

    sorting would be the simplest change - I will add something soon.

    some of the features you guys suggested, i had thought of as well, as time and pledges permit I will be adding features, especially if there are more interested pledgers and/or more donations.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinderphreak
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    I tested deleting a discussion , the image simply disappears from the myattachments list. It would still be in the DB you say?

    peregrine
  • peregrineperegrine MVP
    edited December 2013

    @vrijvlinder said:
    I tested deleting a discussion , the image simply disappears from the myattachments list. It would still be in the DB you say?

    Actually, I did say something related :), not in db.

    Just curious if you create a discussion and a comment and put an image in the comment and a different image in the discussion via attachment (not insertion).

    take not of the image urls (folder locations for the two images).

    if you delete the comment without deleting attachment - is the image file still in your upload folder?

    if you delete the discussion without deleting attachment - is the image file still in your upload folder?

    if it is gone in both cases - no worries. if it exists these are orphan files.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Yes the folder that was created to house the uploaded files remains and no pics inside , I need to look through some more but it does seem to leave behind empty folders or a no pic placeholder type thing...

    peregrine
  • peregrineperegrine MVP
    edited December 2013

    @vrijvlinder said:
    Yes the folder that was created to house the uploaded files remains and no pics inside , I need to look through some more but it does seem to leave behind empty folders or a no pic placeholder type thing...

    Thanks V. then its not really an issue as the folder will get reused. thanks for testing. I had some orphan images and i must have created the problem myself during testing other things.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinder
  • peregrineperegrine MVP
    edited December 2013

    added a few new features, with settings options. Also aded "vrijvlinder css option" as the V option in view settings.

    which phreak, rj and v :

    might be worth an oeillade at the update

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinder
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    might be worth an oeillade at the update

    I gave an oeillade then I fusillade this to show my admiration ;)

    peregrine
  • phreakphreak VanillaAPP - White label iOS and Android App MVP
    edited December 2013

    Thanx @peregrine. Did you implement category permission and localization. Probably needs a little more sponsoring. Will do, anybody else? ;)

  • phreakphreak VanillaAPP - White label iOS and Android App MVP
    edited December 2013

    Uh sorry, no need to think about locale.

    @peregrine: Will you be able to add the role managment into the plugin. So it appears in setting of the Dash were user groups can be allowed to view or not to view the "MyAttachments" tab. Right now everyone can see it publicly.

    Also the CSS is a good one. I'd love to see this concept in more plugins if possible. Developed to a certain extend it could help a lot of non-designers to pic up a more fitting theme for their forums. Probably basic and simple design guidelines can be developed alongside the original themes of Vanilla (just take this as an idea for now).

  • peregrineperegrine MVP
    edited December 2013

    @phreak said:
    Uh sorry, no need to think about locale.

    yes. the tab name and message can be changed via definitions.

    Probably needs a little more sponsoring. Will do, anybody else? :wink:

    I added just about everything you wanted, re: role permissions, respects category permissions, variety of css views, sorting via a variety of types, works in 2.0.18.10 and 2.1

    I am not convinced that not displaying certain images (selectable by user) is worth the effort on my part. It somewhat defeats the purpose, easy access to finding attachments. If they are not displayed or hidden by the user, they cannot be easily found in the discussion. But more donations could convince me. anyone thinking of making a donation - do it AFTER Jan 1, 2014 if you can.

    peregrine: Will you be able to add the role managment into the plugin. So it appears in setting of the Dash were user groups can be allowed to view or not to view the "MyAttachments" tab. Right now everyone can see it publicly.

    yes. done in version 1.4. remember when upgrading to 1.4

    • disable the plugin
    • update to version 1.4
    • enable the plugin and then go to roles in dashboard and edit the roles and permissions for a specific role that you want to allow to view MyAttachments profileTab and Myattachment view

      Plugins AllowView

      MyAttachments x

    Also the CSS is a good one. I'd love to see this concept in more plugins if possible. Developed to a certain extend it could help a lot of non-designers to pic up a more fitting theme for their forums. Probably basic and simple design guidelines can be developed alongside the original themes of Vanilla (just take this as an idea for now).

    might be useful - a bit more overhead.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinderUnderDoghgtonight
  • added easy integration with lightbox (fancy box) plugin and more options in settings for click preferences.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinderhgtonight
  • peregrineperegrine MVP
    edited January 2014

    You guys are going to love version 1.8 with super enhancements from one of your favorite moderators - *************** hgtonight **********

    why...

    because hgtonight sent me many changes for the plugin for improved model - view and sql extraction, added paging and more features, more settings, etc. etc.

    see the new description of the plugin and the note: for upgrading and also see the readme.

    and I thank you hgtonight form all of us for improving the experience.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinderR_J
  • phreakphreak VanillaAPP - White label iOS and Android App MVP
    edited January 2014

    Amazing @hgtonight. @peregrine this was the issue i guess why pictures where not shown. They were restricted because postet in categories who are hidden to the public.

    Although, sorry that i'm so annoying. It would be cool to have a rule that allows user who are allowed to see that category to see the this categories uploads too. Right now its forbidden for them even though they are allowed to read discussions in this category.

    Also if a picture has a "Restricted Attachment" it's easy to watch it by clicking on it as it loads the picture directly into the browser.

  • peregrineperegrine MVP
    edited January 2014

    Also if a picture has a "Restricted Attachment" it's easy to watch it by clicking on it as it loads the picture directly into the browser.

    don't use the option for regular users just for debugging purposes - like "how come I don't see images.

    Although, sorry that i'm so annoying. It would be cool to have a rule that allows user who are allowed to see that category to see the this categories uploads too. Right now its forbidden for them even though they are allowed to read discussions in this category.

    theoretically if you can view category you can see discussion and image. not sure what you are talking about.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • phreakphreak VanillaAPP - White label iOS and Android App MVP

    Mmh sorry, but i have no clue why my users seem to have an enormous amount of "Restricted Attachments". Even though the categories are open to users they are not shown.

    Maybe i don't get it or there is something wrong with the logic of restricted attachments or a bug under 2.0.18.10. See the screenshots of page 4, 1 and 2.

    This user has 436 uploads. The pagination acts weird, seems like it's counting the restricted attachments too, but what makes them really restricted?

  • peregrineperegrine MVP
    edited January 2014

    my fault for not testing changes i added to version 1.8 - so until further notice use version 1.7

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • peregrineperegrine MVP
    edited January 2014

    so until further notice use version 1.7

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • phreakphreak VanillaAPP - White label iOS and Android App MVP
    edited January 2014

    I'll sponsor a fix for this. Wether it goes to @hgtonight or your @peregrine. :) Better not having a buggy 1.8 in the air so others are irritated.

  • hgtonighthgtonight ∞ · New Moderator

    Send all donations to peregrine.

    The count has to include any restricted attachments to scale at all. This is the way comments and discussions are handled.

    An attachment is considered restricted if the parent item is in a category the logged in user cannot see. There is an option to show a placeholder attachment for restricted attachments (Check the 'Indicate Restricted' option in settings). With this checked you should see the exact number of entries as indicated in the tab count.

    I was testing against 2.0.18.10 with fileupload 1.5.2 on a localhost. Everything worked as far as I could tell.

    What would really be helpful is a snapshot of some forum that actively uses file upload. My community doesn't use it so I just made a bunch of posts with different users to different categories with different view permissions. Then attached files to random posts.

    Sorry for any confusion/issues caused.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

    peregrine
  • peregrineperegrine MVP
    edited January 2014

    @hgtonight said

    Send all donations to peregrine.

    sounds good to me. :)

    I made a few more changes to theoretically fix some things in version 1.9 which is out now.

    restricted images do not show when clicked. added settings. pager optional (if you have restricted category viewing you probably want to turn off pager).

    @phreak said:
    I'll sponsor a fix for this. Wether it goes to @hgtonight or your @peregrine. :smile: Better not having a buggy 1.8 in the air so others are irritated.

    @phreak said:
    Thanx @peregrine. Did you implement category permission and localization. Probably needs a little more sponsoring. Will do

    sure @phreak, if there are no strings attached.

    I don't take sponsorships with strings attached, however

    • Sure Phreak if would be great
    • if you want to send an additional donation
      • since I made numerous changes specifically for you,
      • I 'll let you know in this discussion if i receive a donation

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • phreakphreak VanillaAPP - White label iOS and Android App MVP
    edited January 2014

    Beloved @peregrine, I sent you another donation. I also sent you an answer to your private message. Although it looks like "numerous changes specifically for me" has been made or what you wrote in PM "extra work i did for you"... there were a lot of ideas and inputs besides what i was suggesting and bug-testing from you, @vrijvlinder and @hgtonight.

    More than probably 80 people downloaded (currently 118 downloads) the plugin and while i donated you still bug me on several occasions. I'm just feedbacking through my power of a big community testing your plugins live and give you a donation for the ones i will use productivly as MY part of the community supporting development. This is exactly what you asked for in the past.

    Musicians have a saying: "Even if it's just one person, don't piss the audience that's is attending to your concert". Please, i really ask you to put your anger towards those who are not contributing wether in bug-testing nor in donations instead of concentrating it on me. Thanx. :)

    EVERYBODY ELSE WHO IS USING THIS PLUGIN DONATE TO @PEREGRINE. Give back to those feeding you!

    Btw.: All VanillaSkins.com income is provided to development of new plugins or donations for developers.

    hgtonightperegrine
  • peregrineperegrine MVP
    edited January 2014

    @phreak

    Beloved @peregrine, I sent you another donation. I also sent you an answer to your private message. Although it looks like "numerous changes specifically for me" has been made or what you wrote in PM "extra work i did for you"...

    thanks for the additional donation. appreciated and received.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    phreak
  • phreakphreak VanillaAPP - White label iOS and Android App MVP

    Will do = I will do - in my case (please be give me patience when it comes to answers and donations from me, it can be the case this will take more than 24h, i run several projects, have meetings, almost 14 people who are regular suppliers and so on).

    "Sponsor" > Sorry, wrong word, i'm no native english speaker. No strings, i just like the idea of mentions and linking of donators in your plugin descriptions as this mentions VanillaSkins.com to people, what makes me re-invest the earnings in plugins.

    smokingthepeacepipe

    hgtonightperegrine
«1
Sign In or Register to comment.