How are you making your addon work for both 1.1 and 1.2?

Chris D

XenForo developer
Staff member
You might have to branch and release two versions for something like that. Or just go 1.2 exclusive.

Jon W

Well-known member
Clever - putting in 2 classes and only launching one.

Here is what I did: here and here
The nice thing about @xfrocks's method is that there is no duplicate code. You could do something similar by making both of those files extend a single file that includes the methods where the callback signature does not need to change.