vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   In Postbit Legacy "User Home" Button [With Small İcon] (https://vborg.vbsupport.ru/showthread.php?t=137164)

YeşiLMeN 01-20-2007 10:00 PM

In Postbit Legacy "User Home" Button [With Small İcon]
 
Author: ScReaM_

Site: http://www.ultravb.com

--------------------------------------------------------------------------

Description: Look Attached İmage..

--------------------------------------------------------------------------

Upload "userhome.png" to "images/misc" File ..

In "postbit_legacy" Find ;


Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
Replace With ;

Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]                                <if condition="$show['homepage']">
                                                <a href="$post[homepage]" target="_blank" dir="ltr"><img src="images/misc/userhome.png" border="0" /></a>
                                </if></div>

Finished..

Canis Firebrand 01-22-2007 06:18 PM

Very nice. Though I did make a small change to your code so that I could change all my styles easier.

Instead of
Code:

img src="images/misc/userhome.png
I used
Code:

img src="$stylevar[imgdir_misc]/userhome.png"

Thanks for this post.

BANDiT600 01-23-2007 10:07 PM

Use this icon, because it with transparent background instead of yours... ;)

stomph 01-26-2007 12:23 AM

I also made a slight modification of this nice idea.

I changed:
Code:

<a href="$post[homepage]" target="_blank" dir="ltr" title="$vbphrase[userhome_postbit]"><img src="$stylevar[imgdir_misc]/userhome.png" border="0" /></a>
to:
Code:

<phrase 1="$post[username]"><a href="$post[homepage]" target="_blank" dir="ltr" title="$vbphrase[userhome_postbit]"><img src="$stylevar[imgdir_misc]/userhome.png" border="0" /></a></phrase>
I just added the phrase-tags around the link and then created a new phrase 'userhome_postbit' with 'Visit {1}'s website' as text. Now, when I hover the mouse over the small icon it shows this text. :)

BANDiT600 01-26-2007 06:19 AM

stomph, thank you! I waited it!!!

deezelpope 04-06-2007 09:49 PM

Excellent! Installed...thank you very much!:up:

BarryoBrien 05-19-2007 05:36 PM

very nice thanks, but how do I add in the code to say user's homepage? an alt tag or title tag?

deezelpope 05-19-2007 06:17 PM

<i>It's on your profile page.</i>

TuRKMeN 05-22-2007 05:52 PM

saol y?kledim:)/Thanks İnstalled:)

D&Y 07-16-2007 12:38 PM

Thanx m8,

Installed..


All times are GMT. The time now is 09:22 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.01052 seconds
  • Memory Usage 1,736KB
  • 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
  • (6)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete