Skip to content

NikoRoberts/BuzzerBeaterStats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You will need to replace all the instances of
$mysqli = new mysqli('DATABASE SERVER','DATABASE USERNAME','DATABASE PASSWORD','DATABASE NAME');

With something like or whatever your setup ends up being.
$mysqli = new mysqli('127.0.0.1','bbstats_username','bbpassword22','bbstats_database');

There is the opportunity to refactor this a bit so there is less work involved that changing over 30 lines of code. But be aware that PHP variables are tricky if you don't understand them. Also the func_update.php page is run in a background "threaded" process that will not have any SESSION variables... so don't blame me if I didn't warn you.

You will also need to replace all instances of "API USERNAME" and "API KEY" with the appropriate values for whomever's team API key you choose. Unfortunately there isn't an Application API key because BuzzerBeater still hasn't made this possible.


If you are on linux and want to find text within a directory of files use (great way to find files to then do a find/replace)
grep -i -n 'TEXT GOES HERE' *

Or if you are looking for names of files in a directory use
find . | grep 'thing you are looking for'

If you want to make changes to the code, please fork and then make a pull request.

About

The code from BuzzerBeaterStats.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published