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)

Preech 08-30-2012 01:23 AM

Is this still using a seperate login from vbulletin.

Krusty1231 08-30-2012 06:30 AM

Quote:

Originally Posted by Preech (Post 2361084)
Is this still using a seperate login from vbulletin.

Far as I know it is. I have it installed. No change.

Bob_R 09-03-2012 11:22 PM

Quote:

Originally Posted by Reycer (Post 2355315)
2012 Schedule was attached. It's included in the .xml file now. Here it is you can add it manually.

In other words, it's done automatically?

Also, the directions in the README of phppickem 1.0.8 mention to:


Create a MySQL database on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.

This does not need to be done, correct?

Bob_R 09-04-2012 01:46 AM

I created the database and when I run the install script it says it cannot connect to database.

FYI: I put the whole phppickem 1.0.8 folder in the root.

I had an index.php in there and didn't want to overwrite it
************************************************** **********************

EDIT:

I get this when trying to add the tab to my site

Error: The navigation element title is invalid.
************************************************** **************

EDIT:

Don't see anything in my AdminCP options

When I do this step ----> Point your browser to www.yoursite.com/pickempicks.php

I get a blank white screen

Krusty1231 09-04-2012 09:56 AM

Quote:

Originally Posted by Bob_R (Post 2362386)
In other words, it's done automatically?

Also, the directions in the README of phppickem 1.0.8 mention to:


Create a MySQL database on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.

This does not need to be done, correct?

Yes it does.

Quote:

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*
Create another database - and use that - not your forum database (this is the way I did it)

I see your white page on your site. There is nothing for the login to connect to.

Once you have created your database and have the relevant information, (Password - Username -path- etc) open the config file in the phppickem folder/includes/ and enter your details.

Upload the folder to where you have it now (I put mine outside my forum) and run the install.php by going to www.yoursite.com/phppickem/install

From there the installer should take over.

Bob_R 09-04-2012 01:17 PM

1 Attachment(s)
Getting closer. See screen shot. File not found?

Should the // be in the code below?

// chdir ('/xxxx/xxxx/xxxx/talkclassicrock.com/forums');
require_once('./global.php');

Bob_R 09-04-2012 04:20 PM

Does the site URL in config.php get the /forums?

Bob_R 09-04-2012 05:16 PM

Quote:

Originally Posted by Krusty1231 (Post 2362500)
Upload the folder to where you have it now (I put mine outside my forum) and run the install.php by going to www.yoursite.com/phppickem/install

From there the installer should take over.

The phppickem folder is in talkclassicrock.com
The pickempicks.php file is in talkclassicrock.com/forums

Once I get to Step 3 of the installer it asks to delete the install file.

I do that

then it says to hit complete

I do that and it takes me to a blank white screen. Is this what should happen?

Here's my pickempicks.php

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 ('/xxxx/xxxx/xxxx/talkclassicrock.com/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());

?>

Here is a line from the config.php file in the phppickem folder

PHP Code:

$siteUrl 'http://www.talkclassicrock.com/forums/'


EDIT:

FYI: Found this in an error file

[04-Sep-2012 13:11:42] PHP Fatal error: Call to undefined function dl() in /xxxx/xxxx/xxxx/talkclassicrock.com/phppickem/includes/classes/crypto.php on line 31
[04-Sep-2012 13:16:45] PHP Fatal error: Call to undefined function dl() in /xxxx/xxxx/xxxx/talkclassicrock.com/phppickem/includes/classes/crypto.php on line 31

Krusty1231 09-05-2012 09:39 AM

Try this:

In your phppickem. php you currently have this:

Code:

// chdir ('/xxxx/xxxx/xxxx/talkclassicrock.com/forums');
require_once('./global.php');

remove the talkclassicrock.com

Bob_R 09-05-2012 03:13 PM

Nope.

This is very frustrating. Especially with football beginning tonight.


All times are GMT. The time now is 09:14 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.01267 seconds
  • Memory Usage 1,755KB
  • 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)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)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