vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Private Messages Enhancements - Private Messages Attachments (https://vborg.vbsupport.ru/showthread.php?t=127113)

Shazz 10-17-2006 09:55 PM

Quote:

Originally Posted by Muellmann
i experienced a strange thing: as i installed this hack, registered users were not more able to edit them own attachments after they already have posted a new thread with pictures for example.

if a user posted a thread with a picture and wanted to add after one day to his posted thread a second picture he received the
"no permission"-screen.

if i switch off the hack, the user can upload the attachment without a problem.
if the hack is turned on again, the permission is again denied for the user who wants simply to edit his own thread with his attachments (add, delete attachment).

is there a fix? has anyone the same problem?
maybe it's connected with thread-id "-1" in this hack?
must i change the thread-id in the product in this case (and where)?

i uninstalled again, sorry but this made me many troubles https://vborg.vbsupport.ru/external/2011/01/20.gif

This just popped up as a problem for me after testing it :)
Don't know what it could be..

*had to remove this as well

Stoebi 10-18-2006 01:21 AM

Quote:

Originally Posted by Shazz
This just popped up as a problem for me after testing it :)
Don't know what it could be..

*had to remove this as well

Here is the fix (official update comes later):
Plugin -> private attachments - initialize pm attachments if needed (Hook global_start)

Change Line 1
Code:

if (THIS_SCRIPT == 'newattachment' AND $_REQUEST['type'] == 'pm')
to
Code:

if (THIS_SCRIPT == 'newattachment' AND $_REQUEST['type'] == 'pm' AND !$threadid)

Regards, Stoebi

Shazz 10-18-2006 01:25 AM

Thanx Will try it out :)

Revpolar 10-18-2006 04:35 AM

Guys try this simple thing before you all get upset and say it doesnt work.
Go to your usergroup manager and set both options for PM attachments to no save and go back and set it to yes again and save.
After that it should work. I think you only need to do it for one usergroup to update all but you might want to do all to be on the safe side.

350Chevy 10-25-2006 10:19 PM

Quote:

Originally Posted by bashy
I have now added the edit, I now see the manage attachments, it lets me add 1, yet when message sent there is no attachment :(

I've a bit of the same problem. I'm not a n00b when it comes to hack installation. I've gone over this one 3-4 times now uninstalling and reinstalling following every last detail. I have the manage attachments box and am able to attach just fine. But when I send the message there is no attachment and no attachment paperclip? It's like it's there but the message is blank.

Running vB 3.6.2

Top Nurse 11-16-2006 06:05 AM

Just installed this and it works perfectly in 3.6.2 exactly as described.:D However, the last few sentences of the instructions were a bit cryptic, but I was able to get to the right place after thinking about it for a minute or so. ;)

Thanks for this fantastic bit of programming wizardy. We have a small private forum where sometimes it is advantageous to have this capability and now we got it. Do you have a PayPal account I can drop a few $$ into?

Stoebi 11-16-2006 07:37 AM

Quote:

Originally Posted by Top Nurse (Post 1118420)
Just installed this and it works perfectly in 3.6.2 exactly as described.:D However, the last few sentences of the instructions were a bit cryptic, but I was able to get to the right place after thinking about it for a minute or so. ;)

Thanks for this fantastic bit of programming wizardy. We have a small private forum where sometimes it is advantageous to have this capability and now we got it. Do you have a PayPal account I can drop a few $$ into?

Hello,

thank you very much for your feedback. Sorry for the cryptic part, i need more english training.

PayPal? Yes, i have. Thank you very much.
schulz(at)gmx(dot)com


Regards, Stoebi

Scooby Doo 11-16-2006 11:42 AM

Thanks! Very good! :)

Simms 11-26-2006 02:17 PM

I just installed this, and for what it's worth, I was having the same problem initially -- no box to add attachments, even after double- and triple-checking the installation.

I then posted a new thread with an attachment, just to make sure the basic functionality was still intact, and after seeing that work, the box suddenly appeared when sending a PM. So it's working fine now. :)

I don't know enough about coding php to say there's a cause-and-effect relationship between posting the thread attachment and the subsequent appearance of the PM hack, but I'm just sayin'....

This is in 3.6.4, btw.

qqb825 12-05-2006 02:26 PM

i just installed this on 3.6.0 and no problems so far. :D

i've been waiting for this hack FOR YEARS. thank you very much! :D




first post here at vbulletin.org!


All times are GMT. The time now is 02:26 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
  • Page Generation 0.01371 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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