2008-07-09, 08:03 PM
Hello,
As some of you may know, I'm working on a Multiforums Script for MyBB 1.4. Anyway, what I want to know is if MyBB 1.4's theme system can support remotely hosted themes.
What I want to have is where a user can import an XML file for a theme, but instead of the images for the theme being on their server at images/themename they would really be at http://www.somesite.com/images/themename. What I am wondering is if it is possible to do something like this or to define a remote image directory somewhere else on the internet in the XML for a theme?
I have tried playing with this a bit by modifying the XML file for the NDesign theme demo that's been released around here, but unfortunately the lack of completed MyBB themes for 1.4 along with my lack of knowledge of the MyBB theme system work against me. What I did notice, however, is that in some cases at least when an absolute URL is specified in a modified theme the MyBB theme will default to some of the default theme's images when viewed, rather than showing no image if the file doesn't exist.
Anyone know if this is possible off the bat with MyBB 1.4 or if there would be something that needs to be edited for this to work? I'd eventually like to have something similar to the old InvisionFree theme site where theme images are hosted externally and people can just import the XML and use the external images.
Thanks,
BMR777
As some of you may know, I'm working on a Multiforums Script for MyBB 1.4. Anyway, what I want to know is if MyBB 1.4's theme system can support remotely hosted themes.
What I want to have is where a user can import an XML file for a theme, but instead of the images for the theme being on their server at images/themename they would really be at http://www.somesite.com/images/themename. What I am wondering is if it is possible to do something like this or to define a remote image directory somewhere else on the internet in the XML for a theme?
I have tried playing with this a bit by modifying the XML file for the NDesign theme demo that's been released around here, but unfortunately the lack of completed MyBB themes for 1.4 along with my lack of knowledge of the MyBB theme system work against me. What I did notice, however, is that in some cases at least when an absolute URL is specified in a modified theme the MyBB theme will default to some of the default theme's images when viewed, rather than showing no image if the file doesn't exist.
Anyone know if this is possible off the bat with MyBB 1.4 or if there would be something that needs to be edited for this to work? I'd eventually like to have something similar to the old InvisionFree theme site where theme images are hosted externally and people can just import the XML and use the external images.
Thanks,
BMR777