1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem with Theme

Discussion in 'Programming' started by EasyMarketer, Oct 3, 2006.

  1. #1
    for some reason it is working for some people and not for others, it is not a problem with IE/Firefox, because it doesnt appear in either of them, but some of them see this
    [​IMG]


    SEMrush

    Here is the actual website tho HERE

    Any Ideas on how to fix this, im not familiar with SMF and I cant figure it out, I have been working on this for 2 hours and have gotten absolutely no where.
     
    EasyMarketer, Oct 3, 2006 IP
    SEMrush
  2. tflight

    tflight Peon

    Messages:
    617
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't know your CMS so I don't know where the correction needs to be made, but here is the HTML code where you have a broken image:

    						<td class="windowbg2" valign="middle" align="center" width="4%">
    							<img src="" alt="" />
    						</td>
    
    HTML:
     
    tflight, Oct 3, 2006 IP
  3. EasyMarketer

    EasyMarketer Active Member

    Messages:
    695
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Well that isnt the problem, i its the post icon, like the thumbs up, thumbs down smiley faces that is missing off of there when you make a topic. I dont know first off where inside of the theme code it is inside php. So it would be different picture each time you post something. I just do not know SMF, so I dont know what to do.
     
    EasyMarketer, Oct 3, 2006 IP
  4. tflight

    tflight Peon

    Messages:
    617
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I might be missing something.... but I beg to differ. If you view the source code of that page you should see what I'm talking about. View the source code for that page and search for "John". The first occurrence is in the cell just under the "Started by" column. Now look two cells before the cell where "John" is. That cell is where the broken images is. In that cell is the code I pasted above which shows the broken image.
     
    tflight, Oct 3, 2006 IP
  5. EasyMarketer

    EasyMarketer Active Member

    Messages:
    695
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #5
    I just sent you a private message just to show you what I am working with. Just to inform you, Do you know like when you first make a thread, You can choose whether to have a smiley face right next to the title or a thumbs down or thumbs up. That is the image that is missing.
     
    EasyMarketer, Oct 3, 2006 IP
  6. tflight

    tflight Peon

    Messages:
    617
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I looked at the code you sent. The line of code that is causing the problem is number 212 in themes/BlueStory/MessageIndex.template.php where it says
    <img src="', $topic['first_post']['icon_url'], '" alt="" />
    PHP:
    For some reason that variable is not getting set.

    Try replacing it with this which is how the default template (that presumably works) references the image:
    <img src="', $settings['images_url'], '/post/', $topic['first_post']['icon'], '.gif" alt="" />
    PHP:
    Or this could be it too:
    <img src="', $topic['first_post']['icon'], '" alt="" />
    PHP:
     
    tflight, Oct 3, 2006 IP
    EasyMarketer likes this.
  7. EasyMarketer

    EasyMarketer Active Member

    Messages:
    695
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #7
    Man you are the Best man. You are Brilliant! Man Rep for you Rep for you :D
     
    EasyMarketer, Oct 3, 2006 IP