![]() |
Quote:
|
Hmm great I'll definitly install this tonight!
|
Quote:
|
Works great for me! Thanks for the hack very useful on my site.
|
The hack is working, however when I click on the attachments link in the User CP the attachment in the PM is not listed.
Does this mean that PM attachments will not be counted toward attachment quotas? Edit: Plus, I don't like that it does not check if a user has attachment permissions. I have had to add an <if> statement to stop users without attachment permission from using the attachments in PMs system. |
I've been busy working on a rewrite for this seeing as how 3.5 is now Gold, I'm hoping to release it in beta form by the end of the week..
|
we're friday. end of week... lol
|
Sorry for being dumb lol But im getting this Sorry! This forum is not accepting new posts. and i cant find the Find: $_pmt = 1;
Replace the "1" with the threadid To replace it.. where you said you look for it. |
Quote:
End of the week is Sunday in my World.. |
Quote:
|
I dont know what I seem to be doing wrong...I followed the instructions but when I select the manage upload button ..a window opens followed by the following error message:
Invalid Post specified. If you followed a valid link, please notify the administrator I tried changing the threadid but still geting the same msg...any help here plz? |
Thanks works as intended.
illusions: how did you get the thread ID? I used one of mine and it worked perfectly. |
its about time to change the topic title..
either compatible with vb 3.5 gold or not.. its been while now.. |
Yeah you're right!
|
Sorry, the true 3.5 Gold Version is being delayed because of problems with quotas, I hope to release it soon..
Although this version as is does work with 3.5 Gold.. IF You just follow the instructions as they are set out, always take care when installing a modification, make sure code is added in the right place and that your editing the right templates. |
When i attach a file, it uploads without an error, but when i want to send the PM i get a Database error:
Invalid SQL: UPDATE pmtext SET attach='1' WHERE pmtextid='2477'; MySQL-Fehler : Unbekanntes Tabellenfeld 'attach' in field list. Fehler-Nr. : 1054 Datum : Saturday, October 15th 2005 @ 12:00:33 AM Skript : http://www.xxx.de/forum/private.php Referrer : http://www.xxx.de/forum/private.php?do=newpm&u=1 IP-Adresse : xxx Benutzername : xxx Klassenname : vb_database edit: a i've got vb3.5 gold...seems not to work with. |
Don't fully understand the language but it looks like you've not run all the sql queries needed when installing the hack. You need to add an attach to the pmtext table which it looks like you haven't done..
Code:
ALTER TABLE pmtext add attach int not null; |
Hey bro, are you sure this should use thread permissions for whether they can attach or not? I think this should be separate :)
|
Yeah, would be nice if it was separate - unfortunately that doesn't seem to be that easy (without file edits).
|
How about a new user permission - "can attach files in PM"? :)
|
That's not the problem. newattachment.php is :)
|
Umm... Doesn't newattachment.php receive something like posthash or something of that kind that identifies whether what it's for? I am not sure, but when I did the "attachment in calendar" hack, I did something like that to distinguish between attachment that were intended for posts and attachments that were intended for calendar entries :)
EDIT: Oh... I remember - the way I did it was I added a new field to the attachment table that identified where the attachment had to belong.. didn't use permissions for threads... I'm sure this can be done for PMs too :) |
I ran this:
ALTER TABLE attachment add usedin varchar(30) not null; ALTER TABLE attachment add itemid int not null; ALTER TABLE pmtext add attach int not null; ALTER TABLE attachment add index (usedin,itemid) And got this: 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 attachment add itemid int not null; ALTER TABLE Any Ideas?? |
Quote:
A "Lite" Version (Zend Encoded and with a max of fifty pm attachments sent. so you can get a feel for how the system works) will be available shortly. A "FULL" Version (Not Encoded and no Limits) is available now but due to the amount of work that has gone into this isn't free. As all commercial talk is a no-no. PM me for details. |
Quote:
|
Quote:
Yes, thank you! No errors and everything seem to work great so far. Will post if anything changes. Thanks again! |
version 3.5.0 GOLD
Please, see attachments. How I can showing the image? |
Quote:
|
Installs: 69
*childish giggle* |
ALTER TABLE pmtext add attach int not null; would not work (the others did)
#1060 - Duplicate column name 'attach' Also, attachments can be uploaded, but none will be sent or displayed in pm. |
Any idea if this is working with 3.5.0 Gold?
|
|
Almost did not get it to work but I did.. Great tool !
Anyway to make the image show up in the private message rather than being a link.. ? |
I've not been able to get it to work yet. I've set it up 3 times already and I'm just going to wait until its "official" before I reattempt it.
|
It work's fine. Great Work!
Here is the German Translation for German Users... I postet it here, because of Kentaurus rules... :nervous: |
Quote:
Perfect Thanks @General_ and BluPhoenix ! ;) But i get this at online.php if a User is attaching a File ! |
I get this when i click "Manage Attachments"
Code:
Invalid Post specified. If you followed a valid link, please notify the administrator Code:
$extraattachmentinfo = $db->query_first(" |
ok i fixed my issue but now i try to load a regular small image and it takes too long. it doesnt load it can you please tell me why? i followed the steps thanks
|
*bump*
|
Quote:
about 5 or 6th line i think |
All times are GMT. The time now is 06:09 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:
|