Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

PHPBB3 Forum - Add users online stats and login to non-forum homepage.

Posted on 2009-04-01
5
Medium Priority
?
1,363 Views
Last Modified: 2013-11-11
I have successfully installed PHPBB3 as my sites forum. However I would like to cherry pick a few stats and place them on my main site homepage (users registered, users online, total threads, total posts etc) and also place a forum login on my main homepage.
0
Comment
Question by:SimonBrook
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
v2Media earned 1000 total points
ID: 24056651
Easily done. Define a db connection in DW to the phpbb3 database for your main site. Create a recordset for each of the stats and insert the data into your main site's web pages.

Do you have DW skills to do that or do you need instructions for creating the recordsets and displaying the data?
0
 
LVL 1

Author Comment

by:SimonBrook
ID: 24057956
I am quite new to web design. My HTML is pretty good and I'm learning PHP as I go. I've been using Expression for this site and manually adding/editing code. I've started to use mySQL for the first time, have a database setup for the PHPBB3 DB.

I could do with instructions on how implement this.
0
 
LVL 1

Author Comment

by:SimonBrook
ID: 24057969
I should note I do have DW installed and ready, should I need to use it over expression.

Thanks,
0
 
LVL 19

Expert Comment

by:v2Media
ID: 24065184
Then basically you need to read a few tutorials on using PHP to connect to a database, writing a query and getting a result, then displaying the result in a webpage. Teaching you the requisite knowledge and skills to do what you want is an unreasonable expectation.

If you want to learn PHP properly, start with a book that'll get you informed in a consistent manner. The PDF version of Kevin Yank's "Build Your Own Database Driven Website Using PHP & MySQL" is only $29.95. It's a keeper.

http://www.sitepoint.com/books/phpmysql1/

0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
Suggested Courses

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question