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.

PhPBB logo question

Discussion in 'phpBB' started by shahab6, Jul 1, 2008.

  1. #1
    On the top of the forum where there is a logo, and when you click on it, it goes to the first page of the forum, how do I change the link of it?
    SEMrush
     
    shahab6, Jul 1, 2008 IP
    SEMrush
  2. benjaminp

    benjaminp Notable Member

    Messages:
    1,214
    Likes Received:
    16
    Best Answers:
    2
    Trophy Points:
    230
    #2
    Would depend on the forum software, but you want to be looking for the header file in the theme dir.

    Just re-read the thread title... Doh!

    Yeah, there should be a file in the template folder called header.tpl. Well that is as far as I remember. It has been a long time since I have used phpbb.
     
    benjaminp, Jul 2, 2008 IP
  3. chopsticks

    chopsticks Active Member

    Messages:
    565
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #3
    If you are using phpBB2 it's in the file overall_header.tpl in the templates directory. If you are using the default template then this is the code you will need to edit:

    <a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a>
    HTML:
    Replace that, upload and your all set. :)
     
    chopsticks, Jul 2, 2008 IP
  4. rockinaway

    rockinaway Guest

    Best Answers:
    0
    #4
    Yes, you must replace the {U_INDEX} with your desired URL :)
     
    rockinaway, Jul 3, 2008 IP
  5. Whitey

    Whitey Active Member

    Messages:
    1,386
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #5
    If you're using phpBB3 it will be in styles/template/theme and will be called overall_header.htm :)
     
    Whitey, Jul 3, 2008 IP
  6. Muzet

    Muzet Guest

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Open overall_header.html and find:
    <td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
    Code (markup):
    Replace "{U_INDEX}" with link, example:
    <td><a href=http://google.com">{SITE_LOGO_IMG}</a></td>
    Code (markup):
    After that refresh the theme. :D
     
    Muzet, Jul 9, 2008 IP