Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2018
Posts: 32
A
Newbie
Newbie
A Offline
Joined: Dec 2018
Posts: 32
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!

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
#262310 02/12/2019 12:31 AM
Joined: Dec 2018
Posts: 32
A
Newbie
Newbie
A Offline
Joined: Dec 2018
Posts: 32
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!

Joined: Dec 2018
Posts: 32
A
Newbie
Newbie
A Offline
Joined: Dec 2018
Posts: 32
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?

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Jun 2006
Posts: 956
Old Hand
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
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)