Jump to content

Forums Count


darkrider366

Recommended Posts

Hey, i have installed phpbb forums, and i want to show how many users are online, and total members on my index page (not forums index)

when i include'forum/index.php'; and echo $total_members; i get errors about session starting.

All i want is to print the members, but iit wants me to start a session, and include other files like ./config and includes/.......

but i dont want it to load all that crap...

 

 

so can anyone make me a code that will get the information for me, without including the page. cheers.

Link to comment
https://forums.phpfreaks.com/topic/166442-forums-count/
Share on other sites

I'm pretty sure phpbb has a certain script file included in the install that acts as an interface for main site integration.  Read their documentation.

 

If it's as "good" as SMF's, good luck trying to integrate it with anything. These kind of things are typically written so you will have to build your site around them and not so you can use them as a library.

Link to comment
https://forums.phpfreaks.com/topic/166442-forums-count/#findComment-877898
Share on other sites

I don't know what all it offers or what it takes to use it. I vaguely remember the file being called ssi.php or something along those lines and you could include it and call certain functions in it to get random things like how many users are registered on the forum, etc...but the last time i looked at it was like 4 years ago so even if I was remembering correct, that was a long time ago.

Link to comment
https://forums.phpfreaks.com/topic/166442-forums-count/#findComment-878137
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.