eljeffe
08-20-2005, 08:44 PM
I've read the other thread regarding this topic, but my issue is a bit different.
I prefer to not hardcode any URLs into my templates or style variables, because I want one place to manage my fixed URLs. For this purpose, I have chosen to use vBulletin's Replacement Variables feature.
I have created a Replacement Variable called style_image_path_text which contains the URL to the images directory for a particular style. For the purposes of discussion, let's just say it is set to "http://www.mydoman.com/forums/images"
In my style variable for the WYSIWYG buttons, I have "style_image_path_text/editor"
The problem I am having is when I use VBA's module editor -- in this case, the Welcome Message module. None of the buttons show up, and the URL that is put in place of the images (using the bold.gif as an example) is showing as "http://www.mydomain.com/forums/admincp/style_image_path_text/editor/bold.gif"
I'd like to find out how I can do what I want in VBA.
All suggestions are appreciate.
Regards,
Jeff
I prefer to not hardcode any URLs into my templates or style variables, because I want one place to manage my fixed URLs. For this purpose, I have chosen to use vBulletin's Replacement Variables feature.
I have created a Replacement Variable called style_image_path_text which contains the URL to the images directory for a particular style. For the purposes of discussion, let's just say it is set to "http://www.mydoman.com/forums/images"
In my style variable for the WYSIWYG buttons, I have "style_image_path_text/editor"
The problem I am having is when I use VBA's module editor -- in this case, the Welcome Message module. None of the buttons show up, and the URL that is put in place of the images (using the bold.gif as an example) is showing as "http://www.mydomain.com/forums/admincp/style_image_path_text/editor/bold.gif"
I'd like to find out how I can do what I want in VBA.
All suggestions are appreciate.
Regards,
Jeff