The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
Ultimate Board Stats Integration into Users Non-VB page!!
Developer Last Online: Jan 1970 ![]() ![]()
This hack will add a ton of new features to your main website.
Version #2 features: *Users Avatar *Total Members *Total Posts *Total Threads *Member of the Day (please note that for this hack to work you MIGHT need to have it already installed on your VB. Some people needed it some didnt. If this feature is unimportant to you please delete the CODE located in the file. It is marked.) *Number of posts since last visit. *Mini Forum nav Bar for logged in users *PRIVATE MESSAGE INFORMATION including number of unread messages, new messages and total messages in your INBOX! *Top Threads Starter *Top Poster *Newest Member *Seperate displays for Logged in Users and guests (guests will see completely different information than Logged in users) *FAQ and Register links for Guests. *Login Code for Not logged in Guests or Users *A completely Template Free Welcome Panel and no hassle script. This is all done without ANY modifications or template changes. installation of this hack is SIMPLE. Just upload the boardstat.php file into your server directory. You might to change the Path to your GLOBAL directory if its not in your FORUMS folder. Currently the Add-on works as a 3 colomn table You can easily change that by opening the boardstat.php file and scrolling down to where it says Begin HTML OUTPUT. You can rearrange the html in any fashion you like. To get the information to your main website just REQUIRE or use an IFRAME to call the boardstat.php file into your main page. To make sure this installation is successful and works with no problems, you will need to install the hacks shown in this add-on just as a precaution. Some people are able to just upload the file and go while some need the hacks already installed. ** Support for this hack is VERY limited until the new year. Reason being that im too busy too keep up with this right now. Any problems seen in this hack, could be resolved by just commenting out or deleting the Member of the Day Feature. If you have this hack installed already then you should be fine. If you dont then it might or might not work. Also, hacks like these dont work well across seperate domains or subdomains. In this case before the URL to the boardstat.php file works. If the PHP include doesnt work an IFRAME always will work. ** See you guys' next year. Show Your Support
|
Comments |
#22
|
||||
|
||||
![]() Quote:
Nice hack, but unfortunatly I don't think I'm going to be able to use it. I've been using a slightly modified version of vBhome to include a bar down the left side of all my pages with user's info, online users, buddy lists, and etc. I use SSI to include the file and it works fine on all my HTML pages, but I can't get it to work on any of my other PHP scripts. I've tried this hack, webwelcome, coologin, and probably one or two more, yet none of them seem to work with another PHP script. I've tried using SSI somewhere in the script and the PHP include function, but had no luck with either. It will either display the info as if a user is not logged in and not let them log in from that page, or it will complain about header information already being sent out. If anyone has made this hack or a similar one work with another PHP script or knows how to I would be forever greatful and even give them my first born. ![]() |
#23
|
|||
|
|||
![]()
I had the same problem when trying to install it on a different site than my forums (but on the same server).
The problem, I think is that globals.php require's files that are in the admin directory. Globals.php refers to the admin directory as "./admin" so... the partial fix is to create a symbolic link in the directory you are installing the hack to the admin directory ln -s /full/path/to/admin admin Now, i have a header error though... trying to set cookies or something Warning: Cannot add header information - headers already sent by (output started at /home/chaosmin/public_html/portal/test2.php:15) in /home/forums/public_html/admin/functions.php on line 1573 Warning: Cannot add header information - headers already sent by (output started at /home/chaosmin/public_html/portal/test2.php:15) in /home/forums/public_html/admin/functions.php on line 1573 |
#24
|
||||
|
||||
![]()
That's pretty much the same problem I'm having whenever I try to use this script (or something similar) with another PHP script. I don't know that much about PHP, but I'm guessing you can't have 2 different scripts sending out headers.
|
#25
|
|||
|
|||
![]()
UPDATE OF ULIMATE STATS HACK! The Ultimate stats hack now features the total threads and posts since your last visit!
---------------- How's it going guys, i just decided to toss this in there cause i was bored. Hence its not a Large Update. ------ Coming in Version 3.0: Whos Online Total Members on a Day Alltime Most users ever online a day Alltime Users who have visited the site/board already today Send PM via Website Home Page PM notification on website Home Page And so much more. ---------- **Possible RPG modification integration** Display your board character/stats/money...etc. have Fun!.. and remember, always wear a condom... especially when hacking VB!! lol |
#26
|
|||
|
|||
![]()
got the hack working but noticed one problem with mine. the topthread starter user id is set to 1, the same as the top poster. it displays the right username but dont know why it assigns the userid of 1 to it!
any ideas? http://www.dvd-swaps.co.uk/dvd2001/d.../boardstat.php also, when i intergrate it with my homepage i get the following errors: Warning: Cannot add header information - headers already sent by (output started at .....etc etc how do i stop this from happening. |
#27
|
||||
|
||||
![]() Quote:
![]() |
#28
|
|||
|
|||
![]() Quote:
If you are installing this into VBHOME or VBINDEX like i see with your homepage it wont work. You cant call headers twice. You can use an iframe but thats about it for adding it already to another script. About the User ID i dont know. Have you tried installing the top poster and threads starter? Your server and board might require you to do so. Otherwise you can just remove the LINK by the persons name. If you would please, so i know you didnt change anything on accident PASTE teh top poster and top replier sections as well as the ECHO string in here so i can take a look at it, you might have changed the URL. If anything you can always remove the LINK to the persons name. |
#29
|
|||
|
|||
![]() Quote:
Garoboldy, either install the member of the day hack or just delete this part and remove it from the echo. This should help. You board seems to require the hack to be installed on the index iteself. Its not a big hack by no means. |
#30
|
|||
|
|||
![]() Quote:
I woiuld like to have the top thread starter displayed with a link if possible as it is a neat feature. Code:
// Top poster $topposters=$DB_site->query_first("SELECT username,posts,userid FROM user ORDER BY posts desc LIMIT 1"); // Top Threads starter $toptstarter=$DB_site->query_first("SELECT COUNT(*) AS count,postuserid,postusername FROM thread GROUP BY postuserid ORDER BY count DESC LIMIT 1"); <font size=1 face=verdana>The Current Top Poster is: <a href=http://www.dvd-swaps.co.uk/dvd2001/dvdforums/member.php?&action=getinfo&userid=$topposters[userid]><b>$topposters[username]</b></a></font>($topposters[posts])<br> <font size=1 face=verdana>The Current Top Thread Starter is: <font color=red><a href=http://www.dvd-swaps.co.uk/dvd2001/dvdforums/member.php?&action=getinfo&userid=$toptstarter[postuserid]><b>$toptstarter[postusername]</b></a></font>($toptstarter[count])</td></tr></table>"; |
#31
|
|||
|
|||
![]()
got it working on home page except for the topthreadstarter id thing. put all the code except for the echo stuff at the beginning of my index code before the <htML> tag and put the echo stuff where i wanted it to display on the page. works a treat
![]() http://www.dvd-swaps.co.uk |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|