Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 05 Nov 2009, 17:44
Pharkas Pharkas is offline
Join Date: Sep 2003
Post, threads + members in URL


I have a few vB boards.

I would like to make myself some sort of summary page to tabulate my members, posts & threads in one place.

My idea would be to create a special URL for each board using URL variables. I could then create my summary page which would list and data from all forums.

Ex :

How would I create this in PHP and what would the variable names be ? What would I have to include in by php page to have access to these variables ?

Thanks for the help, I hope I was clear enough...

Reply With Quote
Old 05 Nov 2009, 19:43
RenatoMN's Avatar
RenatoMN RenatoMN is offline
Join Date: Nov 2008

do you want to specify in the URL all data you want to be show in the statistics page?
Then how would the page be useful, if you need to know the values before open it?
Does not make sense for me...

If a function be wrote to read the data from you database,
there's no need to inform anything in the URL.
You open the page, and the data is show (the SQL queries run in "background").

If you want a single page to centralize the data from 2+ boards, then I see more sense:
You want a custom page that will inform the data based on what you inform in the URL.
However, still not the best way, unless it's for personal and not public visible.
The better is still read it direct from the database.

Let me know your real intentions, please.

Reply With Quote
Old 05 Nov 2009, 19:55
Pharkas Pharkas is offline
Join Date: Sep 2003
Thanks RenatoMN,

Let me clarify.

I run 4 boards.

I would lile each board to have a custom URL containing the data I listed.

EX :

On a separate page, I would then summarize the data for all of my boards

EX :
Members Posts etc..
My board 1 123 456
My board 2 789 111
My board 3 444 555

The data in my summary page would be populated from the data extracted from the URLs.

I come from an "ASP" background but don't know how to do this in PHP.

I hope this makes more sense now.
Reply With Quote
Old 06 Nov 2009, 02:50
RenatoMN's Avatar
RenatoMN RenatoMN is offline
Join Date: Nov 2008

the strange part for me is:

how to make a system "crawl" the data from ""?
the system can not guess the variable values, do you understand it?

1- you need a mystats.php in each forum with the data being show without need to specify the values in the URL (calling only myboard.php/mystats.php need to show all data you want).

2- then your "central summary" should read the page content of each mystats.php, using PHP cURL or xmlHttp request (ajax).

for 1: you may create a new .php (require admincp/global.php and includes/adminfunctions.php for using vB default mysql classes or just config.php + your own SQL query functions).

for 2: you may learn basic cURL use within 2-3 hours documentation reading & coding trials.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 04:23.

Layout Options | Width: Wide Color: