Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.