vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Ultimate Forum Stats Integration for Non-VB Page (https://vborg.vbsupport.ru/showthread.php?t=63223)

MajorFm.com 02-19-2005 05:37 PM

Installed and works perfectly...

For those that use html pages with ssi...

simply include using:

Code:

<!--#include virtual="forum/boardstat.php" -->
replacing the forum/ if needed.

Great hack, just what i was looking for!

Live on www.majorfm.com/main.shtml

BlackxRam 02-20-2005 12:22 AM

Glad you Enjoy it Major, this hack has been the same besides a minor update now and then. I am planning to rewrite it in the future so it could possibly share vbulletin templates or have more information in multiple areas of your site. basically, I was thinking of setting it up so people who want vbulletin stats like this don't need a vb portal system. With a portal system like the ones offered, your design styles are severly limited. :)

Glad you enjoy it and wait for the future update.

MajorFm.com 02-20-2005 02:48 AM

tiny problem...

Quote:

Threads: 3,441, Posts: 28,672, Members: 2,366, Registered Today: 3
Welcome to our newest member, Baby D
is the stats on the board but...
Quote:

Threads: 3554
Posts: 29414
Members: 2366
is the stats on the welcome panel... i assume it counts all the posts not after the ones been deleted...?

...and yes i love it, i have been looking for this for ages, i have tweaked the html a bit as you will see at: http://www.majorfm.com/main.shtml for guests and members... neatened it out a bit... felt it was a touch cluttered... :squareeyed:

eblivion 02-20-2005 08:06 PM

The stats works fine if I view the page, boardstats.php.

When I included into into another php page, it works fine if I'm logged in. However, if I'm not logged in I get the following error:

Unable to add cookies, header already sent.

eblivion 02-21-2005 12:52 PM

I figured out a workaround. It doesn't give all the board stats, but it's suitable for now.

BlackxRam 02-22-2005 01:12 PM

Not sure what you are referring to there. It pulls the same stats as if it were on your forums. Are you trying to display all posts counts ever? What would be the point of that ?

Indy 02-22-2005 01:40 PM

One small issue.

1. Login using this script.
2. Go to your forums. (I added a link to my forums in the script)
3. Logout at your forums.
4. Return to this script.
5. Page is cached, still shows you logged in even though cookies have been cleared etc. Hit reload/refresh and the correct page is displayed showing login boxes.

In the script code, I added the following at the beginning of the HTML code but the page still wants to cache. Is there a work around for this? I basically just dropped the php file in my forums dir and running it from there - not #included in HTML page.

Quote:

<HEAD>
<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">
<META HTTP-EQUIV=\"Expires\" CONTENT=\"-1\">
</HEAD>
Thanks!

MajorFm.com 02-22-2005 04:05 PM

Quote:

Originally Posted by BlackxRam
Not sure what you are referring to there. It pulls the same stats as if it were on your forums. Are you trying to display all posts counts ever? What would be the point of that ?

My point was, it does display all the posts... its meant to display the 2 figures are not the same... the board's standard vb stats has less posts...

Indy 02-22-2005 05:46 PM

A little success. Per an article at Microsoft, I added an additional <HEAD></HEAD> tag set after the </BODY> set. In both sets and put in:
Quote:

<META HTTP-EQUIV=\"Expires\" CONTENT=\"0\">
<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">
<META HTTP-EQUIV=\"Cache-Control\" CONTENT=\"no-cache\">
<META HTTP-EQUIV=\"Pragma-directive\" CONTENT=\"no-cache\">
<META HTTP-EQUIV=\"cache-directive\" CONTENT=\"no-cache\">
Works well with Firefox and Netscape, but no go with IE. I'll propbably head over to the HTML forum where it appears I probably should have been in the first place. Didn't mean to post in the wrong forum.

Thanks for the great script!!

axi 03-14-2005 03:26 AM

sorry, not sure how to, how do i add the code to my php file to call it over?

cheers


All times are GMT. The time now is 11:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01191 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete