PDA

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


YeşiLMeN
21 Jan 2007, 20:11
Author: ScReaM_

Site: http://www.+++++++.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
22 Jan 2007, 19:18
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
23 Jan 2007, 23:07
Use this icon, because it with transparent background instead of yours... ;)

stomph
26 Jan 2007, 01:23
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
26 Jan 2007, 07:19
stomph, thank you! I waited it!!!

deezelpope
06 Apr 2007, 22:49
Excellent! Installed...thank you very much!:up:

BarryoBrien
19 May 2007, 18:36
very nice thanks, but how do I add in the code to say user's homepage? an alt tag or title tag?

deezelpope
19 May 2007, 19:17
It's on your profile page.

TuRKMeN
22 May 2007, 18:52
saol yŁkledim:)/Thanks İnstalled:)

D&Y
16 Jul 2007, 13:38
Thanx m8,

Installed..

JadedSouls
21 Jul 2007, 20:51
love it! thanks :)

D&Y
22 Jul 2007, 09:06
Use this icon, because it with transparent background instead of yours... ;)

I'm Just Seen.

Look's Great. :rolleyes:

Ohiosweetheart
25 Jul 2007, 15:57
This is definitely an install!

thunder_sti
09 Oct 2007, 22:48
Very nice mod / Installed.

vnairp11
11 Oct 2007, 00:09
how can i edit this url so it displays the users profile instead

cjshirlaw
12 Oct 2007, 22:41
Installed, thanks for the work.