vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=134521)

tpearl5 08-05-2007 05:59 PM

I'm getting this error on the post-new page:

Warning: require_once(/includes/functions_misc.php) [function.require-once]: failed to open stream: No such file or directory in /home/site/public_html/blog/wp-content/plugins/vbbridge.php on line 466

Fatal error: require_once() [function.require]: Failed opening required '/includes/functions_misc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/blog/wp-content/plugins/vbbridge.php on line 466

I would imagine that has something to do with the Forum Relative Path. My forums are in the main directory. I've tried several different things, including nothing at all.. What am I doing wrong?

Jafo232 08-05-2007 06:47 PM

Quote:

Originally Posted by tpearl5 (Post 1310552)

I would imagine that has something to do with the Forum Relative Path. My forums are in the main directory. I've tried several different things, including nothing at all.. What am I doing wrong?

Look at the third thing in the Limitations section of the main post in this thread.

tpearl5 08-06-2007 03:39 AM

Quote:

Originally Posted by Jafo232 (Post 1310576)
Look at the third thing in the Limitations section of the main post in this thread.

Ah, I didn't even see that.

I tried it, and now it seems like the posts are posting to the forum, but still showing the error.

Jafo232 08-06-2007 04:38 AM

Quote:

Originally Posted by tpearl5 (Post 1310851)
Ah, I didn't even see that.

I tried it, and now it seems like the posts are posting to the forum, but still showing the error.

Where you see:

$vwd = getcwd();

Do as per the instructions in the limitations section (add the path):

$vwd = getcwd('/some/path/to/vb');

jsalvit 08-06-2007 04:28 PM

The images that are included in a comment, like smilies, images/comment_arr.gif and the images/buttons/viewpost.gif are not displaying. It is because they are referencing the images relatively. Is there a way to set the references to be absolute?

Jafo232 08-06-2007 04:31 PM

Sure, you could.. In the template look for something along the lines of:

Code:

<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comment_arr.gif" alt="" />
Just use the absolute path there..

jsalvit 08-06-2007 05:54 PM

Quote:

Originally Posted by Jafo232 (Post 1311259)
Sure, you could.. In the template look for something along the lines of:

Code:

<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comment_arr.gif" alt="" />
Just use the absolute path there..


That works, but only for the comment_arr.gif. There are other images included in this line of code
Code:

<?php echo $vbridge[vb_parser]->do_parse($reply->pagetext, false, true); ?>
whose image references are relative. Is there a way to set those images?

Jafo232 08-06-2007 05:57 PM

That is just the page text, not an image.

jsalvit 08-06-2007 06:03 PM

Take a look at this post on jeff's recipes. Look at it in IE so you can see the images not being displayed.

http://www.jeffsrecipes.com/2007/06/22/recipes/general-cooking/yes-i-will-be-canning-this-year/


The last comment has 2 missing images: 1 for the comment_arr.gif and another for the smiley. It is the smiley that I would like to show.

Jafo232 08-06-2007 06:15 PM

Probably won't work because the way Vbulletin is coded to show the relative path. You can turn smileys off by changing the last argument to false:

do_parse($reply->pagetext, false, false)


All times are GMT. The time now is 09:28 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.01783 seconds
  • Memory Usage 1,744KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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