The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Ultimate Forum Stats Integration for Non-VB Page Details »» | |||||||||||||||||||||||||||
Ultimate Forum Stats Integration for Non-VB Page
Developer Last Online: Feb 2020
This Hack was a port over from my vb2.x script that pulled information from teh forum to a seperate script which you then could break apart and include into your standard website via PHP includes or SSI.
This version is about the same but it now works with VB3.00 Gold Features for Logged in Members: *Users Avatar *Default Avatar For Members Without a Set Avatar *Number of Registered Members *Number of Threads *Number of Posts *How Many Posts since last visit *How Many New PM's *How Many PM's in your Inbox *Latest Registered User *Member with the Most Posts *Member with the Most Threads Features for Guests: *Welcome Text *VB3 Gold Login Box with option to Remember. *Newest Member *Member with the most Posts *Member with the most Threads All that is needed to do is download the attached Zip File. Then open the boardstat.php file in any Text Editor. Follow the Commented Portions that have been outlined in there. You will need to change all the PATHS and URLS in that file to match YOUR server. It might take some tweaking on your part but it works just fine as I have tested it with several other websites. When You are Done Editing it, just upload it to your forums directory and call it to your main website using php includes, ssi or iframes. IF YOUR FORUMS AND SITE ARE ON DIFFERENT SERVERS THEN YOU HAVE TO USE AN IFRAME TO CALL THE FILE OVER. ANYTHING ELSE COULD YIELD HEADER ERRORS. ------------------------------------ Please Remember. Follow the in-file instructions and edit all the URLS and PATHS. I can't stress this enough. I just know someone will pop on and say "Why does my links point to http://www.yourdomain.com/forums..... This is a warning lol ------------------------------------ My Next Few Posts Will include Some Images of How the HTML is Built Inside the File. Show Your Support
|
Comments |
#52
|
|||
|
|||
Installed and works perfectly...
For those that use html pages with ssi... simply include using: Code:
<!--#include virtual="forum/boardstat.php" --> Great hack, just what i was looking for! Live on www.majorfm.com/main.shtml |
#53
|
|||
|
|||
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. |
#54
|
|||
|
|||
tiny problem...
Quote:
Quote:
...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: |
#55
|
|||
|
|||
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. |
#56
|
|||
|
|||
I figured out a workaround. It doesn't give all the board stats, but it's suitable for now.
|
#57
|
|||
|
|||
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 ?
|
#58
|
|||
|
|||
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:
|
#59
|
|||
|
|||
Quote:
|
#60
|
|||
|
|||
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:
Thanks for the great script!! |
#61
|
|||
|
|||
sorry, not sure how to, how do i add the code to my php file to call it over?
cheers |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|