![]() |
ok this works fine for me in 3.0.1 BUT, when i load a PM with a attachment, takes forever, like a full 2 minutes to load the PM
thats the only problem, other PMs load very fast, almost instantly |
when i used it on 3.0.1 i got an error
An error occurred while attempting to execute your query. The following information was returned. error number: 1064 error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '; ALTER TABLE pmtext add attach int not null; ALTER TABLE att anyone know how to fix it? |
aren't privat messages privat and only for the users themselfs?
|
a private message is from one person to another this hack can be used in this sorta of case user 1 made a new wallpaper and he wants to show his friend user 2. Instead of making a thread user 1 goes and makes a pm with the image attahment so that way the only two people who will see it are user 1 and user 2.
Also on your sites portal you seem to have latest thread replies twince once on the left hand colum and once under the latest news. justing pointing out. |
I can't find either of these pieces of code in private.php. I'm running 3.0.3.
Quote:
Quote:
|
snobbymom, in that last piece of code just replace foruminfo with attachmentinfo everywhere you see it in the edit.
As for the " $postid = ..." I'm wondering the same thing myself. Its possible that that edit could be skipped. Otherwise all of the edits are fairly straightforward even if they dont match the new 3.0.3 code exactly. Can anyone get this working in 3.0.3? |
Oh, guess what? I got this working for VB 3.0.3! :)
Took me an hour, but I got it! :) A working demo of it is at http://www.generazn.com. I will post a fix for this hack very soon. :) |
Okay, here is the fix! :)
First, Open attachment.php: Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
THAT'S IT! YOU'RE DONE! It should be working now. If not, let me know because it is working for me. :) |
Props to RobinHood! up and working on my forums, no problems thus far! man does this hack take a while to install though!
|
I'm having problems with your code RobinHood, it seems to break the permissions of normal attachments, i.e. no one can view them now.
|
All times are GMT. The time now is 08:42 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:
|