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)

pericolosogr 09-15-2007 04:35 PM

Quote:

Originally Posted by Jafo232 (Post 1339311)
That is not correct. You can use it. The only time it would matter is if the blog was at blog.yourdomain.com and your forum was at forum.yourdomain.com for example.

so i can use this mode:D
thanks a lot:D

pericolosogr 09-15-2007 06:04 PM

which are exactly the index.php single.php page.php i have to edit so that i can use vb for comments?

very nice mod, thanx a lot

Jafo232 09-15-2007 06:34 PM

They are your wordpress template files, depending on your template.

V3RT1G0 09-16-2007 01:14 AM

is there a reason why posts dont get recorded when i post through wordpress? like the post is there but itll still say i have 0 posts...

Flight_Teacher 09-16-2007 06:27 PM

Thanks for the help. I had the URL screwed up. Fixed now. This plugin is working great.

Is there a way to show recent forum "posts" on the "blog" ? How would I call that up in Wordpress??

Thanks.

djr 09-16-2007 10:24 PM

I can't for the life of me getting this mod to work. I have installed everything correctly (I'm by no means a vB n00b, been dealing with vB since vB2.0), I've configured all the options and I changed all $vwd's and relative paths to absolute ones where necessary (my server has safe_mode and open_basedir to ON).

When I go to post_new in WP as instructed for the first test I get either errors or I see no forumlist. I see the error messages when I leave this line untouched:
Code:

require_once($vwd . '/includes/functions_misc.php');
The errors are:
Code:

Warning: vb_post_form(): open_basedir restriction in effect. File(/includes/functions_misc.php) is not within the allowed path(s): (/var/www/vhosts/mydomainname/httpdocs:/tmp) in /var/www/vhosts/mydomainname/httpdocs/wp-content/plugins/vbbridge.php on line 466
(and two other inclusion errors). It looks like the $vwd variable is empty at this point.

If I change the require_once function to use the full absolute file path, then the inclusion errors dissappear, but I see no forums in the forumlist. In this case the page source gives me this error:
Code:

Fatal error:  Call to undefined function:  fetch_foruminfo() in /var/www/vhosts/iphoneclub.nl/httpdocs/wp-content/plugins/vbbridge.php on line 478
This function is only defined in functions.php (and by quick glance not in functions_misc.php). When I try to include functions.php instead of functions_misc.php WP throws me an error "Cannot redeclare is_valid_email".

Setup:
  • vB 3.6.8 (stock install)
  • WordPress 2.2
  • Latest vBBridge plugin
  • WordPress and vB on same domain (/ and /forum)
  • Same database with different prefixes
Any help is HIGHLY appreciated, as I would love to get this to work and currently am holding off opening the new forums.

Thanks!

V3RT1G0 09-16-2007 10:29 PM

yea i cant get it to work either... i checked my vb this morning and the mod bearly started working after 24 hours... for some reason it took a long time to update post counts... but i still cant get it to work properly... first the posts arent counted as i said before but i dont get how to set the settings up... because your readme isnt very clear since it just says to put the ID for an unregistered user (am i supposed to make a user called guest or sumtin and supply that ID?) i just dont get it... a better readme would help a lot of people out... thanks. sorry if i didnt put it in words that make sense but its hard to explain lol

Jafo232 09-17-2007 02:46 AM

Quote:

Originally Posted by djr (Post 1340439)
This function is only defined in functions.php (and by quick glance not in functions_misc.php). When I try to include functions.php instead of functions_misc.php WP throws me an error "Cannot redeclare is_valid_email".

Not sure what you are editing here, but I think you need to use include_once, not include.

Jafo232 09-17-2007 02:49 AM

Quote:

Originally Posted by V3RT1G0 (Post 1340443)
yea i cant get it to work either... i checked my vb this morning and the mod bearly started working after 24 hours... for some reason it took a long time to update post counts... but i still cant get it to work properly... first the posts arent counted as i said before but i dont get how to set the settings up... because your readme isnt very clear since it just says to put the ID for an unregistered user (am i supposed to make a user called guest or sumtin and supply that ID?) i just dont get it... a better readme would help a lot of people out... thanks. sorry if i didnt put it in words that make sense but its hard to explain lol

It doesn't say put the ID of an unregistered user, that would make no sense. I think this illustrates that you are not reading the readme, you are quickly glancing it over. The readme states:

Quote:

VB User ID: This is the userid comment threads will be started with if the author is not registered with VB.
In other words, if a WORDPRESS user writes an article but is not registered with VB, enter an ID of someone who IS registered so VB knows who to post the article as.

djr 09-17-2007 03:01 AM

Quote:

Originally Posted by Jafo232 (Post 1340585)
Not sure what you are editing here, but I think you need to use include_once, not include.

Sorry, I meant require_once per the default vbbridge.php. It doesn't matter though .. if I leave the orginal line 466 intact (require_once .. functions_misc.php) I get the error as posted in my previous post and the forumlist is blank. I'd love to make this work, as this mod is exactly what I need.

I'm available thru MSN/Skype (chat) or whatever IM suits you if you'd like to research in detail.


All times are GMT. The time now is 04:11 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.02084 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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