Version: 1.00, by Kentaurus
Developer Last Online: Jul 2014
Version: 3.5.0 Beta 3
Rating:
Released: 06-27-2005
Last Update: 07-16-2005
Installs: 45
DB Changes Uses Plugins Template Edits
Is in Beta Stage
No support by the author.
Last tested in 3.5.0 beta 4
Beta hack
With this hack you can send attachments inside private messages.
Sometimes you may want to send an image or file to another user, but
you just don't want to disclose your email or make the file public,
with this hack you can attach it to the private message.
Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.
==
I didn't think this could be done by plugins alone, but it was, although some sections were really tricky.
Please read the faq in the post below. Also please reply if you tested it and it worked for you much appreciated
v1.0.0
first release
v1.0.1
Fixed an elusive bug that deleted all your non-pm attachments.
Now in "valid file extensions" everything is correctly shown
Added vbulletin version check so you can't install the plugin in an unsupported version
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
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 pmtext add attac' at line 1
If you always got the above error theres nothing you need to undo as it didnt work. To be sure load up a mysql editor and check it out.
You have to modify the prefix to the table as it says:
Code:
Remember to prefix the table, if you do not know what is a prefix or
you don't use it then you can run the queries without any changes
--------------------------------------------------------
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'm using vb_ as my prefix so its like:
Quote:
ALTER TABLE vb_attachment add usedin varchar(30) not null;
ALTER TABLE vb_attachment add itemid int not null;
ALTER TABLE vb_pmtext add attach int not null;
ALTER TABLE vb_attachment add index (usedin,itemid);
I just did a version check and it said that version 1.5.5 was out for this hack, yet I only see 1.5.3 - does anyone know where to get the latest version?
Fatal error: Call to undefined function compile_template() in /home/net20617/domains/parsipeople.com/public_html/forum/global.php(1091) : eval()'d code on line 12
?
when i active this modification my forum give this eror(