got images working the way i like them to, no fancy ajax tho, but URL linking and upload to database is working wonderfully.
also added some more permissions/checks you can now setup users/usergroups to:
allow/disallow use of the comment system
allow/disallow use of the garage (members cant put their cars in the garage)
allow/disallow use of the garage entirely (if user is disallowed they cant access any garage features, even viewing other garages)
allow/disallow use of images (global disable of images, URL and uploaded)
allow/disallow image upload to database (URL linking is allowed)
allow/disallow use of images on vehicles, modifications, timeslips and dynocharts
thumbnail creation is working for the database stored images, remote linked images are just resized via html (width=100) dont want to put any extra strain on the server by fetching and reprocessing linked image files, should i add another field so you can link to a thumbnail? or just keep it with the HTML resize (this will suck for large remote linked images if user isnt on broadband as the full image gets downloaded even tho it looks small)
heh ill use the good ole phrase 'it will be done when its done' yeah im working on it when i get a chance, it sucks but when i dont have time i dont have time. but dont worry it will be released, just no set deadline
ok, ive been messing with vB's builtin uploader/image classes and ive got a custom class all setup and working, and currently how this way of doing it, it creates thumbnails based on the attachment thumbnail settings and stores the thumbnail and uploaded image in the database. and for remote linked images, it stores a thumbnail only and the url to the image that way we avoid confusing people with an additional inputbox for a url thumbnail image.
any opinions?
man using vB's uploader/image class took a bit to figure out seeing as its another horribly/un-documented feature, but it works pretty smoothly and has a ton of built in error handling and checks that i dont have to worry about writing myself.
---7/17
revamped the permissions a bit, here are the following per usergroup options:
Quote:
Can use vBGarage Advanced? (Allows user to have their own garage.)
Can view vBGarage Advanced? (Allows user to view other user garages.)
Can comment on vehicles?
How many vehicles can a user have in their garage? (default is 3)
Can user upload images? (Allows user to upload images, which are stored in the database, otherwise only URL links will be accepted.)
Can attach images to vehicles? (Allows user to attach images to a vehicle.)
How many images can a user have per vehicle? (default is 5)
Can attach images to modifications? (Allows user to attach a image to modifications.)
How many images can a user have per modification? (default is 1)
Can attach a image to timeslips?(Allows user to attach a image of their timeslip a run.)
Can attach a image to dyno run?(Allows user to attach a image of the dynograph to a run.)