![]() |
I had the attachment editor working great. I just installed the attachments as files hack and now the attachment editor comes up ok, but the file is empty in editing mode. In view mode, the whole file is there. I doubled checked everything and I have found 2 instances of the code where I need to add the usergroupid code. I tried taking one of them out and that just makes it worse. Has anyone else run into this problem? Can someone please help me on this?
|
This hack won't work with attachments as files.
|
I guess we know which one is going to have to go then, huh? I'm keeping the attachment editor. :) Thanks Chen. :)
|
Really? I would expect you to keep the other hack, it seems more important to users that really need it.
|
It's really not as important to me as the flexibility of an editor, to tell you the truth. The option of being able to edit something on the fly instead of having to reupload it is much more important to me. And I have always gone by the philosophy that if I install a hack that causes problems with another one, that hack has got to go. :) I think the files in the db are more secure than having them on your server, anyway, aren't they? :) I'm sticking with what works.
Quote:
|
Quote:
Boofo the attachment on the server are very secure if you can place the directory above your www there is no way that anyone could get them from they're browser I think having the attachment as file is great especially down the track when you want to back up the db and you have 1000's of attachment :) immagine the file size of that ! anyhow go with what you like ;D Just my 2 cents Mone' |
You could be right about the security. I'm too new at all of this to know for sure. :)
As far as down the road on backing up goes, I don't have that much yet and I'm sure when it gets to the point that I would ever need it, someone will come up with a hack to extract attachments form the db for backing up purposes and then make it so they can re-insert them once the db is re-installed (unless they already have something like that and I missed it). The editor is something I will use more now. And also, this is the very first hack I have ever installed that caused another one to stop working completely. Can't be havin' that now, can we? ;) Quote:
|
hghjg
|
Chen,
Instead of having to clean the cache when we make an update to the file, is there any way to be able to look into the cache directory for that file and erase it first before we download (view) the updated one? Wouldn't that handle the cache problem? :) |
You can't look into the browser's computer with PHP. :)
|
All times are GMT. The time now is 01:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|