Log in

View Full Version : attachments in PM


Sworm
03-13-2008, 10:57 AM
Hi all,
how can i do for adding the attachments option in the PM messages?

Dismounted
03-13-2008, 11:25 AM
I believe there was a modification that allowed this on 3.6.x. Have you tried searching?

Sworm
03-13-2008, 12:45 PM
I believe there was a modification that allowed this on 3.6.x. Have you tried searching?

yes, i've tried, but i don't have found nothig ..... or, i've found this:
https://vborg.vbsupport.ru/showthread.php?t=91220

but don't work in vB 3.6.8 ....

snakes1100
03-13-2008, 12:50 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=127113" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=127113</a>

Sworm
03-13-2008, 01:10 PM
thanx,

last question regar the previous mod:

how can i do for remove this tables from MySql?

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);

I want remove it before installing this mod,
anybody can help me?

Dismounted
03-15-2008, 09:58 AM
Why do you want to run those queries?

Sworm
03-15-2008, 10:07 AM
Why do you want to run those queries?


because in the previous version of the att mod exist this queries.... but i've already remove it running thi others queries:
ALTER TABLE attachment DROP usedin;
ALTER TABLE attachment DROP itemid;
ALTER TABLE pmtext DROP attach;

Dismounted
03-15-2008, 10:12 AM
The mod should automatically clean up the database when you uninstall it...

Sworm
03-15-2008, 10:34 AM
The mod should automatically clean up the database when you uninstall it...

ok, but now i've created problems running this?:



ALTER TABLE attachment DROP usedin;
ALTER TABLE attachment DROP itemid;
ALTER TABLE pmtext DROP attach;

Dismounted
03-15-2008, 10:41 AM
You *should* be fine.