How to change the Number of Guests?

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
Locked
looker1
Registered User
Posts: 86
Joined: Fri Dec 07, 2007 10:52 pm

How to change the Number of Guests?

Post by looker1 »

How would I change the number of guests on the board to say 35+who ever is on?

Just curiuous.
Unre4L
Registered User
Posts: 25
Joined: Sun Dec 03, 2006 5:09 pm

Re: How to change the Number of Guests?

Post by Unre4L »

:roll:

you mean...Fraud?
Signatures Suck
looker1
Registered User
Posts: 86
Joined: Fri Dec 07, 2007 10:52 pm

Re: How to change the Number of Guests?

Post by looker1 »

Sorry if that offends you. I know there is a way, just not sure how.
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: How to change the Number of Guests?

Post by Erik Frèrejean »

If you think that, that will make your board look better have a look at this topic. I't doesn't really do what you want, but with a sligh chage it will.
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
User avatar
dellsystem
Former Team Member
Posts: 3879
Joined: Sat Apr 09, 2005 8:54 pm
Location: Montreal
Name: Wendy
Contact:

Re: How to change the Number of Guests?

Post by dellsystem »

In includes/functions.php

Find

Code: Select all

	if ($config['load_online_guests'])
	{
		$online_users['guests_online'] = obtain_guest_count($forum_id);
	}
Replace with

Code: Select all

	if ($config['load_online_guests'])
	{
		$online_users['guests_online'] = obtain_guest_count($forum_id)+35;
	}
Moving to MOD requests.
Former moderator and website team member | My MODs, and more (GitHub)
looker1
Registered User
Posts: 86
Joined: Fri Dec 07, 2007 10:52 pm

Re: How to change the Number of Guests?

Post by looker1 »

TY- worked perfectly.
Locked

Return to “[3.0.x] MOD Requests”