Solved

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

Posted on 2009-04-01
5
1,348 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 250 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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 if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

734 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