PDA

View Full Version : Prefix Forum Status Icon problem



applebeef
Wed 5th Aug '09, 12:21am
Hi, I'm toying with having a different status icon for a specific forum (Admin CP -> Forums & Moderators -> Forum Manager -> Edit Forum -> Prefix for Forum Status Images)

I know this is a common question-- and I actually got them to work. Only, they work on the default theme (I checked) and not the one I'm using.

Which is odd, because 'my theme' is sort of just a lightly modified version of the default theme.

Anyway I mention this because I'm not asking 'how do I set the prefix etc.'-- apprently I've done it right because it works on the default theme.


As I recall, there were a couple of templates or specifically concerning this (edit: forumhome_forumbit_level1_post and forumhome_forumbit_level2_post.). Could someone pinpoint what should be there that is apparently missing?

Thanks!

Lynne
Wed 5th Aug '09, 12:31am
Did you know you can compare your template to the default Jelsoft template? Just click to edit your template, hit View History, then Compare. You'll then get to see the differences between the two templates (I like to then click the button to see them side by side). That should help you find the line and see the difference.

applebeef
Wed 5th Aug '09, 12:27pm
Thanks I didn't know that.

At any rate the two templates mentioned above are not customized-- although my "Forum Home" template is. Could it be something in there?

Lynne
Wed 5th Aug '09, 1:19pm
Hmmm, those should be the templates. Have you looked at the page source to see what is being spit out? Do you have a link to this new style you are working on?

applebeef
Wed 5th Aug '09, 6:13pm
Thanks again, here you are: http://charles-song.com/testvb/index.php?

I'm trying it with the 'General' forum, as you can see with my 'custom' theme called Test SF (the tan looking one), nothing loads (or possibly a red X on other browsers)

But as soon as you quick switch to the default VB theme, the custom status icon (prefix: test_) displays just fine-- a blue tear drop thing.

Lynne
Wed 5th Aug '09, 6:45pm
In your new style, it is looking for the image here (complete url):

<img src="http://www.wetacollectors.com/forum/images/statusicon/test_forum_old.gif" alt="" border="0" id="forum_statusicon_2" />In the default vbulletin style, it is looking for the image here:

<img src="images/statusicon/test_forum_old.gif" alt="" border="0" id="forum_statusicon_2" />So, for some reason, on your new style, the full url is in the image tag.

applebeef
Wed 5th Aug '09, 8:32pm
Aha! I think you may have well clued me into the fix, thanks so much Lynne!