Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
2 registered members (JAISP, Ruben), 72 guests, and 413 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
TGCsanderson
TGCsanderson
Hackelton U.K.
Posts: 67
Joined: September 2007
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 16
M4TT 12
FREAK 11
Ruben 8
mmkk 5
isaac 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Attaching a document #257156
08/20/15 10:41 AM
08/20/15 10:41 AM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Hi everyone,

I know we can embed jpgs and pngs etc. into a post. And, we can use a URL to connect to a document on a website.

Is it possible to attach a document directly to a post? Or can documents be stored onsite?

Thanks.


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Attaching a document [Re: Bert] #257159
08/20/15 01:56 PM
08/20/15 01:56 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Control Panel > Feature Settings > Attachments > Allowed Attachment File Extensions

Re: Attaching a document [Re: Bert] #257162
08/20/15 02:58 PM
08/20/15 02:58 PM
Joined: Jun 2006
Posts: 16,786
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,786
Portland, OR; USA
You will need to enable attachments through the permission editor on a forum by forum basis; then as Isaac stated above, you will need to adjust the allowed file extensions for your site.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Attaching a document [Re: Bert] #257165
08/20/15 03:39 PM
08/20/15 03:39 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Thanks guys. Will do.


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257166
08/20/15 03:41 PM
08/20/15 03:41 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Online yawn

Ruben  Online Yawn


Joined: Dec 2003
Posts: 5,827
Lutz,FL
BTW,
I already added doc as a allowed extension on your site.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: Attaching a document [Re: Ruben] #257169
08/20/15 03:49 PM
08/20/15 03:49 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Originally Posted by Ruben
BTW,
I already added doc as a allowed extension on your site.


Also add "docx" - the current Microsoft Word document extension.
Beginning with Office 2007, the default format for saving Word documents is .docx.

Re: Attaching a document [Re: Bert] #257170
08/20/15 05:00 PM
08/20/15 05:00 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
So, per Isaac, I added a PDF. I did this by using a comma after the previous extension. There are no spaces, so it looked like:

.doc,.pdf,.xls

On the forum permissions, all I saw that would pertain to enabling were:

-- Can download attachments: All 1's except for guests
-- Maximum size of file attachments: All 0's -- states max is 200M. Should I put 200M in all except for guests?
-- Total # of file attachments: All 0's. I put 100 in each except for guests?


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257171
08/20/15 05:04 PM
08/20/15 05:04 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Attached is what one of my forums looks like - spaces are not used

Attached Files 20150820_15-02-45.PNG
Re: Attaching a document [Re: Bert] #257172
08/20/15 05:08 PM
08/20/15 05:08 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Here is another screenshot of that forum, regarding the other section in your post

Attached Files 20150820_15-07-02.PNG
Re: Attaching a document [Re: Bert] #257173
08/20/15 05:11 PM
08/20/15 05:11 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
So, I have the feature settings the same.

I put 100 for total for admin (yours got cut off)

I am allowed 200M, so should that be written as 20000

Last edited by Bert; 08/20/15 05:13 PM.

UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257174
08/20/15 05:14 PM
08/20/15 05:14 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Your settings look good to me laugh

I posted screenshots, because it was easier than typing up a list of locations. cool

Re: Attaching a document [Re: Bert] #257175
08/20/15 05:18 PM
08/20/15 05:18 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
So, now that everything is set for a particular forum at least for me as the admin, how do I attach the document?


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257176
08/20/15 05:25 PM
08/20/15 05:25 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Use the "File Manager" link while creating a post, just as you use for adding JPG, PNG and other files you've specified.

Re: Attaching a document [Re: Bert] #257177
08/20/15 05:31 PM
08/20/15 05:31 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
I don't see a File Manager link. What does it look like. Does it need to be enabled?


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257178
08/20/15 05:33 PM
08/20/15 05:33 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
.

Attached Files 20150820_15-33-34.PNG
Re: Attaching a document [Re: Bert] #257179
08/20/15 05:42 PM
08/20/15 05:42 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Thanks. Under our posting window we have:

