Author Topic: Users Online Listing (How to display someone is in the shop - Tutorial)  (Read 5364 times)

Offline akulion

Well the title really says it all...

I just wanted to know which files I would need to edit to show when viewing "users online" on SMF that someone was in the Shop ?

Currently it just says "Unknown Action"

Thanks
« Last Edit: May 28, 2006, 08:54:44 am by akulion »

Offline Daniel15

Re: Users Online Listing (How to display someone is in the shop?)
« Reply #1 on: May 26, 2006, 09:46:17 pm »
I'm actually not quite sure how to do this... Maybe Basil Beard would know? :P

Maybe I'll look at this once I get more spare time...

Offline akulion

Re: Users Online Listing (How to display someone is in the shop?)
« Reply #2 on: May 28, 2006, 06:43:02 am »
ok I got this one covered

follow the instructions below:

1. Download who.english.php from the Themes/default/languages folder
{and make a backup in case u do something wrong}

2. open with a text editor and add the following line
Code: [Select]

$txt['whoall_shop'] = 'In the Shop.';


just under this line..

Code: [Select]

$txt['whoall_.xml'] = 'Viewing an XML feed.';


3. save and upload and enjoy :D

Geezer

  • Guest
I tried this on default theme but nothing has changed, any ideas?

Offline seo

I tried this on default theme but nothing has changed, any ideas?

All it does is when u click  urforums/index.php?action=who and it will show who is doing what. There it will shop who is in shop.


Code i am using also links to the shop so use this code if you would like to link to the shop also.

Code: [Select]
$txt['whoall_shop'] = 'User is currently <a href="' . $scripturl . '?action=shop">Shopping</a>.';
« Last Edit: June 06, 2006, 08:20:53 am by seo »

Offline Daniel15

Thanks for that. I'll be sure to implement this in the next SMFShop update.

Geezer

  • Guest
Thanks got it working for arcade as well, you guys rock