News:

Wondering if this will always be free?  See why free is better.

Main Menu

Users Online Today Mod

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

Previous topic - Next topic

TGB

This is not a huge problem but im just wondering how to fix it.

I have successfully installed the mod onto my custom theme
the only problem is that it is using this border:

and i think it is supposed to be this border:

See here:


The default theme seems to be working fine:



I've tried several things and still can't manage to fix it.
www.dreamcasthaven.com <----- Running SMF 1.1.16 & heavily modified
www.psxhaven.com <----- Running SMF 1.1.16 & heavily modified
www.romhaven.info <----- Running SMF 1.1.16 & heavily modified
www.bthaven.com <----- Running TT 2.06

RoarinRow

I have multiple themes on my site and this is what I did to my BoardIndex.template.php file:

Find this:

// Users online today

   echo '
   <tr>
      <td class="titlebg" colspan="2">'

Change the "titlebg" to "catbg"

Be sure to backup your file.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

auroramae

#382
regarding showing guests-
Quote from: Carceri on June 19, 2006, 04:05:56 AM
You modify the source code :) Look in BoardIndex.template.php for $context['user']['is_guest']. It occurs twice in the file.

I have the same question but I am clueless as to how to change this to make the guests show as users in the list.  A member asked that we show them as we are a community site and we get many more guests than members on the boards.

I am hoping you can find the time to walk me through how I should change it?

I posted the question in the general coding section and I couldn't delete it...sorry for the redundant post.

BTW  I love this mod!
aurora
SMF 1.1 RC2

TGB

#383
Quote from: RoarinRow on June 21, 2006, 12:55:05 AM
I have multiple themes on my site and this is what I did to my BoardIndex.template.php file:

Find this:

// Users online today

   echo '
   <tr>
      <td class="titlebg" colspan="2">'

Change the "titlebg" to "catbg"

Be sure to backup your file.

Works perfectly thanks
www.dreamcasthaven.com <----- Running SMF 1.1.16 & heavily modified
www.psxhaven.com <----- Running SMF 1.1.16 & heavily modified
www.romhaven.info <----- Running SMF 1.1.16 & heavily modified
www.bthaven.com <----- Running TT 2.06

RoarinRow

Quote from: edsloter on June 21, 2006, 01:45:58 PM
Quote from: RoarinRow on June 21, 2006, 12:55:05 AM
I have multiple themes on my site and this is what I did to my BoardIndex.template.php file:

Find this:

// Users online today

   echo '
   <tr>
      <td class="titlebg" colspan="2">'

Change the "titlebg" to "catbg"

Be sure to backup your file.

Works perfectly thanks

Welcome, glad to help.  8)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Carceri

Quote from: auroramae on June 21, 2006, 08:38:05 AM
I have the same question but I am clueless as to how to change this to make the guests show as users in the list.

This is not what my previous post referred to. It was how to show the list of online users to guest visiting the forum, not to show the guests in the list. IMO showing guests in the list 1) doesn't make much sense, and 2) is actually impossible to do as discussed previously in this thread.

1) You will end up with a list with a lot of entries saying "Guest". That's hardly useful information :)

2) You cannot distinguish a guest from a previous guest that has visited the forum earlier that day.

auroramae

Sorry for mistaking one issue for another.

I realize that it is impossible to distinguish guests.
I did read the previous thread regarding the issues you cite.

Would it be possible to show the total number of guests?
Or is that shown somewhere else in the stats that I am not seeing?
Even if it was not accurate it would give a rough idea of how many people browsed the board that day.

aurora

Carceri

Quote from: auroramae on June 22, 2006, 11:01:52 AM
I realize that it is impossible to distinguish guests.
<snip>
Would it be possible to show the total number of guests?

I guess you answered your own question :)

One could do a rough estimate of the number of times a guest user visited the forum, or the number of different ip addresses used by guests, but as far as I know that information is not available in the database, so one would have to add it first.

auroramae

Thanks for taking the time to reply to my elementary quieries!

carola0102

I'm using chatbubbles theme.. how to make this mod visible after installing it? Should I edit only the BoardIndex.template.php? And what exactly should I edit? I read the guidelines on this forum. But still I couldnt make it :-[ Can anyone please help?

Thanks in advance,
Carola

DemonicInfluence

only edit boardindex.template.php

Fatih!

I want to list user online last 24 hour.
How can i do this?

Thanx
Tek sorunu; düşünebilmekti...

PrizeLive.com

#392
Installed successfully!! Thanks..

You can find it here: http://www.moneytalkpro.com/index.php if you want to see it :D.

Quote from: DeDu on June 28, 2006, 06:53:31 AM
I want to list user online last 24 hour.
How can i do this?

Thanx

Try this:

Admin >> Features and Options >> Change the "User online time threshold" to 1440 if you want to show how many have been online in last 24 hours.
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

PrizeLive.com

Once you install this, how can you disable it?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Gobo

just remove it from the board index template and it will be gone :D

Fatih!

Quote from: SurfExcelerator.com on June 28, 2006, 10:13:33 AM

Try this:

Admin >> Features and Options >> Change the "User online time threshold" to 1440 if you want to show how many have been online in last 24 hours.
Yes, i know it but i want to view last ten minute and 24 hour online list
Tek sorunu; düşünebilmekti...

carola0102

Quote from: DemonicInfluence on June 26, 2006, 07:02:19 PM
only edit boardindex.template.php

thank you so much, but what should I edit there?

PrizeLive.com

Quote from: akulion on June 28, 2006, 12:18:36 PM
just remove it from the board index template and it will be gone :D

Isn't there an admin function to disable it?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

L.G.S

Admin disable would be a nice feature in the next version, if there is one
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


carola0102

Quote from: carola0102 on June 25, 2006, 06:50:11 AM
I'm using chatbubbles theme.. how to make this mod visible after installing it? Should I edit only the BoardIndex.template.php? And what exactly should I edit? I read the guidelines on this forum. But still I couldnt make it :-[ Can anyone please help?

Thanks in advance,
Carola

anyone?

Advertisement: