Author Topic: User Online in categories?  (Read 5860 times)

0 Members and 1 Guest are viewing this topic.

Offline Neo1

  • Full Member
  • ***
  • Posts: 202
    • View Profile
    • http://www.terradreams.de/
User Online in categories?
« on: March 19, 2003, 02:09:21 AM »
How can i show users online in the categories? Can someone help? Is there a mod? I allready searched in the forum...but nothing.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
User Online in categories?
« Reply #1 on: March 19, 2003, 02:30:10 AM »
do u mean something like "Users browsing this category:"?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Neo1

  • Full Member
  • ***
  • Posts: 202
    • View Profile
    • http://www.terradreams.de/
User Online in categories?
« Reply #2 on: March 19, 2003, 03:03:59 AM »
No....that would be also nice  :D  i just like to have the same table with the users online from home at the categories page.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
User Online in categories?
« Reply #3 on: March 19, 2003, 03:51:34 AM »
Add this to your categories.html template:
Code: [Select]
{whos_online}

Open categories.php and change this:
Code: [Select]
$templates_used = 'categories,category_bit,thumbnail_bit';
$main_template = 'categories';

define('GET_CACHES', 1);
define('ROOT_PATH', './');

To this:
Code: [Select]
$templates_used = 'categories,category_bit,thumbnail_bit,whos_online';
$main_template = 'categories';

define('GET_CACHES', 1);
define('ROOT_PATH', './');
define('GET_USER_ONLINE', 1);

Offline Neo1

  • Full Member
  • ***
  • Posts: 202
    • View Profile
    • http://www.terradreams.de/
User Online in categories?
« Reply #4 on: March 19, 2003, 04:08:08 AM »
Thanks a lot  :D

Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: User Online in categories?
« Reply #5 on: October 10, 2007, 08:43:36 PM »
do u mean something like "Users browsing this category:"?

I would like this, which will show next to the category name. 

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: User Online in categories?
« Reply #6 on: October 10, 2007, 08:53:29 PM »
I code this ... this is done (last month) ...

http://www.4homepages.de/forum/index.php?topic=18677.0
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?