Markup ------ using UBBCode (in a dropdown where it or HTML or both can be selected)

Post Options

HTML is enabled
UBBCode is enabled

(I noticed HTML is disabled on yours)

To the right of this stuff (where yours says File Manager (Total Files: 0)

mine says under "using UBBCode"

Poll Manager (Total Polls: 0)
Make this topic a sticky topic
Make this topic a global announcement
Lock this topic
Add this topic to my Watched topics
Add my signature to this post

I WISH I COULD UPLOAD PNGS TO YOU, BUT I DON'T KNOW HOW. We just use SD's applet (which I know some don't like), but it works for us.


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257180
08/20/15 05:47 PM
08/20/15 05:47 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Yeah with yours, when I click on Full Reply, I get the File Manager option.


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257181
08/20/15 05:50 PM
08/20/15 05:50 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
For the File Manager, that last screenshot was from UBBCentral.com - this forum. Which is UBB.threads 7.5.9.

I am running "UBB.threads 7.6.0 Work In Progress"

Re: Attaching a document [Re: Bert] #257182
08/20/15 05:54 PM
08/20/15 05:54 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Originally Posted by Bert
I WISH I COULD UPLOAD PNGS TO YOU, BUT I DON'T KNOW HOW. We just use SD's applet (which I know some don't like), but it works for us.


I guess thats the drawback to using unsupported custom code.

There is no official support for it unless you go back to whoever wrote and installed that non-standard code which you're having problems with. Especially when you're having problems with it, like right now. Sorry :/

Re: Attaching a document [Re: Bert] #257183
08/20/15 05:54 PM
08/20/15 05:54 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
So we are using:

UBB.threads™ PHP Forum Software 7.5.8

We should still be able to have access to File Manager, correct?

Sorry, trying.


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257184
08/20/15 05:56 PM
08/20/15 05:56 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
On this forum (ubbcentral.com), you and I have the exact same access. Our accounts are basic user accounts. I am not an admin or moderator here. So if I can post PNG images here, you should also have that access smile

Re: Attaching a document [Re: isaac] #257185
08/20/15 05:56 PM
08/20/15 05:56 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Originally Posted by id242
Originally Posted by Bert
I WISH I COULD UPLOAD PNGS TO YOU, BUT I DON'T KNOW HOW. We just use SD's applet (which I know some don't like), but it works for us.


I guess thats the drawback to using unsupported custom code.

There is no official support for it unless you go back to whoever wrote and installed that non-standard code which you're having problems with. Especially when you're having problems with it, like right now. Sorry :/


Well, I wouldn't say we are haven't trouble with it. I am fine not being able to directly attach documents. Embeding pngs and jpgs is generally good enough for us. I know where to find the person who coded it. I didn't know it was all or nothing.


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: isaac] #257186
08/20/15 05:57 PM
08/20/15 05:57 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Originally Posted by id242
On this forum (ubbcentral.com), you and I have the exact same access. Our accounts are basic user accounts. I am not an admin or moderator here. So if I can post PNG images here, you should also have that access smile


And, I do.


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257187
08/20/15 05:58 PM
08/20/15 05:58 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Our posts are crossing in cyberspace. frown


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257188
08/20/15 06:02 PM
08/20/15 06:02 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Originally Posted by Bert
[quote=id242]Well, I wouldn't say we are haven't trouble with it. I am fine not being able to directly attach documents. Embeding pngs and jpgs is generally good enough for us. I know where to find the person who coded it. I didn't know it was all or nothing.


I can only support the code that I have access to. As much as I would like to help you, I just dont have access to your custom code. So as far as that is related, you need to go back to whoever created that, and ask that person for support.


This is from the "index.php" within the home directory of your UBB.threads install:

Quote:
// You may make modifications, but only for your own use and
// within the confines of the UBB License Agreement
// (see our website for that at http://ubbcentral.com).
//
// Note: If you modify ANY code within your UBB, we at UBB Systems
// cannot offer you support -- thus modify at your own peril smile

Re: Attaching a document [Re: Bert] #257189
08/20/15 06:08 PM
08/20/15 06:08 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Thanks. Ironically, I would never have thought to contact UBB Systems for any support for anything. Not like I would for Microsoft, ESET, Adobe, etc. Never even knew it existed. I know that may sound strange given how much you use and work with UBB. I just use the forum and never really think about it as it has worked for nine years.

I don't mean that in a bad way. Just trusted the person the same way I trust Ruben or Gizmo.

I basically think this means it can't be done. At least I learned something. I didn't even know it could be done in the past. So, now I know it can.

Thanks a lot for all of your help. I really appreciate it. smile

Bert


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257194
08/24/15 04:34 AM
08/24/15 04:34 AM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Bert, I sent you a private message. Cheers laugh

Re: Attaching a document [Re: Bert] #257195
08/24/15 01:20 PM
08/24/15 01:20 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Got it. Thanks!


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257209
08/28/15 07:34 AM
08/28/15 07:34 AM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
HI thanks. May I ask a question? If so, see below.

I saw that you embedded an image. When I use the SD thing, it allows the image to embed plus get larger when you click on it.

When I embed an image using the File Manager (which I like), it seems a bit small. Probably the same size but hard to read. I think it can be downloaded, but that isn't the greatest option. Do you have any comments or suggestions?

Thank you.

Bert


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257210
08/28/15 10:27 AM
08/28/15 10:27 AM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Online yawn

Ruben  Online Yawn


Joined: Dec 2003
Posts: 5,827
Lutz,FL
The option you want to look at is
Control Panel » Feature Settings
Max width for images used in posts?
Specified in px. Uses browser scaling. Leave blank to disable.

Yours was set to 400px I increased it to 600px just now.

It can be more just bear in mind if you make it to large it will cause scroll bars to be used in the forum when viewing the image.
Meaning you may have a bigger image but the user will need to scroll back and forth to see other content.
For an example see this test post at this board:
http://www.ubbcentral.com/forums/ubbthreads.php/topics/256629/test#Post256629


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: Attaching a document [Re: Bert] #257218
08/28/15 05:08 PM
08/28/15 05:08 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Thanks Ruben,

My guess is since it has been years that the hard drive used for these documents, images or other attachments is fairly small. Given the price of hard drives, it would make sense to add something like a 4 TB drive or possibly more.

What would happen to the current attachments. Do they have a link that would still take them to the old drive?


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll
Re: Attaching a document [Re: Bert] #257223
08/29/15 12:15 PM
08/29/15 12:15 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Online yawn

Ruben  Online Yawn


Joined: Dec 2003
Posts: 5,827
Lutz,FL
I am not sure at this time with SD's hack on how to disable future uploads and still maintain visibility with existing uploads.
Other than disallow any file types in the future and delete the icon link in I assume the markup panel.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: Attaching a document [Re: Bert] #257227
08/30/15 07:07 PM
08/30/15 07:07 PM
Joined: Aug 2007
Posts: 382
B
Bert Offline OP
enthusiast
Bert  Offline OP
enthusiast
B
Joined: Aug 2007
Posts: 382
Well, I would like to get started. I think, given the extra pixels, it just makes sense to use the File Manager. I suppose it would be simple for me to do. I just need to decide the size allowed and number allowed for each user. If I recall, that is per thread/topic. Or forum? Certainly, not the entire board.

I have asked a bit about the cpanel. Is that helpful in determining the size of the drive? Again, if the host of the board is going to add a larger HDD, I would want to do that first. Or, as I asked in one of the other five hundred places I have asked, lol, does each file that is saved to board's drive, keep its link to that drive? I mean, those images, etc. don't have to be copied over to a new drive?

I would think since I have been using this board for over 11 years, the hard drive size has to be less than 512 GBs. I am not even sure if they made drives that big before. Then again, if we have a hosting company, they could just be upgrading the hardware on their end without our knowing.


UBB version 7.5.8
php version 5.4.22
MySQL version 5.5.36-cll

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,540
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)