![]() |
There is no code which is changed which would stop people from downloading attachments, did you make sure the usergroup had permission to view attachments?
|
Prior to installing this hack, all usergroups were able to download/view attachments. There wasn't a problem before this hack, only after it.
As I mentioned, there is so far only one other person, besides me, that can view attachments. There is another person in the same usergroup as that guy that has said he cannot. I don't think it's a usergroup-based problem. I can view all the attachments that other people are not able to. |
Same thing here.
I have checked and rechecked the user groups. tried numerous things. I am going to revert to an old attachments database, and reload all changed databases and re-install. I'll let you know what happens. |
Update: As an unlogged-in visitor, I cannot view attachments.
|
You can see my attachment test thread, and the replies from all the people that can't see it and the two people (now two instead of one, besides me) that can see it: http://forums.jjr512.com/showthread....threadid=29545
|
FYI: Doesn't work for me either.. :D Really weird if ya ask me.. hmmm
|
Thanx PPN :)
We would like to know if it would be possible to make something like an... attachments backup hack. With this hack, you could save all your attachments as binaries without removing them from the database. It would be really usefull for us ^^ Thanx again ^^ |
I'm re-installing now. Last time (and this time), I found this:
VISABLE was not included in the string you wanted us to find. Code:
if (!$attachmentinfo=$DB_site->query_first("SELECT filename,filedata,dateline,visible Code:
if (!$attachmentinfo=$DB_site->query_first("SELECT filename,filedata,dateline FROM attachment WHERE attachmentid='$attachmentid'")){ |
Sean, this is for vB 2.2.2, the visible part was added as it was missing in 2.2.1
I'll do some testing then, I'll do some testin on my own boards where I implemented this hack. I know for a fact that the attachments are there as I can view them via shell and ftp. So there must be an error in the top 30 lines or so. Is everyone running 2.2.2? |
Ok, I've worked out the problem now :)
sorry about all the problems. Look for PHP Code:
|
All times are GMT. The time now is 01:36 PM. |
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:
|