The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Modifying [attach]
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 |
#2
|
|||
|
|||
I know from experiace that this can't be done without editing the files.
|
#3
|
|||
|
|||
Ok... well, I guess I'll just do it. It's a small change. here it is in case anyone needs to do it in the future:
In includes/class_bbcode.php find: Quote:
Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|