Installation is extremely easy. First open the attach.php file and check the configuration. It's designed to work with the private attachments hack and the attachment viewer. After checking the config, upload the file to your forums directory, create a new template called attachment with the contents of the attachment.txt file and a new template called attachmentbit with the contents of the attachmentbit.txt file. That's it.
Feedback is always appreciated. You can get assistance, if needed, either through an e-mail or through my forums.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
beware if installing this hack
it works fine but causes your database to overload mines simply shutdown because of this and the server had to be restarted
Originally posted by Mike11212 beware if installing this hack
it works fine but causes your database to overload mines simply shutdown because of this and the server had to be restarted
Originally posted by SWFans.net I'm not sure why, but I installed this hack to test it out, and as I tried to load attach.php my server load on a semi dedicated server wen't through the roof and stalled MySQL on my forums. I think something needs some optimization maybe.
Quote:
Originally posted by FWC I saw it driving the loads through the roof on two servers today. It locks multiple queries in the mysql server for huge amounts of time. I restarted mysql on both of them to get them back to normal.
Quote:
Originally posted by thenetbox Hello..
I added the templates but as soon as I did that it got very very very slow...
Weird...
Quote:
Originally posted by Mike11212 beware if installing this hack
it works fine but causes your database to overload mines simply shutdown because of this and the server had to be restarted
Don't know why, but I'm not alone in seeing it do that.
the server im on is dedicated p3 1ghz 1gb of ram
and when i executed attach.php
it worked but took about 3 minutes to load
hit the arrow for the next page and it wouldnt load server went down
$getattach = $DB_site->query("SELECT attachment.attachmentid,attachment.userid,attachme nt.dateline,attachment.filename,attachment.visible ".iif($privattach,',attachment.private','').",atta chment.counter,post.postid,post.threadid,thread.ti tle,user.username FROM attachment LEFT JOIN post on attachment.attachmentid=post.attachmentid LEFT JOIN thread USING(threadid) LEFT JOIN user on attachment.userid=user.userid WHERE attachment.visible=1 AND post.attachmentid<>0 ".iif($privattach,'AND private=0','')." LIMIT $min,$perpage");
To download hacks you will need to go to this page and enter your email address, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.
You are appearing as unlicensed. Get your admin to do the following:
To download hacks you will need to go to this page and enter your email address, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.