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)

LgsOfChampions 07-30-2012 10:16 PM

did what u said still doing same :(

Krusty1231 07-31-2012 12:19 AM

1 Attachment(s)
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.

legion! 08-01-2012 04:39 AM

heres the error im getting after install

The requested URL //pickem/index.php was not found on this server.

legion! 08-01-2012 05:15 AM

silly silly me...i got it workin now

ar-K-ic 08-02-2012 07:30 PM

will this work with VB 3.8? And Collage football would rock!@

Dez_U 08-02-2012 08:46 PM

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());

?>


Dez_U 08-02-2012 08:47 PM

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

any help, taken with thanks :)

Reycer 08-03-2012 02:29 AM

Quote:

Originally Posted by Dez_U (Post 2353808)
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.

Reycer 08-03-2012 02:44 AM

Quote:

Originally Posted by ar-K-ic (Post 2353783)
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.

Reycer 08-03-2012 02:45 AM

Quote:

Originally Posted by legion! (Post 2353232)
silly silly me...i got it workin now

GREAT! Don't forget to click installed ;)


All times are GMT. The time now is 05:34 PM.

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.01100 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)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