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)

MissKalunji 09-05-2008 12:36 AM

got a question....What happens to the file attached after? if someone deletes the Pm is the attachement deleted too?

Lionel 09-05-2008 12:43 AM

there is a schedule task for that

MissKalunji 09-05-2008 02:35 AM

ah Cool thank you :)

abu-sakaria 10-05-2008 11:47 AM

could u make it in vb 3.7

MissKalunji 10-05-2008 03:31 PM

it does work on 3.7

Robru 11-04-2008 06:12 PM

works good in 3.8

ShackMaster 11-06-2008 11:02 AM

I do not get a gemclip in the posting toolbar so that the attachment can be inserted into the message.

If I insert it manually, it does not show the image, but only links to it. That is not much help.

Jim O 02-05-2009 04:35 PM

Can anyone confirm that this is working on 3.8.1?

Quantnet 02-06-2009 01:55 AM

it works fine with 3.8.1

Jim O 02-06-2009 02:08 AM

Many thanks!

goshalim 02-08-2009 02:31 AM

Hi , I need some help.

I have install and done everything for the Private Messages Attachments
but its not working.change all codes but nothing.

Iam using 3.7.3

Please someone help me

Phantasmagoric 02-28-2009 10:12 AM

Just exactly what I was looking for, works perfectly on 3.8.1, thank you for this.
Nom for MOTM :)

ex0thermic 05-06-2009 09:18 PM

Has anybody tried this with 3.8.2?

Saviour 05-06-2009 09:23 PM

Installed and working fine on 3.8.2.

sparklywater 06-13-2009 03:26 AM

I'd be grateful if anyone can help me get this working with the Popup Private Messaging mod. I've managed to use the $attachmentoption variable to show the 'Manage Attachments' button in the popup-window, but the attached files don't show up in the sent PMs (nor does the paperclip show up next to the message in the PM inbox). Everything else works fine when sending attachmentsin PMs through the standard method, they only don't work when using the Popup PM window. If anyone has managed to get this working, please let us know.

Saviour 06-19-2009 08:16 PM

Have found an issue with this mod...

I'm running vb 3.8.3. It would seem, with this mod enabled, it causes an issue for those who want to edit their post at a later time and add an attachment...if this usergroup has this permission.

I tested it on a live board as a registered user. I posted in a thread...immediately after posting, I went to that post to edit it and add an attachment. I browsed for the attachment, then clicked the Upload button and immediately got a permissions error.

Disabling this mod corrected the issue.

Uninstalled...unless someone has a fix for this for those who run vbulletin 3.8.3. I'd also suggest, to those who are running this mod with a forum other than the version it was intended for, make sure they are not experiencing the same issue I was.

If there's a fix for this...I haven't seen it. Just giving you my experience wit this mod.

Update...

Sorry...missed this post: https://vborg.vbsupport.ru/showpost....&postcount=102

Fixed! Woo-hoo!

MikeTrin 08-17-2009 07:18 PM

I don't know about most of you but I couldn't figure out how to make this fix. Here's what you do.

From the admincp go to Plugins & Products, open up the Plugin Manager.

Scroll down and find the Product PM Attachments

Click on: private attachments - get posthash and allow attachments

do what it says to do in line 1

Quote:

Originally Posted by Stoebi (Post 1099272)
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


the_ace 08-22-2009 12:50 PM

Installed this mod n VB 3.8.3 and its working fine.

Thanks for this mod.

tlwwolfseye 09-13-2009 06:23 PM

I just installed this on my 3.8.4 but it won't show up at all. I did all the template edits, i double checked. The Product is installed and so, just like the instruction say. But it just doesn't show up when I want to write someone a PM. Nothing with Attachments at all. What can that be ?

Gostemilov 09-25-2009 11:52 AM

The same problem. I can upload attach and I can see it in outgoing messages:

http://photoshopia.ru/forum/imagehos...cacf596ea7.jpg

The link for attach downloading is broken but attach player is working fine.

User can receive nothing:

http://photoshopia.ru/forum/imagehos...cad761d8d6.jpg

Gostemilov 09-25-2009 12:45 PM

I removed this check:

PHP Code:

if (THIS_SCRIPT == 'private' AND ($this->registry->userinfo['permissions']['grouppma'] & $this->registry->bf_ugp['grouppma']['cangetpma']) AND ($this->registry->userinfo['userpma'] & $this->registry->bf_misc['userpma']['showdlpma']))


from private attachments - get & show attachments and, filally, it`s working!

But what`s wrong in this check and why the download link is still broken?

mastertek2000 11-06-2009 04:00 PM

does any one make this for VB3.8

sparklywater 11-21-2009 05:17 PM

The following is the plugin code used for this mod at hook location 'global_start':

PHP Code:

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

