Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
How difficult would a hack be, that files uploaded in a specific forum would be put in a unique directory. I'm trying to integrate with a gallery program...and having the pics separated by category would make this easier to import over to the gallery side.

Basically can anyone hack the path/url to where the files are uploaded to include the variable of forum name or another similar method?

http://www.mysite.com/<forumname>-uploads

Sponsored Links
Joined: Mar 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Mar 2002
Posts: 15
how about tagging the files with a forum tag then have the gallery program strip the tag for display?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
It might if that were easy.

At least I could manually separate them, or get help writing a script that would.

I don't care what they are named when they get to the gallery end of things, but my current gallery program allows import from a specific directory on your server.

I want my users to upload pics (into different categories/forums) using the threads program so that I can moderate the uploads. Then I can go into the specific category on my gallery program, and import all pics in a certain directory. Then go back to threads and delete the posts.

So a directory would be best... but at the very least a filename prefix I gouess would allow me to move all files named "ForumA*.*" and "ForumB*.*" to separate directories...then import.

Joined: Mar 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Mar 2002
Posts: 15
Dave's Index Pal does basicly that I think go to the home page. Then click file attachements. the only problem is that another program would not "know" what forum attachments came from without some sort of hack to the file upload routine. Or if the program also had access to the database.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)