![]() |
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. |
All times are GMT. The time now is 07:43 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:
|