![]() |
*bump*
|
Fixed by turning Reg_Globals On
in php.. Is there any way around this? |
seems to be working fine on Vbulletin 2.30 release candidate 3
|
Quote:
|
Can anyone confirm that this hack is working 100% correctly for vb 2.3.0 with reg_glbals OFF ?
|
Running vBulletin (2.3.0)
I have install the hack Scott MacVicar's Attachments as files. [vB v2.2.3] Attachments as files (post #1) I have installed Private Attachments! (Attachments in Private Messages) Let me say the Attachments as files has been working with no issues for a few months. After installing Private Attachments, it appears that every thing works, (no errors) except the attacment never appears on the pm to the user. Now there is a earler post about This modification will allow you to have private attachment working with file attachment hack by PNP. It looks to me that PA has been updated and the added notes in that post (post #33) are included in the current hack. I Complete restore of test site to before install and re-installed the hack again............with the same results. Everything looks great............ allows me attach the file to the PM but when the PM is received there is no attachment. ( No error messages). What do I need to do? Help please......... I really need this to work on our system. Thanks ahead of time for your help. Guess this Thred is DEAD post this 06-23-03 02:52 AM and not a post....................hmmmmmmmmm |
I too have had this hack installed for quite some time now. Our server upgraded the php and turned off reg globals and now we can not receive our attachement in our PM's.
Is there a fix for this yet? Thanks ASD |
Have installed it, thank you for doing it. So i could get to bed some hours earlier now (it´s 7 in morning ;-(
But as i see the code there is no delete for the attachment, if the message is deleted, isn´t it so? Will see if i can fix this ... |
Improvements:
1) If you want to see the pic instead download it, try this for the new template privmsg_attachment <p><normalfont><img src="{imagesfolder}/attach/$message[attachmentextension].gif" width="16" height="16" border="0" alt=""> Attachment:<br> <img src="attachment.php?s=$session[sessionhash]&privatemessageid=$message[privatemessageid]" border="0" alt="" vspace="8" hspace="4"> </normalfont><br> <smallfont>Downloads: $message[counter]</smallfont></p> |
Ok. The better one:
make another template called privmsg_attachmentimage with this code: Code:
<p><normalfont><img src="{imagesfolder}/attach/$message[attachmentextension].gif" width="16" height="16" border="0" alt=""> Then found the place with: Code:
if ($message['attachmentid'] != 0) { Code:
if ($message['attachmentid'] != 0) { |
All times are GMT. The time now is 11:48 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:
|