vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [VB3 RC3] Attachments in private messages (https://vborg.vbsupport.ru/showthread.php?t=59840)

Marco van Herwaarden 04-26-2005 07:41 PM

Don't keep me to it, but i will try to find some time tomorrow to do a test install and see if i can find your problems.

Feel free to bump me in 1 week if i didn't respond by then.

paulomt1 04-26-2005 10:37 PM

Thank you :-)

altsounds 05-20-2005 12:43 AM

Quote:

Originally Posted by Jagged Tooth
Thanks MarcoH64 got that working now. But now a new problem when I click the manage attachments button ig et this messege



Any ideas


--Jagged Tooth--


I am also having this issue, anyone come up with a solution for this yet?

Marco van Herwaarden 05-20-2005 08:46 AM

Upgrade instructions for vB3.0.7 added to the hack.

paulomt1 05-20-2005 09:00 AM

Thank you very much for your help:-)

Marco van Herwaarden 05-20-2005 09:03 AM

Please give feedback, if this solve your problems.

paulomt1 05-20-2005 09:51 AM

Solve part of the problem.
Now when I attach a file I read this in the Manage Attachments window:
"This forum is not accepting new attachments"

Thanks

Marco van Herwaarden 05-20-2005 10:17 AM

Sorry i forgot to add 1 changes in the instructions (i hope i only forgot 1 ;))

Zip-File Updated, just do the last modification in the new instructions, and report back.

paulomt1 05-20-2005 10:58 AM

Work very well now :-)))

Thank you one more time

Marco van Herwaarden 05-20-2005 11:20 AM

No problem

altsounds 05-21-2005 12:25 PM

Yes thanks VERY much marco. Works like a charm.

paulomt1 05-21-2005 12:47 PM

I have a problem.
I can send attachs very well but I can download the attachments in PM.
Invalid Attachment specified. If you followed a valid link, please notify the webmaster

However if I sent a message to myself with an attachment I can download it without problems.

Anyone else has this problem?

altsounds 06-13-2005 11:36 PM

I'm experiencing the same as paulomt1 I just changed the attachments to not be in the database today. Be honest though I am not sure if it was or wasn't working b4. Either way could someone please help?

altsounds 06-14-2005 01:41 AM

This is the problem that we are having (after further testing). I can view my own attachments whether i send the link or they do. And vice versa. It's almost as if when the attachments are uploaded the wrong permissions are given??

Can anyone help?

ssabmud 07-02-2005 09:07 AM

I have this installed a VB303 and i have the quickreply hack instaaled to and the Attachments in private messages hack only shows up when you go to reply on the quickreply box.. It doent show up on new pms or if you go to the real reply or the forward pm page..

Can anyone help me with this as i have looked and looked trying to find what is cauing this to happen..

Ive add 2 pics one of the quickreply that shows the Attachments and on of the rest that dont show it..

ssabmud 07-05-2005 11:42 AM

any help here now?

altsounds 09-23-2005 09:09 PM

Anyone??

DivisionByZero 10-05-2005 05:34 AM

3.5.0? please? :)

landry 10-05-2005 07:35 AM

Hi!
Ver 3.0.8 can make Attachments in private messages?
Thanks!

xfaethorx 11-20-2005 10:50 PM

i've installed the hack onto 3.07

I have no problems with the sending of the attachment,that works fine.

however no attachment appears in the actuall message.

the attachment is there, if i go to manage attacments in the user cp it knows that i've got a pm with an attachment in it. but the message doesn't pick it up

i checked the code in private.php and im pretty certain its a fault in the showpm section of the code as it doesn't seem to pull the info from the database properly.

Has anyone fixed this, i really want to get this working!!!!

All help in resolving this appriciated.

Icehawk002 11-21-2005 09:36 AM

error occurs when running the instal queries says table db.attachment does not exist.

any help

do i need to prefix if so how

xfaethorx 11-21-2005 11:08 AM

you might not be logged into the correct db

make sure you've connected to the correct database

connect vbulletin ;

if vbulletin is the name of your database

then run the queries...bottom line make sure your on the right db!
:D

xfaethorx 11-21-2005 01:55 PM

ok further update to my issue I was having...Turns out i already had a private field in the database for attachments that was a tinyint i removed it and added the one required here and everything appears correctly in the post but now nothing will download.

in attachment.php i believe the postid is coming out as zero which in indicates that the user who uploaded the file isn't the person who is trying to view the file and therefore we have an error.

im wondering if its a newattachment issue or something? anyone have a solution?

Icehawk002 11-21-2005 01:58 PM

ok queries issue resolved, and everything appears in place following carrying out the upgrade instructions, however when a user attempts to attach a file and uplaod

the response 'This forum is not accepting new attachments'

any ideas?

Icehawk002 11-21-2005 04:31 PM

Ok I can attach file but as per xfaethorx post I just get a red cross box when the PM with attachment is viewed any help thanks

xfaethorx 11-21-2005 08:44 PM

icehawk002 - i've an idea what the problem is but its going to involve some recoding of the hack itself. I don't have the time to do it due to work commitments the best thing to do is unwind the hack as the author no longer seems to support it nor does the guy who made the alterations to this hack.

It needs someone else to pick up the development.

Icehawk002 11-22-2005 06:53 AM

I note that many have the almost identical problem in the "unsupported" hack version for 3.5 LOL https://vborg.vbsupport.ru/showthread.php?t=91220 but unfortunately the author does not appear to have resolved the issue there either.

Its a real shame if it cannot be corrected another add on that I would have like to have seen would be to specify user groups which can or cannot use PM attachments set in admin cp.

If someone can resolve the issue I would be willing to make a donation

xfaethorx 11-22-2005 07:19 AM

basically an assosiation needs to be created between the user who uploaded the image and the user who is to browse said image. However its not made in newattachment.php.

Thats why you get the error, if you send the message to yourself you'll see that it works fine.

One solution would be to alter the database AFTER the image has been uploaded so that when you submit the the PM it alters the database to change ownership of the attachment to the user it is being submitted to..

that would be a dirty fix but would also mean that the sender could no longer see said attachment in their attachment list or in the sent messages so should you want to get the message attachment back you couldn't.

Now if theres a way to have multiple owners of an attachment in this case then we've got the solution as all we need to do is add the destination user as the attachment owner and we'll have fixed this problem.

If I get any spare time I'll try my best to look at this but Its doubtful with my work load tbh.

Icehawk002 11-22-2005 11:24 AM

Yes, I agree sending a PM with attachment to oneself works fine.

As to the dirty fix or any other I am afraid its likely to be out of my league so I am hoping you or someone can resolve the matter.

I will however play and you never know and I take on board your thoughts.

I currently have the attachments stored in the database if these were transfered to be stored in a folder with relevant permissions might that help?

thanks


All times are GMT. The time now is 10:26 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
  • Page Generation 0.01357 seconds
  • Memory Usage 1,774KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete