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)

Reycer 07-16-2012 10:00 PM

Pick Em Picks - NFL
 
1 Attachment(s)
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.

Reycer 07-17-2012 09:35 PM

1 Attachment(s)
Here's a Demo:

www.kcchieffans.com/pickempicks.php

Krusty1231 07-17-2012 11:15 PM

I have been using this for a few years. I'm going to add the "new template" as I link our pool through the peel slider mod.

I'll be back if I have any questions.

Nice up.

Krusty1231 07-18-2012 12:17 AM

1 Attachment(s)
Well it took some doing to use the PHP you provided, but I got it (As I already had this installed I had to change the file path in the template code.

I like it.

I think it could be better if we did not have to use separate logins....I had emailed the maker of the pool for a little info a year ago - never got a reply.

Your template mod is cleaner than the peel I was using (See screenshot) so I will go with it, but will have to figure out how to center it - it looks to lopsided on the left like that.

I do not know if I am on the right track or not here? I added a center tag to the iframe code in the template you provided. I also turned on the "scrolling" to yes.

Now it scrolls and is centered.

Reycer 07-18-2012 01:10 AM

Fixed the centering of the frame and turned scrolling to yes.

I agree, I wish I was an awesome coder and new how to integrate the log in so that it would work here.

Toorak Times 07-22-2012 03:27 PM

How could we get something like this for Australia's AFL Footy?

RSNF 07-24-2012 12:23 PM

Do they make anything similar to this only for major league baseball?

Hanany95 07-26-2012 03:05 AM

Anyway we can change this to NBA or is it just NFL?

Reycer 07-27-2012 02:03 AM

If you have a fair knowledge of coding, it is possible to change this to NBA or MLB.

LgsOfChampions 07-29-2012 05:45 PM

do the files get uploaded to the forum server (myname.com/forum)? or totally different (do i make new folder in my forum server)
?


All times are GMT. The time now is 07:38 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.01076 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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