Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Warrior

Pages: 1 2 3 4 [5]
61
See... I want the field required, but that initial --- entry is being accepted.

62
What would the drop down look like in the uploadform.html template?

63
...hmm Looking this over, do I really need to mod details.php (members.php in yours) if I don't need a drop down on the details.php page in the first place?

The only thing I want there on the details.php is the results from the drop down selection taking place from the uploads, The results on details.php would be given by the db_field_definitions.php code anyways, right?

64
Question- Can "members.php" be substituted with "details.php" and "register.php" be substituted with "upload.php"?

What I am wanting to do is require a field from a drop down menu stating which format a zipped or RAR file has in it (meaning is the file a Lightwave file, 3DSMax file, etc) when someone uploads from the upload page *or* when a file is added in the Admin CP.

Then I want those results shown on the detail.php and AdminCP edit pages, etc for the file.

65
Cool. I found my error.

EDIT- Whoops! Saw you posted while I was typing. That's EXACTLY where my error was :)

So far, everything is working perfectly.

I'll let it run for a few days, letting some of my members test it out.

If anyone is interested, I'll post what I did.

Mind you, I am running 4Images intergrated with vBulletin, BUT none of those files changes were affected.

To try and make it clearer on what I wanted in my first post-

Upload a large image (primary) and it having it's thumbnail. That's 4Images typical. But I wanted one more field to upload zip files for download.

Now... given what I have done, super large images can be loaded as well and NOT be the one that loads up on the detail page!

Rather, this extra file is HIDDEN off the detail page UNTIL you click download.

Then it is this extra file that gets downloaded.

I know all of that could have been done from the Admin side of things already. But I want the MEMBERS to upload their own files.

What I have is a 3D modeling/CGI website, where meshes are made available to other members.

Generally, fols with this type of a site use paFileDB, which shows thumbs with the download file.

But paFileDB doesn't work with vBulletins member database.

4Images does with mods.

So what I did was effectively turn 4Images from a "gallery" to a Download Center ;)

66
That's what I thought, and am staring at it right now.

But when I look over the validate portion (not the delete or edit portions) there isn't even anything on moving the thumbs. Just the main image.

I assume the thumb gets moved because it follows the main image.

I've set it up throughout where the additional file moves just like the thumb... except there it isn't behaving the same as far as being "attached" to the main image.

67
Ok.... I seem to have everything working, except one thing that is giving me a headache.

The additional file follows the primary file around just like the thumbnail does, except when validating theuploads by non-Admins.

The thumb and main image are moved to the correct category, BUT the additional file is left in the temp folder.

Where does that part of the coding happen? I have checked every admin folder php file and can't figure out where that part is.

68
Actually, I did it myself without complex coding, and it actually worked.

Just a duplicating of certain codes already there, renaming the database field targets in the duplicated code, etc..

So far it works great.

Gotta work on the Admin aspects of it now, as well as the Member editing.

69
Discussion & Troubleshooting / Re: Upload error- Zip file
« on: May 27, 2005, 07:07:20 PM »
Yup. Had it there before I even started working on my hack.

It works now, btw.

70
Discussion & Troubleshooting / Upload error- Zip file
« on: May 27, 2005, 08:34:52 AM »
What's this code mean?

Error uploading zip file:
logo1_2.zip: Invalid file type (zip, application/force-download)

I added that application to the upload_definitions and still got that error.


$mime_type_match['zip'] = array("application/zip", "application/x-zip-compressed","application/force-download");

71
Ok. Can a Mod or Admin delete this? Obviously no help is coming.

Doing the db_field_definitions.php is wonderful for getting a new field... but that's all it does.

I place a file in the field to upload and nothing happens. The main image and thumbnail upload, but not hte new zip file I want uploaded with them.

Those avatar and User Photo mods do *almost* what I want, but they are tied into the user him/herself.

I want the new file upload field to tie in with the image and thumb.

Guess I'll go try someone elses script.

72
No one has done this yet?

73
Mods & Plugins (Requests & Discussions) / Extra Member Page field
« on: May 25, 2005, 03:44:24 AM »
Hi all. Great scrpt. Have it running at a number of sites.

Question- Can or has someone modify/modified the Members upload page to have an addition field?

What I want is one more field to upload a ZIP or RAR file *in addition* to the current main image and thumb fields.

Then on the Details page, I want the Download button to point to that ZIP or RAR file instead of the main image.

I know you can add in a seperate URL for download in the AdminCP, but there is no way for the members to upload all three.

Thanks in advance.

Pages: 1 2 3 4 [5]