Users Online Today Mod

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

Previous topic - Next topic

jaccione

try replacing the 'is_admin'  with 'is_member' and see if that works
www.math.net.au for all your math homework needs

ccbtimewiz

Your best bet would be to use:

if ((!$context['user']['is_guest']) && $context['user']['is_logged'])


allymcbeal

First I put the code in a wrong line, now I fix it and now it works!!!

Thank you!!!

EugeneLoza

Probably I'll post this translation for the second time, but here's Russian UTF-8 for the mod I've made recently. These should be copied to Modifications.russian-utf8.php.

Rhyme

How do I make this work on other skins?

ccbtimewiz

You'll be needing to manually edit your files in your theme.  :)

Rhyme

Quote from: CTwiz on July 07, 2008, 10:17:15 AM
You'll be needing to manually edit your files in your theme.  :)

I figured that, but I wanted to know what I would need to add.  Do I do this in the FTP and place the files into each theme, or is there CSS I can add to the style sheets?

ccbtimewiz

mm, you'll be needing to edit the files (via FTP) in:

/Sources

and

/Themes/*your_theme*/

Look in the install.xml to find the files that the modification itself edits.

Rhyme

Quote from: CTwiz on July 07, 2008, 12:07:02 PM
mm, you'll be needing to edit the files (via FTP) in:

/Sources

and

/Themes/*your_theme*/

Look in the install.xml to find the files that the modification itself edits.

Thanks, I'll check that out when I get home later.  I'm at work right now I don't have an FTP set up here.

clanny

how to put it so it shows all the user/guest or only user online in the past 24 hours
i added the mod in the forum btw, easyfreezone.com/forum

it shows


Users Logged In Today
  Total: 1 (Visible: 1, Hidden: 0)
Mike 

stfox100

Well, I went to install the new version , since it's now compatible with 1.1.5.
However, I get an error when I try to uninstall the old version:
5.     Execute Modification     ./Themes/default/languages/Modifications.english.php     Test failed
I installed the older version manualy. I also installed it to a custom theme, so maybe  the edits are missing in the default themes file. Should I proceed with the uninstall anyway? And them apply the new version? Or, should I wait for the manual edits files in the download section?

gtron

is there a way to let guests see the member names for users online today?

Johno69

there is a line in Boardindex.Template.php

if (!empty($context['users_online_today']) && !$context['user']['is_guest'])

I would guess it changing this somehow?

maybe to:

if (!empty($context['users_online_today'])

I'm just guessing, so "BACKUP" if you do try that.

DareDevil1990

#953
i am using Users Online Today Mod can it be edited some how to show the users active it past48 hours and not in the past 24 hours ???....and then change the colour of user who were active 24hours a ago to some else color so there could be a sepration between todays members and yesterday members....l.. i hope u got it .... :)

ranKoto

Quote from: DirtRider on June 23, 2008, 11:57:54 PM
Ok I tried the version 1.4.0 and it installed. I get the following stats from my board     

Most Online Today: 16. Most Online Ever: 16 (Yesterday at 09:02:45 PM)


hi DirtRider

can you tell me where did you get that stat ? is that from the mod ?

i actually want to have that "Most Online Ever" in this mod

im using SMF 1.1.4 and users online today mod ver. 1.4.0

DirtRider

Quote from: ranKoto on July 19, 2008, 11:13:49 AM
Quote from: DirtRider on June 23, 2008, 11:57:54 PM
Ok I tried the version 1.4.0 and it installed. I get the following stats from my board     

Most Online Today: 16. Most Online Ever: 16 (Yesterday at 09:02:45 PM)


hi DirtRider

can you tell me where did you get that stat ? is that from the mod ?

i actually want to have that "Most Online Ever" in this mod

im using SMF 1.1.4 and users online today mod ver. 1.4.0

No that is just the normal SMF stats at the bottom of the forum         
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

atomico

i isntalled this mod and all work fine now but..

the normal smf option: user online , don't work anymore.

I log with admin, after i log with a normal member, and i log again as admin.

well in user online today it show admin and member normally but in user online in the last 15min it show only my user and not the other.

why?
ty

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

I got almost everything right...

There is special box which is created at the base but the name displays somewhere else...

chk yout this image:-


Hmm.. So what maybe the problem..???

Please Help me out..

Thanks...

General_Naga

#958
Quote from: jaccione on July 01, 2008, 09:35:26 AM
Posted this earlier up, this will hide it to only admin, you can probably change the permisson to whatever level you want.
just wrap your block of code in this

if ($context['user']['is_admin'])
{

the code for the mod here
}

I've tried using this method and I have successfully hidden the information. It still however displays the block with just a single colon inside. How can I hide this block when I hide the information?

EDIT:

Solved it, I had forgotten to add the code to the theme files as well.  ;)

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

sorry for the question but is there anyone who would help me with the problem shown in the image ??? Please help me out.

Thanks.

Advertisement: