vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Major Additions - Pick Em Picks - NFL (https://vborg.vbsupport.ru/showthread.php?t=285673)

Bob_R 09-05-2012 07:45 PM

What target URL is used in the vBulletin Navigation Manager?

pickempicks.php?

Bob_R 09-07-2012 12:30 AM

I'm still open to suggestions but this did not work for me.

So, at least for now, uninstalled

Krusty1231 09-07-2012 02:07 AM

You have PM!

mikeinjersey 09-08-2012 01:21 AM

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

CAG CheechDogg 09-08-2012 05:50 AM

Quote:

Originally Posted by mikeinjersey (Post 2363560)
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

Anyone who wants to take part in the pickems has to create a new account but the script is hosted on your site not another one.

legiondadon 10-03-2012 07:16 PM

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

legiondadon 10-07-2012 10:37 PM

TIme / Result column...nothing shows after the week is over...should say who won and stuff

Krusty1231 10-08-2012 10:42 AM

1 Attachment(s)
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";
Replace it with:

Code:

echo ' <td>'.$visitorTeam->teamName.' '.$result['visitorScore'].', '.$homeTeam->teamName.' '.$result['homeScore'].'</td>' . "\n";
Here is how it should look in the first screenshot:

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'].' &larr;<b>'.$homeTeam->teamName.' '.$result['homeScore'].'</b></td>' . "\n"; } if ((int)$result['visitorScore'] > (int)$result['homeScore']) { echo ' <td><b>'.$visitorTeam->teamName.' '.$result['visitorScore'].'</b> &rarr; '.$homeTeam->teamName.' '.$result['homeScore'].'</td>' . "\n";}
And the second screenshot shows you the result.

I hope that helps you!

legiondadon 10-12-2012 09:32 AM

Hey man that did the trick Krusty i appreciate your time you took to answer my question :) worked very well

Krusty1231 07-08-2013 10:24 AM

1 Attachment(s)
Official Game day is 59 days away I figured I would throw up the schedule for this years games if anyone wants it.

Just import the new schedule via phpadmin.


All times are GMT. The time now is 09:47 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01224 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete