Welcome, Guest. Please login or register.

ShoutBox!

Scrubmeister

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

Skhilled

2024-04-18, 21:09:09
I've upgraded the server...more resources. ;)
 

Ken

2024-04-18, 20:57:10
Now that you mention it...  :D
 

Skhilled

2024-04-18, 20:47:19
...and, you should notice that the site is much faster.  :o
 

Ken

2024-04-18, 20:31:37
Hey Steve.
 

Skhilled

2024-04-18, 17:56:10
Re-read the message below...
 

Skhilled

2024-03-31, 15:22:06
Oh yeah, you need to upgrade the site first...
 

Ken

2024-03-30, 09:54:54
Whoops! I forgot that the SMF install here on OFF is out of date!  :'(
 

Ken

2024-03-30, 09:44:48
 Conga-Rats Steve!  :thumbup:
Me gonna install it here just for the fun of it!  :)
 

Skhilled

2024-03-29, 22:15:23
Released!  :D

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: whos online  (Read 2397 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: 11674
  • 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: 9006
  • 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: 9006
  • 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.