Log in

View Full Version : In Postbit Legacy "User Home" Button [With Small İcon]


YeşiLMeN
01-20-2007, 10:00 PM
Author: ScReaM_

Site: http://www.ultravb.com

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

Description: Look Attached İmage..

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

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

In "postbit_legacy" Find ;

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

Replace With ;

<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 img src="images/misc/userhome.png I used 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:
<a href="$post[homepage]" target="_blank" dir="ltr" title="$vbphrase[userhome_postbit]"><img src="$stylevar[imgdir_misc]/userhome.png" border="0" /></a>
to:

<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..

JadedSouls
07-21-2007, 07:51 PM
love it! thanks :)

D&Y
07-22-2007, 08:06 AM
Use this icon, because it with transparent background instead of yours... ;)

I'm Just Seen.

Look's Great. :rolleyes:

Ohiosweetheart
07-25-2007, 02:57 PM
This is definitely an install!

thunder_sti
10-09-2007, 09:48 PM
Very nice mod / Installed.

vnairp11
10-10-2007, 11:09 PM
how can i edit this url so it displays the users profile instead

cjshirlaw
10-12-2007, 09:41 PM
Installed, thanks for the work.