Robust
Well-known member
Hey,
I have multiple add-ons that include copyright attribution/branding into the footer.
Something like this:
As multiple add-ons include this branding, I only want one add-on to be taking control of this. To insert the branding I use a template modification that makes a PHP callback to our servers to check branding.
That being said, I've tried changing the 'unique modification key' to the same thing, as it is really just the same thing, and I guess XenForo wasn't kidding when they said 'unique' - that one didn't work. I've already explored the idea of setting a variable in XenForo_Application with the add-on ID of what's handling the modification, and then add an extra check into the template callback to see if that add-on ID is its. I don't think that's too good of an idea. I mean, you can unset it during uninstall and all but it's just a poor concept.
I'm guessing someone here has a brighter idea.
So yeah, clarification, I want the "Some add-ons by Apantic" to only appear once, even if multiple Apantic add-ons are installed.
I have multiple add-ons that include copyright attribution/branding into the footer.
Something like this:
As multiple add-ons include this branding, I only want one add-on to be taking control of this. To insert the branding I use a template modification that makes a PHP callback to our servers to check branding.
That being said, I've tried changing the 'unique modification key' to the same thing, as it is really just the same thing, and I guess XenForo wasn't kidding when they said 'unique' - that one didn't work. I've already explored the idea of setting a variable in XenForo_Application with the add-on ID of what's handling the modification, and then add an extra check into the template callback to see if that add-on ID is its. I don't think that's too good of an idea. I mean, you can unset it during uninstall and all but it's just a poor concept.
I'm guessing someone here has a brighter idea.
So yeah, clarification, I want the "Some add-ons by Apantic" to only appear once, even if multiple Apantic add-ons are installed.