vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Making header.jpg a link? (https://vborg.vbsupport.ru/showthread.php?t=172562)

volitian 03-09-2008 09:35 PM

Making header.jpg a link?
 
Hiya, does anyone know how to make header.jpg a link?

Im not sure if I can just href the link in my header template?

Code:

<td width="510" height="164"><img width="510" height="164" border="0" src="$stylevar[imgdir_misc]/header.jpg" alt="" /></td>
Like This?

Code:

<td width="510" height="164"><a href="http://volitianforums.co.uk/volitian/home.php"><img width="510" height="164" border="0" src="$stylevar[imgdir_misc]/header.jpg" alt="" /></a></td>
Thanks if anyone can help :)

snakes1100 03-09-2008 09:41 PM

Code:

<a href="linktowereuwantittogo"><td width="510" height="164"><img width="510" height="164" border="0" src="$stylevar[imgdir_misc]/header.jpg" alt="" /></a></td>

volitian 03-09-2008 09:44 PM

Excellent, my version worked, but it makes sence to have the URL first, thanks again Snakes1100! :D

--------------- Added [DATE]1205103213[/DATE] at [TIME]1205103213[/TIME] ---------------

hmm, I tryed the link before the tabe and it's not clickable but when you hover over it, you can see the URL in the bottom left of IE.

The one I did included the URL after the tabe and some table properties it works but looks untidy lol! not sure why it needs to be after <td to make it clickable, cheers tho mate I shud av just played with it really lol (gulps)..

[Edit]

I added target="_self" and alt text, looks better now ;)

Code:

<td width="510" height="164"><a href="http://volitianforums.co.uk/volitian/home.php" target="_self"><img width="510" height="164" border="0" src="$stylevar[imgdir_misc]/header.jpg" alt="Volitian Home" /></a></td>

Sea Shepherd 11-15-2008 02:15 PM

Guys, im a total PHP noob.

I want to alter the link in my Forum Header Logo Image. Its incorrect.

How do i do this? From Scratch?

I can see the FTP folders on the server...where do i find the right file/php to alter the link that the logo goes to?

DO i change it via FTP or AdminCP?

Cheers, its late here and my brain is switche doff, ive been trying to work it out for hours.

Thanks

T

iNRoC 11-15-2008 02:22 PM

Quote:

Originally Posted by Sea Shepherd (Post 1666138)
Guys, im a total PHP noob.

I want to alter the link in my Forum Header Logo Image. Its incorrect.

How do i do this? From Scratch?

I can see the FTP folders on the server...where do i find the right file/php to alter the link that the logo goes to?

DO i change it via FTP or AdminCP?

Cheers, its late here and my brain is switche doff, ive been trying to work it out for hours.

Thanks

T

This is my logo code. It contains a link and the img.
PHP Code:

<TR>
<
a href="http://www.WebdevPros.net">
    <
img src="ub/logo.jpg" width="266" height="77" border="0" alt="WebDevPros.Net - Home"></a>
      </
tr

Replace
PHP Code:

<a href="http://www.WebdevPros.net"

with your desired link.

Replace
PHP Code:

<img src="ub/logo.jpg" 

with the Image link.

Replace
PHP Code:

alt="WebDevPros - Home" 

with your Rollover text

And then it should work. Do this in either ur header template or "Style Options".

Sea Shepherd 11-15-2008 02:38 PM

Where do i find the Header Template?

EDIT: Cancel that! FOUND IT!

Thanks!!!


All times are GMT. The time now is 02:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01118 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete