total accounts in the main page

It's not difficult to install myLounge Redirection, but sometimes it's quite tricky. Post your questions in here.

Moderator: Scooby

total accounts in the main page

Postby Guest » Fri Jan 02, 2004 12:54 am

What code I have to put in my home.php to display the number of accounts in my service?
Guest
 

Postby Guest » Fri Jan 02, 2004 8:07 pm

who knows?
Guest
 

Postby Scooby » Sat Jan 03, 2004 12:55 am

what so it shows a list of members like a top 10 ?

if so you will need to use a php include and load the top sites page into your home.php one
User avatar
Scooby
helpful guy
helpful guy
 
Posts: 252
Joined: Fri Jan 24, 2003 2:04 pm
Location: UK

Postby Guest » Sat Jan 03, 2004 2:19 pm

No, I want to show in my home.php the only one number (total accounts in my service). For example:

Since 1.01.2004 we have (the number) accounts in our service! And I dont know how display this number?
Guest
 

Postby Scooby » Sat Jan 03, 2004 4:01 pm

just use the stats.php page thats within mylounge and remove the parts you dont need like the menu etc as that page shows that information you need, just rename stats.html and stats.php to a file name you like

In total we have xxx members, who together have xxxxxx hits.

you could have it show on main page using an I frame or using a php include
User avatar
Scooby
helpful guy
helpful guy
 
Posts: 252
Joined: Fri Jan 24, 2003 2:04 pm
Location: UK

Postby Guest » Sat Jan 03, 2004 7:39 pm

Scooby wrote:just use the stats.php page thats within mylounge and remove the parts you dont need like the menu etc as that page shows that information you need, just rename stats.html and stats.php to a file name you like
thats good idea, but can You tell me something more about php include method? If no, I will do it by changing the stats.php and .html files.
Guest
 

Postby g0d.nl » Wed Jan 14, 2004 5:31 pm

Use the include like this :
Code: Select all
<?
include ('stats.php');
?>
g0d.nl
 


Return to Support

Who is online

Users browsing this forum: No registered users and 5 guests

cron