PDA

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


Lea Verou
28 Jan 2006, 23:34
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
28 Jan 2006, 23:44
very nice :)

S@NL - BlackBik
28 Jan 2006, 23:54
Nice clean minimod.

*Installed* :)

Kihon Kata
29 Jan 2006, 00:28
ng text removedvery nice :)

oh, I just installed this

akanevsky
29 Jan 2006, 00:36
Excellent minimod =D :)

thedvs
29 Jan 2006, 00:41
danke michelle! very handy.

Snake
29 Jan 2006, 13:03
* Aftermath installs this mod on his forums.

Thanks!

utw-Mephisto
29 Jan 2006, 16:03
nice :) So easy and still usefull :) :)

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

Lea Verou
29 Jan 2006, 16:52
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
29 Jan 2006, 16:59
Installed - working fine.

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

Lea Verou
11 Feb 2006, 19:54
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
11 Feb 2006, 20:18
Thats why I installed to check what does it do! Still cant find any ? link in my forums :ermm:

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

icare
11 Feb 2006, 20:23
Got it. Thanks!

IrPr
08 Mar 2006, 14:24
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
08 Mar 2006, 14:26
Strange... For me it works the same for the gallery, links etc...

bashy
17 Sep 2006, 21:27
Works great for 3.6.0 thanks again for a great little hack, I use this all the time :)