weeno
05-19-2006, 06:42 PM
I'm trying to consolidate attachments onto one server. Instead of my attachments being on forums.xyz.com, I am putting them on att.xyz.com.
Now, for the most part, this was easily done by changing the templates to point to the specific server.
That worked out, but the one remaining issue is that the [attach] BBcode still links to attachments to the forums.xyz.com url.
I was looking to change this, but found out that attach is hard coded in the php files. I could change it manually, but this makes it more difficult to upgrade in the future. I looked into patching/extending the bbcode via the plug in system, but it doesn't appear that easy for this particular tag. [attach] is apparently handled by [img] which doesn't appear to use the same call-back functions.
Anyone have any ideas how to accomplish this in the most maintinence free-way?
arn
Now, for the most part, this was easily done by changing the templates to point to the specific server.
That worked out, but the one remaining issue is that the [attach] BBcode still links to attachments to the forums.xyz.com url.
I was looking to change this, but found out that attach is hard coded in the php files. I could change it manually, but this makes it more difficult to upgrade in the future. I looked into patching/extending the bbcode via the plug in system, but it doesn't appear that easy for this particular tag. [attach] is apparently handled by [img] which doesn't appear to use the same call-back functions.
Anyone have any ideas how to accomplish this in the most maintinence free-way?
arn