vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Clickable Object (https://vborg.vbsupport.ru/showthread.php?t=198957)

TheInsaneManiac 12-15-2008 09:16 PM

Clickable Object
 
1 Attachment(s)
I've added a screenshot as to what I want. I wish to add an image above my members username that is clickable. How would I go about doing this?

Lynne 12-15-2008 09:37 PM

HTML Code:

<a href="link.php"><img src="picture.jpg"></a>

TheInsaneManiac 12-15-2008 09:58 PM

Quote:

Originally Posted by Lynne (Post 1686171)
HTML Code:

<a href="link.php"><img src="picture.jpg"></a>

Lol I'm not an idiot haha, that made my day. I mean where in the postbit should I add the code?

Infopro 12-15-2008 10:23 PM

Find Search in Templates link, search for the word avatar, in results scroll to postbit and double click. Click the "Find" button on bottom of window. Anywhere you like once you get there. As long as it doesn't break anything on your page. ;)

You might try something like this though:


Code:

<div style="float:left"><a href="link.php"><img src="picture.jpg" border="0"></a></div>

TheInsaneManiac 12-18-2008 05:32 PM

Quote:

Originally Posted by Infopro (Post 1686203)
Find Search in Templates link, search for the word avatar, in results scroll to postbit and double click. Click the "Find" button on bottom of window. Anywhere you like once you get there. As long as it doesn't break anything on your page. ;)

You might try something like this though:


Code:

<div style="float:left"><a href="link.php"><img src="picture.jpg" border="0"></a></div>

Thanks man, but the image is causing the username to be pushed down.

Infopro 12-18-2008 07:42 PM

Well, you'll want to make sure its in an area that doesn't do that, and/or resize image to fit. What are the dimensions of the image, I'll add one on mine to find a sweet spot.

TheInsaneManiac 12-30-2008 05:54 PM

I don't know, about 150 by 80.


All times are GMT. The time now is 09:01 AM.

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.01861 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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