PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Problem with VB3enhanced templates (http://www.photopost.com/forum/classifieds-bug-reports/112309-problem-vb3enhanced-templates.html)

h2ojunkie February 21st, 2005 02:50 AM

Problem with VB3enhanced templates
 
When I install the vb3 templates, then turn on the enhance features, I'm having a problem with the urls to images (and I don't know what else) being generated incorrectly.

For example.

In catagories.tmpl line 132

src="{$Globals['vbulletin']}/$stylevar[imgdir_button]/collapse_tcat$colimg.gif"


Generates a url to the image that looks like this:

http://www.mydomain.com/forumhttp://www.mydomain.com/forum/images/buttons/collapse_tcat.gif


As you see the "http://www.mydomain.com/forum" part of the url is duplicated twice.


My config-int.php is set to:
$vb_urlpath = "http://www.mydomain.com/forum";


Anyone have an idea what the problem is?

nexia February 21st, 2005 07:32 AM

this is related to the fact that on your vBulletin settings, you have added your entire url to the image paths (i can assume you have installed vBAdvanced portal)...

you have two choices:
1- go back to your admincp for vBulletin, check your Stylevars for the style you wish to use, and delete the entire url from it...
2- edit your templates and delete the {$Globals['vbulletin']}/ part for all images!

Chuck S February 21st, 2005 07:46 AM

Yep nexia is correct. We code to the default VB3 which has relative image paths. You would need to do a search on the vb3 enhanced templates and remove the vbulletin path as stated above

{$Globals['vbulletin']}/ in front of this $stylevar[imgdir_button]/collapse_tcat$colimg.gif


All times are GMT -5. The time now is 07:31 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97