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)

Jafo232 09-20-2007 02:22 PM

It has not been tested on 2.3 as of yet. When it is released, I will tackle it then.

Shack Dougall 09-20-2007 04:22 PM

Quote:

Originally Posted by Jafo232 (Post 1343168)
It has not been tested on 2.3 as of yet. When it is released, I will tackle it then.

Fair enough! :)

I started digging a little bit and one of the problems is that the wp-admin scripts have been re-organized in WP2.3. In particular, wp-admin/admin-db.php no longer exists.

I commented out the require-once for it in vbbridge.php to see if I could determine which functions were being used. And that seemed to fix the plugin.

I'm going to run with it until I can see a problem, but I just thought I'd ask. To your knowledge, is admin-db.php being used in vbbridge.php and if so, for what. I just want to track it down if I can.

Anyway, for now, vbbridge appears to be working in WP2.3 with the one change I mentioned above.

--Shack

Transverse Styles 09-21-2007 02:33 PM

When I go to 'write', i get this error:

Quote:

Warning: vb_post_form(/includes/functions_misc.php): failed to open stream: No such file or directory in /home/###/public_html/blog/wp-content/plugins/vbbridge.php on line 466

Fatal error: vb_post_form(): Failed opening required '/includes/functions_misc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/###/public_html/blog/wp-content/plugins/vbbridge.php on line 466
Any help? Wordpress version 2.2.2

Thanks

verrin 09-22-2007 03:49 AM

Well I'm in with everyone I get the same 466 error. At least it will prevent me from going mad, that we're all on the same boat. All my plug-ins are the latest and up-to-date. Wordpress 2.2.3

Good luck Jafo fixing it, waiting anxiously.

kj_ugs 09-22-2007 12:46 PM

Quote:

Originally Posted by Shack Dougall (Post 1343234)
Fair enough! :)

I started digging a little bit and one of the problems is that the wp-admin scripts have been re-organized in WP2.3. In particular, wp-admin/admin-db.php no longer exists.

I commented out the require-once for it in vbbridge.php to see if I could determine which functions were being used. And that seemed to fix the plugin.

I'm going to run with it until I can see a problem, but I just thought I'd ask. To your knowledge, is admin-db.php being used in vbbridge.php and if so, for what. I just want to track it down if I can.

Anyway, for now, vbbridge appears to be working in WP2.3 with the one change I mentioned above.

--Shack

That's quite interesting. Thanks for posting that :) I'm about to start building a new site and was wondering about WP2.3 compatibility.

kj_ugs 09-22-2007 01:51 PM

The following appears at the bottom of my vbridge settings in my wordpress options tab.

\n"; } ### Present User Setup Form. function Vbridge_User_Setup() { global $wp_roles; $xx = 0; $wpdb =& $GLOBALS['wpdb']; $sql = "SELECT * FROM " . get_option('vbb_VBPRX') . "usergroup"; $results = $wpdb->get_results($sql); echo "
\n" . "
" . __('Vbridge User Settings', '') . "
\n"; ?>
Warning: Invalid argument supplied for foreach() in C:\wamp\www\xxx\blog\wp-content\plugins\vbbridge.php on line 287

Any idea what that could be?

I also get this... in my Users wordpress page when i go to VBridge User Settings

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Vbridge_User_Setup' was given in C:\wamp\www\BlacksMagicGroup\blog\wp-includes\plugin.php on line 160

I'm using the latest vBulletin 3.6.8 and Wordpress 2.2.3. both brand new clean installs.

DogManStar 09-22-2007 01:51 PM

Quote:

Originally Posted by Transverse Styles (Post 1343868)
When I go to 'write', i get this error:



Any help? Wordpress version 2.2.2

Thanks

We're waiting for an answer of Jafo232 :)
I think he's doing some tests on djr server who has same problem.

kj_ugs 09-22-2007 01:59 PM

Quote:

Originally Posted by kj_ugs (Post 1344591)
The following appears at the bottom of my vbridge settings in my wordpress options tab.

\n"; } ### Present User Setup Form. function Vbridge_User_Setup() { global $wp_roles; $xx = 0; $wpdb =& $GLOBALS['wpdb']; $sql = "SELECT * FROM " . get_option('vbb_VBPRX') . "usergroup"; $results = $wpdb->get_results($sql); echo "
\n" . "
" . __('Vbridge User Settings', '') . "
\n"; ?>
Warning: Invalid argument supplied for foreach() in C:\wamp\www\xxx\blog\wp-content\plugins\vbbridge.php on line 287

Any idea what that could be?

I also get this... in my Users wordpress page when i go to VBridge User Settings. This is the only thing i get apart from the wordpress admin menu at the top.

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Vbridge_User_Setup' was given in C:\wamp\www\BlacksMagicGroup\blog\wp-includes\plugin.php on line 160

And when i go to write a test post as per the instructions, below the input box i get these errors...

Warning: vb_post_form(/includes/functions_misc.php) [function.vb-post-form]: failed to open stream: No such file or directory in /home/company/domains/xxx.com/public_html/blog/wp-content/plugins/vbbridge.php on line 466

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


I'm using the latest vBulletin 3.6.8 and Wordpress 2.2.3. both brand new clean installs.



I should also say that the previous issue i have with fresh installs of Wordpress 2.2.1, 2.2.2 and 2.2.3 all with fresh installs of vBulletin 3.6.8.

My hosting environment is local and my wordpress and forum installs are in subdirectories in my localhost root folder...

http://localhost/site/forum
http://localhost/site/blog

Hope that is of some use in killing this bug.

ZippySLC 09-23-2007 11:18 AM

This would be perfect for me, except my Wordpress install is at www. and my forums are at forums. Other than that, I meet all the requirements.

I really only care about vB being used as the commenting engine and not sharing users. Is there a way to get this working in my situation?

jarod.tm 09-24-2007 06:18 PM

Hi guys,
i've solved my problem (post 2or3 pages ago) adding this code at line 43:

PHP Code:

$vwd="/var/www/virtual/mysite.com/public/forum/"

over

PHP Code:

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

Thanks to HostingVirtuale.com for their support.

But, i've another question:
when i post an article, i've a window with:
Quote:

Select Forum To Post To:
it's empty, dark.... how to use this?

Bye.


All times are GMT. The time now is 06:23 PM.

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.02382 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_php_printable
  • (6)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