• It would be great if the toolbar would have a feature to upload the images directly into WP uploads directory without third party involvement. Also would be good to be able to limit the width of the image.
    Otherwise I love it ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author master5o1

    (@master5o1)

    Yeah, I was thinking of handling uploads but haven’t managed to get around to it yet. I’m quite liking the ajaxy upload things that are around and will probably deal with uploading in the same way. I’ll read up on the wordpress documentation in a while after I have handed in a couple of assignments.

    The image width can be set either using (e.g. 500px) : width=”500″ or style=”width:500px;” as a regular HTML attribute in the tag. Style allows for max- or min-width, which is handy.

    In your theme’s style.css, you could force a max-width on images inside a post to be a certain size.

    Thread Starter mvaginger

    (@mvaginger)

    great, thanx, if you could get in a ajax upload that would be really cool ??

    Plugin Author master5o1

    (@master5o1)

    I’ve started work on the file uploading and only allowing images to be done. If you would like to test the development version (currently 0.5.0-alpha1) and tell me of any errors.

    Dev: https://downloads.www.ads-software.com/plugin/bbpress-post-toolbar.zip

    Thread Starter mvaginger

    (@mvaginger)

    wowo, you are fast, let me donwload and test ??

    Plugin Author master5o1

    (@master5o1)

    I made a few changes and have updated the trunk version. Play around with it. ??

    Thread Starter mvaginger

    (@mvaginger)

    Hi, I just played around with a script. It works excellent, even the multiple upload … really good, I will translate it and will start to use it ??

    Plugin Author master5o1

    (@master5o1)

    Nice, I’m going to release 0.5.0 in a few minutes because I see no reason to with no obvious troubles. ??

    Just writing some readme.txt ??

    Thread Starter mvaginger

    (@mvaginger)

    Is there a place I can set a maximum uploaded image width of image, or can the image be automatically resized to certain max. width? that would be useful so the formatting of a page does not get ruined. thanx ?? great work

    Plugin Author master5o1

    (@master5o1)

    CSS can handle max-width of an image.
    You might want to add something like this to your theme CSS:

    #content .bbp-topic-content img,
    #content .bbp-reply-content img {
    	max-width: 600px;
    }

    Just tweak that 600px until makes it large enough and looks right.

    That’s actually a copy from bbPress’ bbpress.css which has this as default:

    #content .bbp-topic-content img,
    #content .bbp-reply-content img {
    	max-width: 100%;
    }
    Thread Starter mvaginger

    (@mvaginger)

    well I am trying somehow it doesnt work, I will have to play a bit more with it. I added to CSS it doesnt work.

    Plugin Author master5o1

    (@master5o1)

    Removing the #content from both lines might fix it by making it just a little less restrictive on which style class is being used.

    Thread Starter mvaginger

    (@mvaginger)

    I am still playing with it, I did find one thing, you cannot upload the image if you not logged in, so if you have open forum where people can attend without login, they will not be able to upload images.
    is that how you wanted ? thanx

    Plugin Author master5o1

    (@master5o1)

    I made that for security: Some people might not want an anonymous uploading images to their forum. But it’s allowable in the settings now.

    Also, 0.5.0 is up for use ??

    Thread Starter mvaginger

    (@mvaginger)

    great work mate !

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Something to work on…’ is closed to new replies.