Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-08-09, 18:19:29
Awww! Poor thing! LOL
 

Ken

2024-08-09, 09:20:52
 

Skhilled

2024-07-06, 10:33:18
 :D
 

Ken

2024-07-06, 06:40:47
Happy Saturday after the 4th of July!
 :fireworks:
 

Skhilled

2024-07-04, 20:27:02
Happy Day Off From Work!  :D
 

Ken

2024-06-25, 06:23:12
84... who knew?  laughing7
...2013 was my *magic* year
 

Skhilled

2024-06-14, 22:09:12
I hope so! LOL
 

Ken

2024-06-14, 21:41:30
My B-Day is forthcoming and maybe it will be far enough along so that I can be a regular Dancing Fool for that day!!! :banana: :2funny:
 

Ken

2024-06-14, 21:38:38
Happy Friday everyone! I'm  SOOO glad to see Friday and not just because it's the weekend, but because it marks one more day in the recovery of my foot!  laughing7

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: whos online  (Read 3230 times)

0 Members and 1 Guest are viewing this topic.

Offline Lesmond (OP)

whos online
« on: September 01, 2009, 03:05:09 PM »
in the file Who.english.php in Themes/default/languages

you can add any extra actions so they show in whos online

these are some I have added, but they are only related to my forum

Code: [Select]
$txt['whoall_gb'] = 'Viewing the <a href="' . $scripturl . '?action=gb">Guest Book</a>.';
$txt['whoall_link'] = 'Viewing the <a href="' . $scripturl . '?action=link">Links page</a>.';
$txt['whoall_team'] = 'Viewing the <a href="' . $scripturl . '?action=team">Lesmonds team page</a>.';
$txt['whoall_magic'] = 'Playing <a href="' . $scripturl . '?action=magic">Magic 8 ball</a>.';
$txt['whoall_reco'] = 'Viewing the <a href="' . $scripturl . '?action=reco">Recomend us page</a>.';
$txt['whoall_gallery'] = 'Viewing the <a href="' . $scripturl . '?action=gallery">Gallery Pages</a>.';
$txt['whoall_State'] = 'Viewing the <a href="' . $scripturl . '?action=state">Privacy Statement</a>.';
$txt['whoall_Sudo'] = 'Viewing the <a href="' . $scripturl . '?action=Sudo">Sudoku</a>.';
$txt['whoall_tpmod'] = 'Viewing the <a href="' . $scripturl . '?action=tpmod;dl">Downloads</a>.';

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11944
  • Gender: Male
  • View Gallery
Re: whos online
« Reply #1 on: September 01, 2009, 03:22:27 PM »
Thanks for posting the code Les, I'll use this as a template to make some changes here on the FF.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: whos online
« Reply #2 on: September 02, 2009, 07:51:22 AM »
But doesn't the variable have to be called by SMF in another file? What I'm asking is: doesn't "'whoall_gb'" have to be somewhere else and call it so it can be read...or am I barking up the wrong tree?

Offline Lesmond (OP)

Re: whos online
« Reply #3 on: September 02, 2009, 09:27:58 AM »
they mostly have to be an action, there was some other way, but I cant remember what it is :undecided2:

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: whos online
« Reply #4 on: September 02, 2009, 03:17:28 PM »
Just wondering. Thanks.