Author Topic: [MOD Req] Who's online more detailed-  (Read 97703 times)

0 Members and 1 Guest are viewing this topic.

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD Req] Who's online more detailed-
« Reply #15 on: February 12, 2006, 09:07:52 PM »
sure Stoletti, because you have to be registered to see the pics.
Use username "test" and pw "test" to view it



Alright  8) let's try

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD Req] Who's online more detailed-
« Reply #16 on: February 12, 2006, 09:10:06 PM »
actually i've the same in some test-gallery , and the problem still in make show 3 or 4 users by row , and not 1 by row  8)

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD Req] Who's online more detailed-
« Reply #17 on: February 12, 2006, 09:11:59 PM »
just one is better, imagine if you have 50 users online it will be hard to have an overview... one per row is ok, but i need the extrafields, proportional image etc.... oracle lease help ;)

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD Req] Who's online more detailed-
« Reply #18 on: February 12, 2006, 09:15:24 PM »
just one is better, imagine if you have 50 users online it will be hard to have an overview... one per row is ok, but i need the extrafields, proportional image etc.... oracle lease help ;)


having 50 rows , its better ?

In my opinion if we can use half of rows , ill be more easy, and saving more space on site design , but thats my opinion  8)

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD Req] Who's online more detailed-
« Reply #19 on: February 12, 2006, 09:19:25 PM »
sure, iam just trieng to figure out how to add more fields to show, for example user_gender

so, Oracle made this changes:

first register the field:
Code: [Select]
$userpic_img = ($config['userpic'] && @file_exists(ROOT_PATH."data/userpic/".$row['userpic']) && $user_info['user_level'] >= USER) ? "<img src=\"".ROOT_PATH."data/userpic/".$row['userpic']."\" width=\"100".$userpic_width."\" height=\"100".$userpic_height."\">" : "";
then activate(?) it:
Code: [Select]
$whos_online_userpic = str_replace("{userpic_img}", "", $userpic_img);
and finally put it in the right place:
Code: [Select]
$user_online_list .= "<a href=\"".$site_sess->url($user_profile_link)."\"><center>".$whos_online_userpic."<br />".$username."</a>".$invisibleuser."</center>".REPLACE_EMPTY. REPLACE_EMPTY;
So, now i have to find out how to "register" the same way user_gender, user_location and user_birthday :) ...

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD Req] Who's online more detailed-
« Reply #20 on: February 12, 2006, 09:28:09 PM »
well but we can make that work using another style  :wink:

like this screenshot below



 :mrgreen:

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD Req] Who's online more detailed-
« Reply #21 on: February 12, 2006, 09:31:51 PM »
Quote

just one is better, imagine if you have 50 users online it will be hard to have an overview... one per row is ok, but i need the extrafields, proportional image etc....


That is exacly my point of vue. 50 users would be still considered a small mount of users in the USERS_TABLE. Althought, consider if users has hundreds of them to handle, this is where it will begin to be a little bit cranky unless the paging class would be involved (that would sure help but only temporary since users would still amend for more fields to be implemented).

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD Req] Who's online more detailed-
« Reply #22 on: February 12, 2006, 09:36:02 PM »
Oracle, can you please reply to my other (more relevant) posts before, iam really getting confused, i tried so many ways to get it done but without success.... You made the userpic appear, the other things will be more eeasy for you to integrate

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD Req] Who's online more detailed-
« Reply #23 on: February 12, 2006, 09:37:46 PM »
well but we can make that work using another style  :wink:

like this screenshot below



 :mrgreen:

The style is easy, if Oracle helps me with the fields i can make that style you posted - at least one thing i can help with ;)

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD Req] Who's online more detailed-
« Reply #24 on: February 12, 2006, 09:41:24 PM »
well but we can make that work using another style  :wink:

like this screenshot below



 :mrgreen:

The style is easy, if Oracle helps me with the fields i can make that style you posted - at least one thing i can help with ;)

Sounds Good  :mrgreen: , this its in my opinion a better style for this type of userslist (who's online) still 1 by row , but the we use better the space on site design, being your site design , very similar with mine too  8)

But i agree with TheOracle at long time , if site have hundred users, i think paging ill be necessary  8)

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD Req] Who's online more detailed-
« Reply #25 on: February 12, 2006, 09:45:58 PM »
no, paging would be NOT necessary, better would be a filter like

- show just females\males
- show members from 16-25 years (dropdown)
- show members from "city"(dropdown)

but thats in the future, and it isnt so important. That would be a whole new MOD.. whatever, we wait for Oracle ;)

PS: Give me a link to your site ;)

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD Req] Who's online more detailed-
« Reply #26 on: February 12, 2006, 09:46:49 PM »
no, paging would be NOT necessary, better would be a filter like

- show just females\males
- show members from 16-25 years (dropdown)
- show members from "city"(dropdown)

but thats in the future, and it isnt so important. That would be a whole new MOD.. whatever, we wait for Oracle ;)

PS: Give me a link to your site ;)

well thats a good alternative too  :mrgreen:

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD Req] Who's online more detailed-
« Reply #27 on: February 12, 2006, 09:54:20 PM »
Quote

no, paging would be NOT necessary


Quote

but thats in the future, and it isnt so important.


8O

In that case, there's no way I could get involved on this one. Sorry.

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD Req] Who's online more detailed-
« Reply #28 on: February 12, 2006, 09:59:49 PM »
Why? You dont want to post the codes we need, because it may slow down our servers? Ok, its on our own risk! I just dont want spending the whole night searching the correct line for a function, when there are users like you, who can write it down just in a minute because their better than me in PHP.


Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD Req] Who's online more detailed-
« Reply #29 on: February 12, 2006, 10:01:46 PM »
In my opinion both ideias are good , paging of filter (dropdown) ... but i think paging ill be more easy and faster !