[ABD]X users viewing forums

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Blitze
Registered User
Posts: 429
Joined: Tue Nov 29, 2005 5:06 pm

Re: [ALPHA]X users viewing forums

Post by Blitze »

I had actually done this on my experimental site but without acp settings but it includes sub forums. It only shows if you users viewing is greater than 0. If you want to see my code let me know.

cheers
Last edited by Blitze on Sun Jun 29, 2008 8:45 pm, edited 1 time in total.
My Extensions: phpBB SiteMaker
tommekemc
Registered User
Posts: 457
Joined: Wed May 14, 2008 6:36 pm
Location: Belgium
Contact:

Re: [ALPHA]X users viewing forums

Post by tommekemc »

well, it's just running an if to show/not show.
the hard part is controll it in ACP :)
I have 0 turned on too, because I don't have realy active members at the moment.
my sig
my projects

images deleted because of the 6kb (wtf?) rule...
sharathu7
Registered User
Posts: 173
Joined: Fri Jan 11, 2008 1:22 pm

Re: [ALPHA]X users viewing forums

Post by sharathu7 »

wow.. waiting for this... thanks.
satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm

Re: [ALPHA]X users viewing forums

Post by satandream »

Yes this is a mod i have waited for
tommekemc
Registered User
Posts: 457
Joined: Wed May 14, 2008 6:36 pm
Location: Belgium
Contact:

Re: [ALPHA]X users viewing forums

Post by tommekemc »

I got the ACP stuff working, now I'm working on showing the usernames browsing the forum.
my sig
my projects

images deleted because of the 6kb (wtf?) rule...
sharathu7
Registered User
Posts: 173
Joined: Fri Jan 11, 2008 1:22 pm

Re: [ALPHA]X users viewing forums

Post by sharathu7 »

great... waiting for more features... keep up the good work,...
User avatar
alecrust
Registered User
Posts: 348
Joined: Thu Mar 27, 2008 11:24 am
Location: London, UK
Contact:

Re: [ALPHA]X users viewing forums

Post by alecrust »

I assume in the ACP you will be able to choose whether to have numbers or usernames...
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: [ALPHA]X users viewing forums

Post by marian0810 »

Or both :D
You and me, time and space. You watch us run!
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [ALPHA]X users viewing forums

Post by darkonia »

can you build in the acp, that the colour is changeble in which the number of users is shown
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
tommekemc
Registered User
Posts: 457
Joined: Wed May 14, 2008 6:36 pm
Location: Belgium
Contact:

Re: [ALPHA]X users viewing forums

Post by tommekemc »

marian0810 wrote:Or both :D
indeed, you have these 3 options ;)
darkonia wrote:can you build in the acp, that the colour is changeble in which the number of users is shown
shouldn't be too hard :)
sharathu7 wrote:great... waiting for more features... keep up the good work,...
suggest features ;)
my sig
my projects

images deleted because of the 6kb (wtf?) rule...
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [ALPHA]X users viewing forums

Post by darkonia »

tommekemc wrote:
darkonia wrote:can you build in the acp, that the colour is changeble in which the number of users is shown
shouldn't be too hard :)
you can take the colour part from the group settings in the acp
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
tommekemc
Registered User
Posts: 457
Joined: Wed May 14, 2008 6:36 pm
Location: Belgium
Contact:

Re: [BETA]X users viewing forums

Post by tommekemc »

beta is here, report any errors!!!
my sig
my projects

images deleted because of the 6kb (wtf?) rule...
User avatar
Stitch625
Registered User
Posts: 683
Joined: Wed Jun 20, 2007 3:38 pm
Location: Michigan
Contact:

Re: [BETA]X users viewing forums

Post by Stitch625 »

Great Mod however, wouldn't this mod create load on the db on a busy board? If I am not mistaken it would need a query for every forum plus it would need a query for each member that is viewing each forum. So in other words if you have 20 forums with 5 users in each forum, your board would have to run an extra 100 queries? Is this correct?
wiseman1161980
Registered User
Posts: 111
Joined: Wed Oct 04, 2006 5:58 am
Location: Arkansas, USA
Name: Jason
Contact:

Re: [BETA]X users viewing forums

Post by wiseman1161980 »

Seems to work fine, but a small error in sql

Code: Select all

INSERT INTO `phpbb_config` (`config_name` ,`config_value` ,`is_dynamic` )VALUES ('x_users_show', '1', '0');
INSERT INTO `phpbb_config` (`config_name` ,`config_value` ,`is_dynamic` ) VALUES ('x_users_number', 0', '0');

Should be

Code: Select all

INSERT INTO `phpbb_config` (`config_name` ,`config_value` ,`is_dynamic` )VALUES ('x_users_show', '1', '0');
INSERT INTO `phpbb_config` (`config_name` ,`config_value` ,`is_dynamic` ) VALUES ('x_users_number', '0', '0');

Keep up the good work!
tommekemc
Registered User
Posts: 457
Joined: Wed May 14, 2008 6:36 pm
Location: Belgium
Contact:

Re: [BETA]X users viewing forums

Post by tommekemc »

Stitch625 wrote:Great Mod however, wouldn't this mod create load on the db on a busy board? If I am not mistaken it would need a query for every forum plus it would need a query for each member that is viewing each forum. So in other words if you have 20 forums with 5 users in each forum, your board would have to run an extra 100 queries? Is this correct?
I only run 1 sql.
it checks for all users online (with your config time), then it loads the username and user color of every user.
then, for every forum it checks for people online (in allready fetched material).
wiseman1161980 wrote:Seems to work fine, but a small error in sql

Code: Select all

INSERT INTO `phpbb_config` (`config_name` ,`config_value` ,`is_dynamic` )VALUES ('x_users_show', '1', '0');
INSERT INTO `phpbb_config` (`config_name` ,`config_value` ,`is_dynamic` ) VALUES ('x_users_number', 0', '0');

Should be

Code: Select all

INSERT INTO `phpbb_config` (`config_name` ,`config_value` ,`is_dynamic` )VALUES ('x_users_show', '1', '0');
INSERT INTO `phpbb_config` (`config_name` ,`config_value` ,`is_dynamic` ) VALUES ('x_users_number', '0', '0');

Keep up the good work!
thanx for the heads up, mate!
don't know how I made that mistake, it was copy-paste from phpMyAdmin XD
fixed it btw ;)
my sig
my projects

images deleted because of the 6kb (wtf?) rule...
Locked

Return to “[3.0.x] Abandoned MODs”