{
 
$threadid = -1;
    
$vbulletin->userinfo['forumpermissions']['pm'] |= $vbulletin->bf_ugp_forumpermissions['canpostattachment'] + $vbulletin->bf_ugp_forumpermissions['canview'] + $vbulletin->bf_ugp_forumpermissions['canviewthreads'] + $vbulletin->bf_ugp_forumpermissions['canviewothers'] + $vbulletin->bf_ugp_forumpermissions['canreplyothers'] + $vbulletin->bf_ugp_forumpermissions['canreplyown'] + $vbulletin->bf_ugp_forumpermissions['canpostnew'];
    
$foruminfo['allowposting'] = 1;
    
$foruminfo['cancontainthreads'] = 1;
    
$foruminfo['forumid'] = 'pm';



Something in this code causes an error message when uploading attachments to thread posts: 'you don't have sufficient privileges / permissions to perform this action'. When the above plugin is disabled, there is no longer an error message on uploading attachments.

Braders 01-11-2010 10:23 AM

I did exactly what it says on the tin and it works fine in 3.8.4.

supportMM 02-28-2010 03:15 PM

Do you have any plans to port this for 4.x?

Thanks :)

krazr 03-12-2010 04:15 AM

Yes please update this for v4.x!!! :)

Razfaz 03-30-2010 10:20 AM

I need this Addon for 4.0.2 please ;)

Welshy2008 04-15-2010 10:18 AM

Quote:

Originally Posted by supportMM (Post 1993773)
Do you have any plans to port this for 4.x?

Thanks :)

Quote:

Originally Posted by krazr (Post 2001942)
Yes please update this for v4.x!!! :)

Quote:

Originally Posted by Razfaz (Post 2012784)
I need this Addon for 4.0.2 please ;)


Agreed. :)

supportMM 04-15-2010 02:24 PM

Perhaps some greasing of the palm might be in order, I would be willing to kick in some bucks, denairo, rubles, currency of the coders realm, to get this done :)

Welshy2008 04-16-2010 02:00 PM

Quote:

Originally Posted by tlwwolfseye (Post 1884182)
I just installed this on my 3.8.4 but it won't show up at all. I did all the template edits, i double checked. The Product is installed and so, just like the instruction say. But it just doesn't show up when I want to write someone a PM. Nothing with Attachments at all. What can that be ?



Unfortunately, This does not work for me in vB3.8.4 PL2 either.

The Phrase en language says it is from 3.6 (which I know, this mod is for - but others have said it is working on their 3.8).

I have loaded it on by allowing it to continue even though it is from a previous version, even though I have selected the option to ignore the version when uploading it. (See attachment #1)

Nothing showins on the PM Page (Usergroups have the correct permissions)

I can see a PM Attachments in my Product List, but nowhere else in my AdminCP (See attachment #2).


I have checked and double checked and I have installed it as per instructions.

pedroenf 05-08-2010 12:29 PM

Quote:

Originally Posted by Razfaz (Post 2012784)
I need this Addon for 4.0.2 please ;)


So do i. Will it be re-done to VB4?

Welshy2008 05-08-2010 08:28 PM

I would love to see this ported for 4.0.3 PL1 too. And I would make a donation too. :)

Welshy2008 06-13-2010 05:57 PM

Anyone?

pedroenf 06-13-2010 10:05 PM

Quote:

Originally Posted by Welshy2008 (Post 2053038)
Anyone?

I second that.

wii 07-09-2010 04:39 AM

Me too for vB4

blind-eddie 07-20-2010 02:30 AM

Thank you for addon, after pulling out my hair for a little while, I got it working just fine in 3.8.4

Jon1422 08-16-2010 08:18 PM

Quote:

Originally Posted by blind-eddie (Post 2071825)
Thank you for addon, after pulling out my hair for a little while, I got it working just fine in 3.8.4

What did you do?

I'm running 3.8.2 and can't get it to work.

Followed the install, ignoring the language pack being for 3.6, but it doesn't work.

I can see the usergroups option, but nothing in the new pm diaglog.

blind-eddie 08-17-2010 12:06 AM

Quote:

Originally Posted by Jon1422 (Post 2084919)
What did you do?

I'm running 3.8.2 and can't get it to work.

Followed the install, ignoring the language pack being for 3.6, but it doesn't work.

I can see the usergroups option, but nothing in the new pm diaglog.

Install the language pack...I believe that is the only other thing I did....But I will research it.

Also did this plugin edit: https://vborg.vbsupport.ru/showpost....&postcount=102

postchan 11-29-2010 12:34 PM

Hi,

I have installed this module and it works great. Thanks for it. However the list of allowed file names does not show Office 2007 extensions like docx, pptx. Could you please let me know how I can get these files to be attached?

Thanks.

snow2000 12-08-2010 11:40 AM

Quote:

Originally Posted by wii (Post 2066672)
Me too for vB4

... me too! Would be great to have this feature for vb4


All times are GMT. The time now is 08:14 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.01468 seconds
  • Memory Usage 1,828KB
  • 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
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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