Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Pick Em Picks - NFL Details »»
Pick Em Picks - NFL
Version: 1.1, by Reycer Reycer is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Category: Major Additions - Version: 4.2.0 Rating:
Released: 07-16-2012 Last Update: 08-03-2012 Installs: 13
DB Changes Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

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

File Type: zip phppickem.1.0.8.zip (1.14 MB, 92 views)
File Type: php pickempicks.php (723 Bytes, 87 views)
File Type: xml product-pickem_picks.xml (39.5 KB, 49 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-30-2012, 10:16 PM
LgsOfChampions's Avatar
LgsOfChampions LgsOfChampions is offline
 
Join Date: Feb 2011
Location: Leagues Of Champions
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did what u said still doing same
Reply With Quote
  #23  
Old 07-31-2012, 12:19 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
// chdir ('http://www.leaguesofchampions.com/pickem/pickempicks.php');
I think this is wrong.

For $hits and giggles upload this forumpath.php file to the same place your pickempicks.php is.

then run it.

type in your address bar....where you placed it.

Example:

www.leaguesofchampions.com/forum/forumpath.php

The forum path it gives you should be entered into the quoted chdir above.

Try it.
Attached Files
File Type: php forumpath.php (372 Bytes, 10 views)
Reply With Quote
  #24  
Old 08-01-2012, 04:39 AM
legion! legion! is offline
 
Join Date: Oct 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres the error im getting after install

The requested URL //pickem/index.php was not found on this server.
Reply With Quote
  #25  
Old 08-01-2012, 05:15 AM
legion! legion! is offline
 
Join Date: Oct 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

silly silly me...i got it workin now
Reply With Quote
  #26  
Old 08-02-2012, 07:30 PM
ar-K-ic ar-K-ic is offline
 
Join Date: Jun 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this work with VB 3.8? And Collage football would rock!@
Reply With Quote
  #27  
Old 08-02-2012, 08:46 PM
Dez_U Dez_U is offline
 
Join Date: Nov 2001
Location: Fife, Scotland
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys, I am getting the same problem, when I try to access, it drops me back to the forum.

Template is

Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
  <head>
    <title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title>
    {vb:raw headinclude}
    {vb:raw headinclude_bottom}
  </head>
  <body>
    
    {vb:raw header}
    
    {vb:raw navbar}
    
    <div id="pagetitle">
      <h1>{vb:raw pagetitle}</h1>
    </div>
    
    <h2 class="blockhead">Pick Em Picks NFL Weekly Picks</h2>
    <div class="blockbody">
      <div class="blockrow">
      <p align="center"><iframe width="840" scrolling="yes" height="686" frameborder="0" style="border: 0px none transparent;" src="..//pickem/index.php"></iframe></p></div></div>
      </div>
    </div>
    
    {vb:raw footer}
  </body>
</html>
and pickempicks.php is

PHP Code:
<?php


error_reporting
(E_ALL & ~E_NOTICE);

define('THIS_SCRIPT''pickempicks');
define('CSRF_PROTECTION'true);


$phrasegroups = array();

$specialtemplates = array();

$globaltemplates = array('pickempicks',
);

$actiontemplates = array();

chdir ('/var/www/vhosts/clanram.com/httpdocs/forums');
require_once(
'./global.php');



$navbits construct_navbits(array('' => 'Pick Em Picks'));
$navbar render_navbar_template($navbits);


$pagetitle 'Pick Em Picks NFL Weekly Picks';


$templater vB_Template::create('pickempicks');
$templater->register_page_templates();
$templater->register('navbar'$navbar);
$templater->register('pagetitle'$pagetitle);
print_output($templater->render());

?>
Reply With Quote
  #28  
Old 08-02-2012, 08:47 PM
Dez_U Dez_U is offline
 
Join Date: Nov 2001
Location: Fife, Scotland
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh, and link is http://www.clanram.com/forums/pickempick.php

any help, taken with thanks
Reply With Quote
  #29  
Old 08-03-2012, 02:29 AM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dez_U View Post
oh, and link is http://www.clanram.com/forums/pickempick.php

any help, taken with thanks
Well for starters it should be http://www.clanram.com/forums/pickempicks.php

You forgot the "S" and I can point to it fine. However your missing index.php in the pickempicks folder


Code:
The requested URL /pickem/index.php was not found on this server.
That's what I'm seeing when I go to your page.
Reply With Quote
  #30  
Old 08-03-2012, 02:44 AM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ar-K-ic View Post
will this work with VB 3.8? And Collage football would rock!@
It can be used on whatever version, however to integrate into your vbulletin page follow the instructions here

It's not that hard to change the teams, helmets, divisions and so forth, I just opened the .sql file and edited the tables and the edited the corresponding .php files, did this for MLB, just working on that blasted schedule (which MLB is like 10 miles long. lol). But I was able to change this over to work with MLB.
Reply With Quote
  #31  
Old 08-03-2012, 02:45 AM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by legion! View Post
silly silly me...i got it workin now
GREAT! Don't forget to click installed
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07401 seconds
  • Memory Usage 2,350KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete