Log in

View Full Version : Make the question icon in WOL a link


Lea Verou
01-27-2006, 10:00 PM
I always wanted to do that to be able to go instantly to the location that a user is in without copying and pasting (eg in searches etc) but always postponed it. Today I was fed up with it and decided to make the little tweak :)
It's a very simple template modification.
Just find in the whoisonlinebit template:
<if condition="$show['reallocation']"><img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$userinfo[location]" /></if>

change to:
<if condition="$show['reallocation']"><a href="$userinfo[location]"><img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$userinfo[location]" border="0" /></a></if>

enjoy!
Don't forget to click INSTALL!

Exposed_Bone
01-28-2006, 09:44 PM
very nice :)

S@NL - BlackBik
01-28-2006, 09:54 PM
Nice clean minimod.

*Installed* :)

Kihon Kata
01-28-2006, 10:28 PM
ng text removedvery nice :)

oh, I just installed this

akanevsky
01-28-2006, 10:36 PM
Excellent minimod =D :)

thedvs
01-28-2006, 10:41 PM
danke michelle! very handy.

Snake
01-29-2006, 11:03 AM
<font color="#15a018">* Aftermath installs this mod on his forums.
</font>
Thanks!

utw-Mephisto
01-29-2006, 02:03 PM
nice :) So easy and still usefull :) :)

the Sandman
01-29-2006, 02:14 PM
I like it! I added a target="_blank" to the link... but that's just me. :D

Lea Verou
01-29-2006, 02:52 PM
I like it! I added a target="_blank" to the link... but that's just me. :D

I always open them in a new tab so I didn't need it but thanks for the alternative, someone might need it :)

The Realist
01-29-2006, 02:59 PM
Installed - working fine.

icare
02-11-2006, 05:49 PM
I have installed it but have no idea what this hack is for?
Can anybody care to expalin it to newbie?

Lea Verou
02-11-2006, 05:54 PM
You installed a hack that you don't know what it does? :confused:

Anyway, It makes the little question icon in who is online a link (for those that have the permssion to see it of course) so that you can easily go to that location.

icare
02-11-2006, 06:18 PM
Thats why I installed to check what does it do! Still cant find any ? link in my forums :ermm:

S@NL - BlackBik
02-11-2006, 06:20 PM
It's on the Who's online page, but you'll have to login as an administrator to see them.

icare
02-11-2006, 06:23 PM
Got it. Thanks!

IrPr
03-08-2006, 12:24 PM
nice work! michelle
but some links such az gallery and vba that aren't in same domain doesnt work
i mean gallery links ( gallery.domain.com ) will be shown as forum.domain.com

Lea Verou
03-08-2006, 12:26 PM
Strange... For me it works the same for the gallery, links etc...

bashy
09-17-2006, 07:27 PM
Works great for 3.6.0 thanks again for a great little hack, I use this all the time :)