![]() |
PM Attachments 3.5
Original Hack by Rigel Kentaurus (http://www.cemzoo.com)
Original Thread: https://vborg.vbsupport.ru/showthread.php?t=91220 See the original thread for details of the problems.. Basically everything has been fixed so this works with existing installs and not just clean ones, also no error message about a non-matching release anymore.. attachments are now correctly displayed as they would be in a thread and this hack No longer inteferes with non-pm attachments.. So all the good bits left (Attachments in Private Messages, using the existing usergroup permissions) and all the bad bits taken out. Also I'm willing to support this hack, which is why I took the decision to start a new thread rather than use the existing one so I can easier support the hack and problems with this plugin not the old buggy one. (or at least that's the theory) Please uninstall the old plugin first, thanks. QuickFaq I'm getting Invalid Post specified: That means the plugin was unable to get attachments permissions for the user. The solution is to locate a thread in your forum (one that shouldn't be deleted in a long time, it doesn't matter if it's closed). Remember it's threadid Go to Plugin Manager and click on "private attachments - get posthash and allow attachments" Find: $_pmt = 1; Replace the "1" with the threadid |
What would cause the "Invalid Post specified" error in the first place? ;)
|
because this hack actually act like a "i take the permission from a thread, and apply it to the PM system"...
this means there is no permissions system for the PM attachments actually... missing! |
Quote:
|
Tested a couple of times with different size and types of attachements .. no problems.
Very useful addition .. thanks BluPhoenix. Clicked install. |
Some suggestions
- Make this into a Product with Install/Uninstall Codes so Users don't have to run Queries manually - You can use Hook cron_script_cleanup for the Cron-Stuff so you don't need an additional File |
Quote:
This works by tricking vbulletin that the pm is infact a thread, but on some systems the trick used to do that will fail. In such a case an old thread is used to hold the attachments in such a way that they are stored and viewed in the pm, but not viewed when the thread is viewed. nexialys: The permissions are still in effect if a usergroup does not have permission to send attachments they cannot send ones via pm either. KirbyDE: Thanks for the suggestions Kirby, I certainly plan to do just that once I've had some more A. Ok's for everything working as is.. I didn't want to make it too complex too soon and not be able to fix any little bugs that may come up. TTG: Good stuff, glad it's working for you. |
Fantastic. My members really loved this hack and missed it one I upgraded to 3.5.0.
Although I have clicked install I haven't installed so I can't give you an a ok. I just want to get the e-mail letting me know the system has been updated to be a product. |
Quote:
|
Quote:
|
what I can modify for giving to the permissions to all the users even if in the forum the users simple they cannot enclose?
tnx jancarlo |
Quote:
|
Quote:
|
Looking good here! Will keep an eye on it. :)
|
in Scheduled Tasks ---> Scheduled Task Manager ---> Private Attachments CleanUp ---> Run Now
Fatal error: Call to a member function on a non-object in /home/*******/public_html/includes/functions.php on line 4240 :ermm: ??? tnx jancarlo |
Quote:
|
I wanted to re-install this but have been paranoid since the last one wiped out 6 months worth of attachments. I installed this one, hopefully no problems. I'm still paranoid though and worried. haha! But I did make a backup this time.
|
Whenever I send an attachment in a PM, nothing shows up in the message the user gets. I have attachments allowed on the forum, so that can't be why. If I copy and paste the attachment link after I upload it it works but it never shows up in the message. Hope that makes sense.
|
Quote:
vBulletin Versione 3.5.0 Release Candidate 2 Copyright ?2000 - 2005, Jelsoft Enterprises Ltd. |
*Subscribes to this thread*
Very interesting. Hope it will be released as a product soon. :) |
Works great with 3.5 gold, my problem above is now resolved. :D
|
I installed it but when I clicked manage attachment bottun the error will show $idname error , and advice to contact admin
any help |
Quote:
|
Id love to offer this as a premium service to users...can this be controlled by usergroup? Both sending and receiving?
|
Quote:
|
I'm hoping to see this as a product or plugin.
|
Quote:
|
Oh really... Sorry my bad. I just woke up so I was kinda sleepy. :P
|
<font color="Lime">*installed*</font>
It works great, but It'd be awesome if only certain groups could use the feature! |
Quote:
|
Is not working on vb 3.5.0
Error: Invalid Post specified. If you followed a valid link, please notify the administrator |
And who said it will work on 3.5.0 Gold?
|
this is something ive never understood, why not give the PM attachments its own table in the database, so it doesnt have to run off the normal attachments table
my site the attachment table is 785MBs (rard), so its big, and it would run better if it had its own database table ----------------- also, what if u have changed to file-system attachments, will that cause a problem for this hack? snake - thats a rather snotty answer, the thread title does say 3.5, doesnt say RCx or gold, however the version does say RC2, but so many times i have seen known coders say "there were little changes from any of the RC versions to gold, so u can assume all 3.5 hacks work on gold" tsk tsk |
I think you're wrong buddy because according to the hack info it says...
Quote:
|
Quote:
|
was still a snotty answer regaurdless, we can always be polite
|
Quote:
|
Quote:
|
may i ask, does this work if u r using a filesystem for attachments, and not the database?
|
Quote:
|
All times are GMT. The time now is 04:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|