[BETA] UOT (Users Online Today)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply
rhs98
Registered User
Posts: 78
Joined: Thu Jan 29, 2004 7:00 pm
Location: UK

[BETA] UOT (Users Online Today)

Post by rhs98 » Thu Jan 06, 2005 5:07 pm

The latest updated and compacted / fixed version of my mod.

What it does:
Shows who's been online today - i.e. this calendar day. Mouse over the name in the list to see when they were last on.

Download here

Demo here


example images:

from admin view - note Si is marked as hidden...
Image

from user view - note the mouse is missing from the screenshot, it is hovering over christopher
Image


This mod is much improved from the last version.

An "innovative" new feature - the logo will turn red when you have an out of date version, and stay normal colour otherwise. Cool huh?


I'll try and update this post and check it often. Please leave any comments or bugs on my blog entry for this.
Last edited by rhs98 on Fri Jan 07, 2005 4:56 pm, edited 3 times in total.

RamEEz
Registered User
Posts: 321
Joined: Fri Jun 11, 2004 12:55 am

Post by RamEEz » Fri Jan 07, 2005 12:57 am

well i installed the mod but smething wrong here plz help



i used a mod before like this one that mod was bad in sense as it doesnt show the users online THIS CALENDER DAY.

is there a way this mod can also show the no. of users online in TEXT? liek 20 online today? and then their names? and ur mod shows the hidden users as well in the list how can i disable that?
Last edited by RamEEz on Fri Jan 07, 2005 3:32 pm, edited 1 time in total.

Shof515
Registered User
Posts: 1169
Joined: Wed Mar 19, 2003 4:36 am

Post by Shof515 » Fri Jan 07, 2005 2:06 am

Whos missing up my sig?

rhs98
Registered User
Posts: 78
Joined: Thu Jan 29, 2004 7:00 pm
Location: UK

Post by rhs98 » Fri Jan 07, 2005 9:05 am

Shof515 wrote: http://mods.db9.dk/viewforum.php?f=1
whats the differences?

It looks similar - but it doesn't tell you when they were last on (mouse over a name on my demo). Mine is also more compact.


[edit]

I've done some updates so it now shows user colours - i.e. mod / admin / etc
Last edited by rhs98 on Fri Jan 07, 2005 11:25 am, edited 1 time in total.

RamEEz
Registered User
Posts: 321
Joined: Fri Jun 11, 2004 12:55 am

Post by RamEEz » Fri Jan 07, 2005 10:01 am

well u didnt get my point

Users online today: James, Pussyism, Russ [This is how it is displayed @ ur forum]

: blah blah , blah blah [ this is how it displays at my forum :S]

Users online today: <- this text is missing

rhs98
Registered User
Posts: 78
Joined: Thu Jan 29, 2004 7:00 pm
Location: UK

Post by rhs98 » Fri Jan 07, 2005 10:52 am

Ah, the problem is in the language file.

Sorry my fault!



edit your language file (language/lang_english/lang_main.php) replacing the two lines that were inserted (the last ones unless you've added more mods) with:

Code: Select all

$lang['UOT_title'] = 'Users online today';
$lang['UOT_none'] = 'None';
Download file has been updated.

RamEEz
Registered User
Posts: 321
Joined: Fri Jun 11, 2004 12:55 am

Post by RamEEz » Fri Jan 07, 2005 11:21 am

are u updating my request in the next version :oops: :oops: ? is it possible to get the no. of user online today in TEXT as well?

rhs98
Registered User
Posts: 78
Joined: Thu Jan 29, 2004 7:00 pm
Location: UK

Post by rhs98 » Fri Jan 07, 2005 11:24 am

I'm just combining them now - I like the idea of having both displayed! 8)

RamEEz
Registered User
Posts: 321
Joined: Fri Jun 11, 2004 12:55 am

Post by RamEEz » Fri Jan 07, 2005 11:39 am

you can check it here

http://www.mizraabianz.com/forum/

i dont like the mod installed right now at my forum i installed ur mod which is damn good but it had some features missing.

if it is possible plz add this feature in the next update as well:

user online text: which is being added by u
hidden users: so that the hidden members dont display in the users online today list.

and this will become the perfect mod then :)

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy » Fri Jan 07, 2005 11:42 am

Hey great MOD, just installed there and it works perfectly.
Question though - on the index page my Admins are set as black for the color, so if I underline an admins name - the underline will also be black.

How did you manage to get the underline red? it's cool as *----* :D
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || BandCamp || phpBB Snippets ||
Formerly known as cherokee red

rhs98
Registered User
Posts: 78
Joined: Thu Jan 29, 2004 7:00 pm
Location: UK

Post by rhs98 » Fri Jan 07, 2005 1:31 pm

Right, updated version is out, fixed/updated the following:

Hidden users are now hidden, except if your a admin - then they are shown but with hidden appened to the end.

The colouring problem that was noticed in the above post is fixed.

The number of users online in that day is shown too.


Added an example of how it looks image to the first post:


example image - note this is an admin viewing it hidden users don't appear to normal users:
Image




Enjoy.




After lunch I'll do a bit of work on a control panel for it - I want to add the following features - tell me if you can think of any...

-Admin selectable sort order, by time last on, rank, name (currently by name)
-Show number of users on / off (makes it slightly slower showing how many users are on)


First priority (as I want it :twisted: :P ) is...
-RSS/XML feed for it (for me mainly but someone else might like it - I wanna show who's online/been online on my site). This will probably require cron scheduling

RamEEz
Registered User
Posts: 321
Joined: Fri Jun 11, 2004 12:55 am

Post by RamEEz » Fri Jan 07, 2005 2:49 pm

thanks alot the mod rocks now

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy » Fri Jan 07, 2005 2:55 pm

rhs98 wrote: Right, updated version is out, fixed/updated the following:
(. . / . .
The colouring problem that was noticed in the above post is fixed.
. . / . .)

Hi, just about to install you upgrade, but i'm wondering if it's possible to keep the strange underline color - i kinda line it, looks quite good on my forum.
What part of the index code would I need to modify to do this :)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || BandCamp || phpBB Snippets ||
Formerly known as cherokee red

RamEEz
Registered User
Posts: 321
Joined: Fri Jun 11, 2004 12:55 am

Post by RamEEz » Fri Jan 07, 2005 3:30 pm

one question from me as well.

is it possible to show the hidden username in ITALIC? instead of writing (hidden) coz this just takes place nothing else.

rhs98
Registered User
Posts: 78
Joined: Thu Jan 29, 2004 7:00 pm
Location: UK

Post by rhs98 » Fri Jan 07, 2005 3:38 pm

RamEEz wrote: one question from me as well.

is it possible to show the hidden in ITALIC? instead of writing (hidden) coz this just takes place nothing else.


Yep, though this won't be the default - I like " (hidden)".


Install the latest version, there are some new entries in the language file - uot_hidden_start and uot_hidden_end - one is prepended and the other postpended around the hidden users name. Default is to postpend " (hidden)", but now at least you can change it yourself :wink: (hint - just set _start = '<i>' and end = '</i>')

Post Reply

Return to “[2.0.x] MODs in Development”