vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=177625)

w1z4rd 10-01-2008 07:40 AM

Quote:

Originally Posted by Bexter (Post 1634532)
The code to replace to use vb for comments though doesn't work for me :(.

In what way? I might be able to help. The directions can be a little misleading in that section because some themes use a separate comments template.

sendur 10-01-2008 05:17 PM

I've got it working, though we had to rewrite half the mod....

Bexter 10-01-2008 06:11 PM

Quote:

Originally Posted by trigatch4 (Post 1552165)

Basically all of the:
-------------------------------------------
$link = get_permalink(somethinghere, true);
-------------------------------------------

SHOULD NOT have that second parameter... "true" and should look like this:
-------------------------------------------
$link = get_permalink(somethinghere);
-------------------------------------------

Quote:

Originally Posted by guvner (Post 1590215)
I had exactly the same problem and was unable to solve it locally.

I came here a few minutes ago and saw your post, implemented your suggested fix to vbbridge.php and voila - problem gone.

Thanks very much for sharing your solution! :up:

Mike :)

I'm having the same problem also, is it the vbbridge.php file that needs editing?

Quote:

Originally Posted by echamberlain (Post 1589525)
Hi,
The wordpress blog posts appear in vBulletin, but the html markup appears in the vbulletin post text. Is there a way to convert the html to bbcode during post creation?

Quote:

Originally Posted by alan-kun (Post 1590113)
In my case, the HTML is automatically converted to bbcode, you can see some calls to the function convert_wysiwyg_html_to_bbcode inside vbridge.php so it's supposed to convert your posts wthout doing anything else. If that doesn't work, you can activate HTML on your forum and if you're concerned about security issues, use this hack, it's intended to allow HTML code to specific usergroups and works with VB 3.7.2

Hope that helps.

I'm having the same issue i'll try that out thanks :).

Quote:

Originally Posted by w1z4rd (Post 1634536)
In what way? I might be able to help. The directions can be a little misleading in that section because some themes use a separate comments template.

Well, I've just tried again, to replicate the error message, and works like a charm lol. Even had a separate comments template which I managed to figure out :).

Xtrato 10-01-2008 07:53 PM

hmm , well im not sure where i went wrong.. but whenever i Try to post in WP i get a BLANK page, any ideas?

The Error I get on my error log is :

PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required './includes/class_dm.php' (include_path='.:/usr/lib/php') in /home/MYUSER/public_html/xtrato.com/wp/wp-content/plugins/vbbridge.php on line 92

Thank you all.

MattFord 10-01-2008 08:35 PM

Quote:

Originally Posted by Jafo232 (Post 1511621)
You need to access WP by logging into your forum (with the vbbridge plugin activated) with a user that is an administrator (providing you mapped the administrator group properly). Make sure you check the box in VB to stay logged in. Then go to the wp-admin page directly. If it forwards you back to the forum then A. you did not map users correctly, or B. the username in VB is identical to one already created in WP, which will not map.

Otherwise, you have to edit the WP database and delete all options in the wp_options table who's option_name starts with vbb_.

This is a huge contradiction. The user must be an admin and be mapped, but can't exist in both systems. Can you explain how that would be set up? If I create an admin on wordpress named bill, I can't login by your instructions unless I also have a forum user named bill... but your instructions conclude by saying that will create a problem. We need a visual here...

Xtrato 10-02-2008 01:11 AM

I have tried so many path's relative ,absolute , etc , none seem to work what soever , should i use the one from my PHP Info scrip?

please advice as it seems no path i put in there works.

Regards

PS: when i tried the best possible solution the error went away, however When i tried to post , i get a blank page , The error i get on my log is the fallowing:

Code:

PHP Fatal error:  main() [<a href='function.require'>function.require</a>]: Failed opening required './includes/class_dm.php' (include_path='.:/usr/lib/php') in /home/(MYUSER)/public_html/xtrato.com/wp/wp-content/plugins/vbbridge.php on line 92

krike 10-02-2008 04:21 AM

Quote:

Originally Posted by Xtrato (Post 1634979)
hmm , well im not sure where i went wrong.. but whenever i Try to post in WP i get a BLANK page, any ideas?

The Error I get on my error log is :

PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required './includes/class_dm.php' (include_path='.:/usr/lib/php') in /home/MYUSER/public_html/xtrato.com/wp/wp-content/plugins/vbbridge.php on line 92

Thank you all.

you have to hardcode the path (it's in the first post), like jafo told me... cause I have the same problem (even after harcoding the path)

Xtrato 10-02-2008 12:31 PM

Quote:

Originally Posted by krike (Post 1635328)
you have to hardcode the path (it's in the first post), like jafo told me... cause I have the same problem (even after harcoding the path)

Course i did that already, i looked trough the topic , hardcoded all possible paths known to me , yet i still get a blank page, EVEN when the this hack is OFF , yet , "ACTIVATED" i get blank pages after creating new PAGES ,or POSTS , not sure what the problem might be , w.p 2.5 etc, with vb 3.7.X .

So i have tried what most people have suggested here . Hope anyone can help us here .

Thank you guys for your great efforts!

Xtrato 10-03-2008 10:42 PM

i continue to battle here , yet all have failed , if anyone has a good suggestion it would be greatly appreciated.

echamberlain 10-04-2008 12:15 AM

Quote:

Originally Posted by Xtrato (Post 1636815)
i continue to battle here , yet all have failed , if anyone has a good suggestion it would be greatly appreciated.

The directory for ./includes/class_dm.php is set by

PHP Code:

chdir($_SERVER['DOCUMENT_ROOT'] . get_option('vbb_VBRPATH')); 

If those variables don't match your vBulletin path, then class_dm.php won't be found.

What is the absolute path to vBulletin on your system?

Our wordpress is at: /home/wordpress/public_html
And vBulletin is at: /home/vbulletin/public_html

So we don't have $vwd set, since the variable is not used everywhere it should in vbridge.php. Instead, on the Vbridge settings page, we have our Forum Relative Path set to: ../../vbulletin/public_html/ so wordpress can find the vbulletin files which are located in a different document root.


All times are GMT. The time now is 11:57 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.01618 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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