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!! Details »» | |||||||||||||||||||||||||||
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 |
#42
|
||||
|
||||
I didn't find any restrictions to stay to 3 columns....I changed it easily to fit my site. I love it and can't wait for the extras!
|
#43
|
||||
|
||||
I didn't see this anywhere, but is there a way to have this hack ignore certain users? Say I didn't want the admin to show up as the top thread starter...
Thanks! |
#44
|
||||
|
||||
I am very new to this hacking thing, but I spent some time trying to do this myself, and I shocked myself! I added this to the boardstat.php hack so I could put it on a non-vb page. I hope I do not confuse anyone, but here is what I did and a screen shot. I am very pleased with the results.
in the boardstat.php file I added this to the end of the "member of the day stuff": if ($memberoftheday[userid]!=0) { $avatarurl2=getavatarurl($memberoftheday[userid]); if ($avatarurl2=='') { $avatarurl2='images/avatars/noavatar.gif' ; } $avatarimage2='<img src="http://www.cacfriends.com/shareacard/forums/upload/ '.$avatarurl2.'" border="0" height=38>'; } And at the bottom of the page just before the ?> I placed this (right HTML output): </td> <td width=40% align=right> <font size=1 face=verdana>Newest member <a href=\"http://www.cacfriends.com/shareacard/forums/upload /member.php?s=&action=getinfo&userid=$newuserid\">$ newusername</a><br> <font size=1 face=verdana>Member of the day is: <font color=yellow><b>$memberoftheday[username]</font></b><br> <font size=2 face=verdana><b><a href=\"http://www.cacfriends.com/shareacard/forums/upload /member.php?s=&action=getinfo&userid=$memberoftheda y[userid]\">$avatarimage2</b></a><br></td></table>"; WITH THE BLUE ITEMS NEEDING TO BE CHANGED TO YOUR SITE SPECS Everything is working just fine, here is a link to the testpage I have it on: My test page and a screen shot too. I hope I didn't screw anyting else up, I guess time will tell. This is more fun then I thought |
#45
|
|||
|
|||
I see some big problems with this, like the lack of any real instructions. I fiddled with this for about an hour, and said screw it. I really don't need it. I just wanted to show the pm box on my index page.
I can get the file to work if I install it to my /forum/ root dir, but outside of that no. Not even when I adjust the global require tag Second, I wouldn't want to include or iframe this, I would much rather have a template I could call up. Plus an actually written readme would have been helpful rather some chicken jibberish directions in your first thread which left me wondering. Its alright, but it don't work for me. Running vb 2.3.0 |
#46
|
|||
|
|||
notice the VB version. !-2.2.6-!
Also there doesnt have to be any directions.. all you do is upload and go. Modifying the ECHO's is just like the modifying of a template. This is just for those users who dont want to mess with there VB files and want a easy and quick way of getting stats to there front page. I dont use 2.3.0 simply for the fact my board is too hacked. There are threads that say this hack doesnt work for 2.2.8 or even 2.2.9, much less 2.3.0. I am working on a version for 2.3.0 so flipping out on a version thats is much older than your current board version wont help you. I suggest waiting.. or downloading a hack that will add dozens of queries to your pages. |
#47
|
|||
|
|||
Btw: nicely dont suzzanev. I would have never guessed that and avatar next to the other persons name would be so neat looking. Ill put it in the next version i am working on for 2.3.0. I like it alot.
|
#48
|
|||
|
|||
Ok my site is in folders:
root/sslight/index.php and my forums are: root/shine_forums/index.php so this wont work, how can i get it to get the info from there? I moved so its like this site: root forums: forums/global.php still nothin I just get white. what should I do, heres what i did I uploaded the install file you attached but unzipped and renamed forumstats.php . Then on my site i put : <?include ("forumstats.php")?> I got nothing. |
#49
|
|||
|
|||
Quote:
|
#50
|
|||
|
|||
The boardstat.php file Gets placed into your Forums Directory.
If your forums are a subdomain... or on a different server.. it wont work. The directory paths dont stay the same across subdomains or servers. It wont work if you REQUIRE them with PHP. You need to use an IFRAME to get the information to your main page. Example: forums.yoursite.com = must use Iframe www.yoursite.com/forums = you can REQUIRE www.notyoursite.com/forums = you need to use a Iframe but still place the boardstat.php into that forum directory. Does this help you guys out? Link me to the boardstat.php file on your servers..if not. Ill take a look. Be sure to not change any paths as its set the way it HAS to be set. |
#51
|
|||
|
|||
Very nice hack, works great. For those that have their forum as subdomain thereis no need in iframes really and you can have it in your php page with other script. Blank pages etc are because of global.php, as someone pointed out. The file gets included into main index page before execution and therefore can't find includes from admin folder. You can easily fix this. Open your global.php file, at the top add variable with absolute path to your forums folder, for example:
$ahome = '/usr/www/website.com/forums'; then find and replace: require('.admin/config.php'); with require($ahome.'.admin/config.php'); $dbclassname="./admin/db_dbservertype.php"; with $dbclassname=$ahome."./admin/db_dbservertype.php"; require('.admin/functions.php'); with require($ahome.'.admin/functions.php'); require('.admin/sessions.php'); with require($ahome.'.admin/sessions.php'); works flowlessly and you can have your boardstat.php anywhere you want, tested on 2.30, but version doesn't really metter. In boardstat.php change your require("forums/global.php"); to whatever path of your global.php is, for most people it will be the same, for those with subdomains might differ, but shouldn't be a problem. You can't require script from different server, but I guess you could work out a solution without iframes. Just an example, on index.php request, you could call up a script, simmilar to boardstat.php from a different server, which will return boardstat values, and you just put them in, very easy. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|