Info
- 29 posts
- 4 voices
- Started 2 years ago by InvTrdr
- Latest reply from InvTrdr
- This topic is resolved
Adding Images from a PC to a Topic.
-
- Posted 2 years ago #
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. -
- Posted 2 years ago #
I already answered this in your other thread: http://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. -
- Posted 2 years ago #
Yes. That is what I meant. Can a user if logged in, upload an image from their PC onto the forum server?
Thank you. -
- Posted 2 years ago #
In my experience, this is the best plugin for uploading images to your forum:
http://bbpress.org/plugins/topic/bb-attachments/ -
- Posted 2 years ago #
It is what I want exactly. Just not working for me.
Thanks. -
- Posted 2 years ago #
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/ directoryIt's definitely worth it though - the security help keeps your site safe. :-)
-
- Posted 2 years ago #
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. -
- Posted 2 years ago #
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.
-
- Posted 2 years ago #
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. -
- Posted 2 years ago #
Create a "bb-attachments" folder in in the HTML directory... then change the permissions on that folder to 777.
-
- Posted 2 years ago #
I created the folder "bb-attachments" and used Filezilla to change permission to 777. Still did not see images or image links.
Thanks. -
- Posted 2 years ago #
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. -
- Posted 2 years ago #
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?
-
- Posted 2 years ago #
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. -
- Posted 2 years ago #
The plugin doesn't need to go above HTML. Make sure you have followed all the directions for installation correctly.
-
- Posted 2 years ago #
Yah sorry for any confusion - create a new folder called "bb-attachments" and put it in the HTML folder... and chmod it to 777.
-
- Posted 2 years ago #
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. -
- Posted 2 years ago #
Still nothing. Created the folder on the desktop, uploaded via FTP, changed permissions to 777 and just see my text, no link to image.
-
- Posted 2 years ago #
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['path']="/var/web/web1/user/web1_stroe/bb-attachments/";
Ask your webhost what the exact path is to your HTML directory?
-
- Posted 2 years ago #
Thanks. Will try that too. It might also be an issue with bbPress 1.0 that could be the problem, compatibility issues.
-
- Posted 2 years ago #
That could also be it. When I type in http://www.mydomain.com/bb-attachments I get an error message.
-
- Posted 2 years ago #
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.)
-
- Posted 2 years ago #
Yes. It has been activated. I see the option to upload images in each post.
-
- Posted 2 years ago #
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. -
- Posted 2 years ago #
Ah the red X... the solution to that is mentioned in the comments of the plugin:
http://bbpress.org/plugins/topic/bb-attachments/ -
- Posted 2 years ago #
Thanks for all the help. Posted that Q about the red X in the other forum.
-
- Posted 2 years ago #
The answer to the red X question should already be in the comments on that page... just browse through the comments?
-
- Posted 2 years ago #
Thanks. I am getting there.
-
- Posted 2 years ago #
Got there. Apparently the red X was due to the table not being created in the DB. Ran a query to fix that and it is working fine now.
Thanks for all the help and encouragement. NEVER give UP! -
You must log in to post.