News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Users Online Today Mod

Started by Nibogo, November 06, 2005, 01:42:31 AM

Previous topic - Next topic

xXTombstoneXx

Hello All,

I tried searching this topic to find what I was looking for and had no results.  (I couldn't possibly read 50+ pages)

I have installed this mod and it works just fine.  I only have one issue.

I am reasonably new to SMF and php in general, so please ignore my ignorance.  I tried looking at all the possible php files and couldn't find where this wording is found to hopefully edited it:

"Users Logged In Today"

Here is a screenshot of that area on my homepage:



This is what I am running:

Forum version: SMF 2.0 Beta 3.1 Public

SMF Default Theme - Core

   Mod Name   Version
1.   Enhance Recent Post   1.0 
2.   Images On Board   1.1 
3.   PM Popup - Uses Active Window   1.3 
4.   Highlight Search Keywords   1.2 
5.   Order Stickied Topics   1.01 
6.   Bookmarks   2.1.2 
7.   Forum Epoch   1.0 
8.   Copy Topics   1.4 
9.   Help Linktree Fix   0.1 
10.   Topic_Locked_Message   2.0 
11.   nneonneo's AJAX ShoutBox   1.21 
12.   Leet Mod   1.0 
13.   YouTube BBCode   2.3 
14.   Super Admin   1.0 
15.   Pm_Informer   1.0 
16.   Users Online Today   1.5.3 
17.   Clickable Avatars   1.0.1 

I am sure you all are aware of this mods readme.txt and it's variables, but just to be clear here is the readme.txt:

Thank you for using the Users Online Today Modification,

This modification allows users to see who logged in during the day.

It is possible to chance a few options for by editing the BoardIndex.php
file. The default options found there, are the following:

$membersOnlineTodayOptions = array(
                'sort' => 'login_time',
                'reverse_sort' => true,
                'period' => 'current_day',
                'canview' => 'registered',
);

The following options are possible:

Option:          sort
Possible Values: 'login_time', 'member_name'
Description:     Sort the user list by either login time or their username

Option:          reverse_sort
Possible Values: true, false
Description:     Sort the user list in ordinary or reverse order

Option:          period
Possible Values: 'current_day', 'last_24_hours', 'last_7_days'
Description:     The period the user list covers


I set the variable to "last_7_days".   I would like to be able to edit whatever template or php file creates this lable in my forum to represent something like "Users Logged In This Week".



If anyone can point me in the right direction, I would greatly appreciate it.   ;)

Sincerely,

xXTombstoneXx




tk2012

Quote from: Carceri on August 27, 2008, 03:56:28 AM
Quote from: tk2012 on August 26, 2008, 01:52:28 PM
I'm running v2.0 b3.1

I just received about 40 errors in the last 24 hours that are all the same...(ok, I counted.  It was 48 errors.  Just wanted to make sure I wasn't exagerating!  Seems I was being conservative.)

1.5.2

What version of the mod are you using, because the line numbers are not the same as in the latest version I have here.

Carceri


Exterminator2006

i use this and perfect working :)


Geezer

hi I am running smf1.15 and installed uot 1.4, it installed ok but I am getting this at top of my board (see attachment), any idea why anyone please?
[nofollow]

Adish - (F.L.A.M.E.R)

Quote from: Geezer on September 04, 2008, 05:07:15 PM
hi I am running smf1.15 and installed uot 1.4, it installed ok but I am getting this at top of my board (see attachment), any idea why anyone please?

Thats cause of the modifications.english.php as those codes are added before ?>

Just modify it and it will be removed.

Geezer

[nofollow]

Adish - (F.L.A.M.E.R)


TroyG

Is there a option I can select to not show this feature to regular members, I want the admin's only to be able to see this.

You guys do a great job !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks Troy

TheDel

Is there only way I can get this on my stats page?
Ya know next to in Monthly Summary where it says Most Online.
I would want that to say Most Online one time and Most Online Today like it does in the Board Index

feelingshehides

Hello, this mod still not compatible with 1.1.6 ?

I tried to install but just gives me an incompatible error :(

so i should go for 2.0 ?

Mystiquo

scuse me i want that spider see in user online today it's possible or no? thanks

Carceri

Quote from: feelingshehides on September 13, 2008, 12:03:42 PM
Hello, this mod still not compatible with 1.1.6 ?

I tried to install but just gives me an incompatible error :(

I have successfully installed it on 1.1.6. Is this a problem for other people as well?

Minare

Is it possible to make users online today collapsible ?

Powerbob

Hi Carceri, any chance you will be updating your mod to Beta 4 soon?
Great work by the way :)



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

Carceri

Quote from: Powerbob on September 17, 2008, 08:24:07 AM
Hi Carceri, any chance you will be updating your mod to Beta 4 soon?

Yes,  I would say there is a very good chance of that happening ;)

feelingshehides

Yay :D latest version works perfectly on SMF 2.0 Beta 4 Thanks for the update!

jeri

How do I remove this from the top of my forum?

$txt['uot_users_online_today']='Users Logged In Today'; $txt['uot_yesterday']='Yesterday at '; $txt['uot_total']='Total'; $txt['uot_visible']='Visible'; $txt['uot_hidden']='Hidden';

Adish - (F.L.A.M.E.R)

open Modifications.english.php

put those lines before the ?> and its done..

jeri


Advertisement: