No none activated user count and shown


Do you want this in next IcyPhoenix release?

Yes, it's usefull
You can, I don't care about it.
No, because I don't like it.

View Results
Subject: No none activated user count and shown
Hello @all,

if you want that users whitch are not activated shouldn't be shown in
memberlist and shouldn't be count.

OPEN includes/functions.php
FIND
Code: [Download] [Hide] [Select]
case 'newestuser':
$sql = "SELECT user_id, username
FROM " . USERS_TABLE . "
WHERE user_id <> " . ANONYMOUS . "
ORDER BY user_id DESC
LIMIT 1";
break;

REPLACE WITH
Code: [Download] [Hide] [Select]
case 'newestuser':
$sql = "SELECT user_id, username
FROM " . USERS_TABLE . "
WHERE user_id <> " . ANONYMOUS . " AND user_active = 1
ORDER BY user_id DESC
LIMIT 1";
break;



OPEN memberlist.php
FIND
Code: [Download] [Hide] [Select]
$sql = "SELECT count(*) AS total
FROM " . USERS_TABLE . " u
WHERE user_id <> " . ANONYMOUS . " AND user_active = 1
$where_sql
$alpha_where";

REPLACE WITH
Code: [Download] [Hide] [Select]
$sql = "SELECT count(*) AS total
FROM " . USERS_TABLE . " u
WHERE user_id <> " . ANONYMOUS . " AND user_active = 1
$where_sql
$alpha_where";


FIND
Code: [Download] [Hide] [Select]
$sql = "SELECT u.*, t.*
FROM " . USERS_TABLE . " u, " . THEMES_TABLE . " t
WHERE u.user_id <> " . ANONYMOUS . "
AND t.themes_id = u.user_style
$where_sql
$alpha_where
ORDER BY $order_by";

REPLACE WITH
Code: [Download] [Hide] [Select]
$sql = "SELECT u.*, t.*
FROM " . USERS_TABLE . " u, " . THEMES_TABLE . " t
WHERE u.user_id <> " . ANONYMOUS . " AND user_active = 1
AND t.themes_id = u.user_style
$where_sql
$alpha_where
ORDER BY $order_by";


@MG: Maybe it could be standard in IcyPhoenix.

Profile PM  
Subject: Re: No None Activated User Count And Shown
Hi! That rules! Great work TheSteffen! (Danke viele)

It's a little bit strange when you clean users and you see that number of users goes down :? .
Can it be a standard?

Subject: Re: No none activated user count and shown
Only mighty knows :LOL:

ps: great work steffen ;)

Subject: Re: No none activated user count and shown
It's not from me Zuker :(

It's from phpbb... but it was important for my site.

Great you like it :mricy:

Profile PM  
Subject: Re: No none activated user count and shown
TheSteffen wrote: [View Post]
It's not from me Zuker :(

It's from phpbb... but it was important for my site.

Great you like it :mricy:

He he he...

Steffen, create a poll... and when we will reach 25 votes casted we will take the decision that the major part of users did choose... :icy_lol_flag:

DemocrIcy Phoenix! :mri:

Subject: Re: No None Activated User Count And Shown
I have to say I like it...

I've been doing this manualy for the last two years, I think it would be a cool feature.

After all who needs non-Active Users :mricy:

Subject: Re: No none activated user count and shown
I have vote now and i voted for yes.

but if MG wants to add this, the admin should see ALL users. 8)

Subject: Re: No none activated user count and shown
BTW who have voted before TheSteffen edited his post, please vote again ;-)

Subject: Re: No None Activated User Count And Shown
voted again :mrorange:

Subject: Re: No none activated user count and shown
personally I don't care about the number of members :mrgreen:

Subject: Re: No None Activated User Count And Shown
Voted again :D .

Subject: Re: No none activated user count and shown
z3d0 wrote: [View Post]
personally I don't care about the number of members :mrgreen:


me too

Subject: Re: No none activated user count and shown
I like it, but it should be optional.
Like a ACP switch in user management: Show not activated users - yes / no

Subject: Re: No none activated user count and shown
Ok... added with a switch... :wink:

Subject: Re: No none activated user count and shown
Thanks, you are the greatest :mricy:

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1246s (PHP: 26% SQL: 74%)
SQL queries: 11 - Debug Off - GZIP Enabled