Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Images from a PC to a Topic.

  • @invtrdr

    Member

    Is it possible for a user to upload images directly into the topic from his or her PC? I mean without it being held on a server somewhere and using <img src=” “/> to post it in the topic. Copying and pasting a image did not work for me.

    Thank you.

Viewing 25 replies - 1 through 25 (of 28 total)
  • @kawauso

    Member

    I already answered this in your other thread: https://bbpress.org/forums/topic/adding-images-to-a-topic

    Please don’t start another one for exactly the same thing. Unless you mean, can you upload an image without having to upload it to a server of some kind? In which case, not very practically no.

    @invtrdr

    Member

    Yes. That is what I meant. Can a user if logged in, upload an image from their PC onto the forum server?

    Thank you.

    @johnhiler

    Member

    In my experience, this is the best plugin for uploading images to your forum:

    https://bbpress.org/plugins/topic/bb-attachments/

    @invtrdr

    Member

    It is what I want exactly. Just not working for me.

    Thanks.

    @johnhiler

    Member

    Check out the comments on the plugin… it’s a bit tricky to configure since you have to make sure to create the upload directory about your webroot (for security reasons):

    # make a directory /bb-attachments/ ABOVE your webroot ie./home/username/bb-attachments/

    # chmod 777 the above /bb-attachments/ directory

    It’s definitely worth it though – the security help keeps your site safe. :-)

    @invtrdr

    Member

    I am not too sure of doing what you outlined above correctly myself. Make a directory like a folder you mean under my plugins? And is home and user name replaced by something? How do I chmod it?

    Thanks.

    @johnhiler

    Member

    No the directory shouldn’t be under /my-plugins/… it should be higher in your directory structure.

    You know the folder that your bb-config.php file is in? You should put /bb-attachments/ in the folder *above* that one.

    @invtrdr

    Member

    The bb-config.php file is in the bb-press directory. Above that is the DB backup and HTML directory. Is there an example I can see somewhere? Or can you explain a little more in depth please as I am still learning.

    Thank you.

    @johnhiler

    Member

    Create a “bb-attachments” folder in in the HTML directory… then change the permissions on that folder to 777.

    @invtrdr

    Member

    I created the folder “bb-attachments” and used Filezilla to change permission to 777. Still did not see images or image links.

    Thanks.

    @invtrdr

    Member

    Even after clicking on Upload, I did not a link in the post and neither did I see any images in the newly created folder either.

    Thanks.

    @johnhiler

    Member

    I’d have to see your settings…

    bb-attachments requires some careful admin of the settings… do you have a tech savvy friend nearby that can help out?

    @invtrdr

    Member

    I called GoDaddy where I host and they said that HTML is the highest root in shared hosting. I cannot go above it. Can the plugin be modified so as to work in the HTML folder?

    Thanks.

    @batrachoid

    Member

    The plugin doesn’t need to go above HTML. Make sure you have followed all the directions for installation correctly.

    @johnhiler

    Member

    Yah sorry for any confusion – create a new folder called “bb-attachments” and put it in the HTML folder… and chmod it to 777.

    @invtrdr

    Member

    So what I did was wrong? I clicked on create a directory and named it “bb-attachments” in the HTML directory. I will try uploading an empty folder called “bb-attachments” this time and see if that works.

    Will update shortly.

    @invtrdr

    Member

    Still nothing. Created the folder on the desktop, uploaded via FTP, changed permissions to 777 and just see my text, no link to image.

    @johnhiler

    Member

    Did you read all 16 pages of comments on the plugin page? There are some pretty helpful clues there!

    Try making this line in the settings specific to your site… one user set theirs to this:

    $bb_attachments=”/var/web/web1/user/web1_stroe/bb-attachments/”;

    Ask your webhost what the exact path is to your HTML directory?

    @invtrdr

    Member

    Thanks. Will try that too. It might also be an issue with bbPress 1.0 that could be the problem, compatibility issues.

    @invtrdr

    Member

    That could also be it. When I type in http://www.mydomain.com/bb-attachments I get an error message.

    @batrachoid

    Member

    InvTrdr, did you follow all of the installation instructions, i.e. activating the plugin and setting the options?

    I only ask because you mention other little steps like “clicking on Upload,” but haven’t confirmed that you have completed every other direction outlined on the plugin page.(Which is where this discussion should really be, by the way.)

    @invtrdr

    Member

    Yes. It has been activated. I see the option to upload images in each post.

    @invtrdr

    Member

    I am getting to the point where I see a red X where the image or link to image should be in the post.

    Thanks.

    @johnhiler

    Member

    Ah the red X… the solution to that is mentioned in the comments of the plugin:

    https://bbpress.org/plugins/topic/bb-attachments/

    @invtrdr

    Member

    Thanks for all the help. Posted that Q about the red X in the other forum.

Viewing 25 replies - 1 through 25 (of 28 total)
  • You must be logged in to reply to this topic.
Skip to toolbar