Quote:
Originally Posted by Stargesicht
Can you post a step by step way to do this????
|
i've just implemented it and here is my way:
AdminCP => Options => Cookies => Cookie-Domain
set it to
.yourdomain.com - with the two dots!!!
setup a subdomain called attachment.yourdomain.com
(in my case this is located on the same server as my master-webserver, so I don't have to deal with the attachment path)
copy the following files in the root:
Code:
attachment.php
global.php
newattachment.php
copy the following files in root\includes:
Code:
class_core.php
class_dm.php
class_dm_attachment.php
class_hook.php
class_image.php
class_upload.php
config.php
functions.php
functions_editor.php
functions_file.php
functions_forumlist.php
functions_log_error.php
functions_misc.php
functions_newpost.php
init.php
go to the templates section of your board:
replace all occurrences of
with
Code:
http://attachment.yourdomain.com/attachment.php
and
replace all occurrences of
with
Code:
http://attachment.yourdomain.com/newattachment.php
last step:
add a replacement variable to all your styles:
Code:
http://www.yourdomain.com/
with
http://attachment.yourdomain.com/
this last step is for the "attach" tag
delete all your cookies (maybe via filesystem) and test the installation.
have fun