Thread: Attachments
View Single Post
  #36  
Old 19 Feb 2008, 14:02
Zi55 Zi55 is offline
 
Join Date: Dec 2006
Originally Posted by scotty View Post
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

copy the following files in root\includes:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

go to the templates section of your board:
replace all occurrences of

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and

replace all occurrences of

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

last step:
add a replacement variable to all your styles:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this last step is for the "attach" tag

delete all your cookies (maybe via filesystem) and test the installation.

have fun
First thanks too much scotty for the way
Did anyone try this way in seperate attachment server ?
and are it have any bugs etc .. ?
Thanks ,
Zi55
Reply With Quote