The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Pick Em Picks - NFL Details »» | |||||||||||||||||||||||||||||||
Like this mod? Click install and nominate for motm=====>>>
This mod will add a NFL Football Pick Em to your Vbulletin I did not write the code for the Pick Em, but have been granted permission to re-distribute it and share it. Please be respectful of the author and leave the copyright in place, however you can remove the Paypal donate Step 1: Open config.php located in the includes folder of phppickem.1.0.8 and enter database details. Step 2: Upload all of the files located in phppickem.1.0.8 and pickempicks.php to your root on your server (do not put these in the same folder). Step 3: Import the the XML product. admincp--->plugins and products--->manage products--->add/import product Step 4: Run the install script. www.yoursite.com/phppickem/install *Follow the on-screen directions. Don't forget to delete file afterwards* Point your browser to www.yoursite.com/pickempicks.php Don't forget to make a link to your new page! Initial Log in for Admin is: Username: Admin Password: admin123 Be sure to change that to a password you can remember To update to the 2012 season. Download Nfl_2012_Schedule (attached) and log into your database via phpmyadmin. Upload the file to your database. This will update your schedule for the upcoming 2012 season. ENJOY! This project IS modifiable, so if someone want to take on the task of modifying it to conform more to Vbulletin, by all means be my guest. As it is right now, users will have to create another log in. As far as I know this should work with all Vbulletin 4 versions, but I have no way of testing that. Change Log: Updated version 1.1 Now includes product xml. No need for a template change. Download Now
Show Your Support
|
Comments |
#62
|
|||
|
|||
What target URL is used in the vBulletin Navigation Manager?
pickempicks.php? |
#63
|
|||
|
|||
I'm still open to suggestions but this did not work for me.
So, at least for now, uninstalled |
#65
|
|||
|
|||
how come only 8 installs for this plugin so far ? Should be a lot more i'd figure...maybe the word just isn't out yet ?
I was just looking exactly just for this just now , as the other Tournament / Ladder / League plugin seems like too much...for a simple pick em plugin. any security issues arised yet? It isn't typical plugin procedure to do the whole database login / password thingee . not quite understanding why this url needs to be in config.php - $siteUrl = 'http://localhost/personal/phppickem.com/application/ ? and when installed, will my existing members still see the NFL login screen when logged in.. or do they have to signup remotely to another site to pick the pick'ems ? trying to figure out this plugin..before installing. thanks |
#66
|
||||
|
||||
Quote:
|
#67
|
|||
|
|||
ive gotten this all to work so far for the season only thing i noticed is that when you click on a team the scores of the previous games does not show in the right column
|
#68
|
|||
|
|||
TIme / Result column...nothing shows after the week is over...should say who won and stuff
|
Благодарность от: | ||
Krusty1231 |
#69
|
||||
|
||||
Looks like this isn't broken code so much as forgotten code - the case is there to do something if there's a score entered, but the "do something" part is just "print an empty table cell". So to fix this, you can replace line 77 in schedule.php (should be 77 - you're looking for the line after "//if score is entered, show result").
It was: Code:
echo ' <td></td>' . "\n"; Code:
echo ' <td>'.$visitorTeam->teamName.' '.$result['visitorScore'].', '.$homeTeam->teamName.' '.$result['homeScore'].'</td>' . "\n"; You could make the winners appear "bold" if you add this instead of the code above to the same location: Code:
if ((int)$result['homeScore'] > (int)$result['visitorScore']) { echo ' <td>'.$visitorTeam->teamName.' '.$result['visitorScore'].' ←<b>'.$homeTeam->teamName.' '.$result['homeScore'].'</b></td>' . "\n"; } if ((int)$result['visitorScore'] > (int)$result['homeScore']) { echo ' <td><b>'.$visitorTeam->teamName.' '.$result['visitorScore'].'</b> → '.$homeTeam->teamName.' '.$result['homeScore'].'</td>' . "\n";} I hope that helps you! |
Благодарность от: | ||
legiondadon |
#70
|
|||
|
|||
Hey man that did the trick Krusty i appreciate your time you took to answer my question worked very well
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|