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)

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.


All times are GMT. The time now is 01:09 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.02133 seconds
  • Memory Usage 1,753KB
  • 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_php_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