Previous Thread
Next Thread
Print Thread
Hop To
how does ubb.threads 7.6.0 store attachments? #262117 01/26/2019 4:28 AM
Joined: Dec 2018
Posts: 6
andrewjs18 Offline OP
Stranger
OP Offline
Stranger
Joined: Dec 2018
Posts: 6
new to ubb.threads and helping a site out. I was looking through the database to compare it to other forum softwares I've used in the past and was wondering how ubb.threads stores attachments. I didn't see any attachment tables in the database.


thanks!

Express Hosting
Re: how does ubb.threads 7.6.0 store attachments? [Re: andrewjs18] #262119 01/26/2019 5:05 AM
Joined: Apr 2004
Posts: 1,494
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,494
UBB.threads stores file information within the ubbt_FILES database table.
All of the expected items; ID, FILENAME, POSTID, DOWNLOADS, ADD_TIME, TYPE, SIZE, DESCRIPTION, MD5, DIR, USER, etc.


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.3 released!
attachments 7.6.0 question #262310 02/12/2019 12:31 AM
Joined: Dec 2018
Posts: 6
andrewjs18 Offline OP
Stranger
OP Offline
Stranger
Joined: Dec 2018
Posts: 6
Hi all,

Where and how does ubb.threads store the attachments in 7.6.0?

I'm tying to clean up a very old forum that I think has used a few different forum software over the years.


Thanks!

Re: how does ubb.threads 7.6.0 store attachments? [Re: andrewjs18] #262311 02/12/2019 12:38 AM
Joined: Dec 2018
Posts: 6
andrewjs18 Offline OP
Stranger
OP Offline
Stranger
Joined: Dec 2018
Posts: 6
I have an /uploads folder in my doc root that has tons of folders inside of it: 00001 00003 00004 etc., etc.

I assume these are attachments but unsure. If not, what are they?

Re: how does ubb.threads 7.6.0 store attachments? [Re: andrewjs18] #262312 02/12/2019 2:25 AM
Joined: Jun 2006
Posts: 15,848
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,848
The upload folder will vary from install to install; take a look in the Control Panel for your specific location (CP -> Master Settings -> Features -> Attachments Tab).


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.
Need to Upgrade?
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: how does ubb.threads 7.6.0 store attachments? [Re: andrewjs18] #262313 02/12/2019 5:01 AM
Joined: Jun 2006
Posts: 956
Zarzal Offline
Old Hand
Offline
Old Hand
Joined: Jun 2006
Posts: 956
If you see sub folder it doesn't comes from ubb.threads. Attachments are stored in one folder only and Gizmo already describes how to find it. But if this directory the place for gallery pictures you see subfolders by number. This number is the ID of the gallery forum inside ubb.threads.

The folder ubb.threads/uploads is clean on my site. I setup a attachment folder outside the ubb.thread basedir long time ago. Maybe newer installations use this folder as default attachment folder. In the attachment folder files will be stored by number only with newer versions of ubb.threads. Old versions (< 7.6.x ?) store it by number, followed by filename.

Last edited by Zarzal; 02/12/2019 7:37 AM.

my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Re: how does ubb.threads 7.6.0 store attachments? [Re: andrewjs18] #262315 02/12/2019 10:44 AM
Joined: Jun 2006
Posts: 15,848
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,848
Originally Posted by andrewjs18
I have an /uploads folder in my doc root that has tons of folders inside of it: 00001 00003 00004 etc., etc.

I assume these are attachments but unsure. If not, what are they?

Open one in a text editor and see what if contains; we use allowed extensions in the upload check, everything in that folder should match whatever settings are set in the control panel.


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.
Need to Upgrade?
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!

Additional Resources
UBB Developers
UBB Wiki
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Strange Merge Issue
by Baldeagle - 08/16/2019 3:37 PM
Formatting Links
by Ty Griffin - 08/13/2019 4:39 PM
Changing from iso-8859-1 to UTF-8?
by Daryl Fawcett - 08/13/2019 9:58 AM
Threaded Mode
by ToddUGA - 08/10/2019 9:18 PM
Who's Online Now
0 registered members (), 46 guests, and 209 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
M4TT
M4TT
Canada, SK
Posts: 87
Joined: March 2015
Show All Member Profiles 
Forum Statistics
Forums34
Topics35,320
Posts192,715
Members11,865
Most Online2,569
Jul 27th, 2019
Random Gallery Image
Latest Photos
The Sky
Land Rocks
Cozy Places
Trees
Powered by UBB.threads™ PHP Forum Software 7.7.3