Thread: vBExternal v1.6
View Single Post
  #239  
Old 03-06-2006, 04:43 PM
TYorke TYorke is offline
 
Join Date: Dec 2001
Location: Toronto, ON
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tannerman
I was pointed to this hack after my longtime use of the PluhNews mod seemed to break down after the 3.5 upgrade. Attempting to get this to work now on my blog-like site, but having some problems. I have read all posts in this and related threads. I have a couple questions if anyone is willing to chime in to help a long-time vB user, but programming clueless-guy...

My forums are located at:
http://forums.tannerworld.com, a subdomain which I assume is the same as http://www.tannerworld.com/forums

Since 2002, I've run a blog using content pulled from a forum on my vB. That content was pulled by PluhNews onto this subdomain page on the same server:
http://steveandamysly.tannerworld.com/index.php

Unable to get any additional support for PluhNews with the 3.5 upgrade, I thought I might give vBExternal a try. Unfortunately, I've been unsuccessful at this time. I've been testing the new page at http://steveandamysly.tannerworld.com/index3.php

Per the instructions, I've added the PHP call to the top of my page. The format for that has been:

Code:
<?php
chdir('./home/tannerwo/public_html/forums');
require_once('./home/tannerwo/public_html/forums/vBExternal.php');
?>
Unfortunately, this does not seem to do anything. I get the following error message:
Even when using the more basic call (removing the full directory path, I still get problems). For example, this does not work:
Code:
<?php
chdir('./forums');
require_once('./vBExternal.php');
?>
As has been noted, I've modified the vBExternal.php file as noted here, adding the $config['MasterServer']['servername'], element. Still no dice. My end result goal is to once again get my blog up and running again, very similar in format to what GetGamer.com did as noted in his post (with post title, date, full post content, "Posted by" and "Comments" link). This is what I had going when using the PluhNews mod (which, for reference, sits broken here with a handy "Could not select database" error since the 3.5 upgrade).

The fact that I can't even get the initial call to vBExternal working correctly, even though I've tried a bunch of combinations, makes me think that I'm missing something rather simple -- perhaps tied to my use of subdomains for content.

Can anyone take a look at what I've got and provide a possible course of action? I'd sure appreciate the direction.

Thanks,
Steve
Try using this instead

Code:
<?php
chdir('/home/tannerwo/public_html/forums');
require_once('/home/tannerwo/public_html/forums/vBExternal.php');
?>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01388 seconds
  • Memory Usage 1,778KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete