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)

JGM007 07-25-2007 06:49 PM

Hi Jafo,
I am a little unclear on the section of if you want to use VB for comments.
The first part was easy, but the second part where it says find this code or similar code, there is really nothing too similar.
So the closest I could guess on was to start right under where it says
<!-- You can start editing here. --> in comments.php
and replaced everything down to </ol>
However this did not work, it resulted in an error
Parse error: syntax error, unexpected T_ELSE in /home/madoshi2/public_html/crankyassgamer/wp-content/themes/default/comments.php on line 68

I tried replacing more but getting similar errors. I have reverted the comments.php back to its default for right now. But how much exactly are we supposed to replace, and did I even start replacing at the right spot?

The posting part is working fine.
Latest download of WP and VB installed.

Thank you!

Tsukasa-san 07-25-2007 07:10 PM

Aha. Just noticed it.

Code:

[25-Jul-2007 16:05:30] PHP Warning:  require_once(/includes/class_bbcode.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in c:\domains\caliburn-l2.com\webroot\news\wp-content\plugins\vbbridge.php on line 350
[25-Jul-2007 16:05:30] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/includes/class_bbcode.php' (include_path='.;c:\php\includes') in c:\domains\caliburn-l2.com\webroot\news\wp-content\plugins\vbbridge.php on line 350

Line 350:
Code:

require_once($vwd . '/includes/class_bbcode.php');
$vwd=
Code:

$vwd = getcwd();
I believe the "Forum URL" setting on the Vbridge settings defines that. It's set correctly though. Forum Relative path as well (/forums) I tried your absolute path fix, but no luck.


EDIT:

Well, resolved that. But now I get
Code:

Class 'vBulletinHook' not found in e:\domains\l2aethernia.com\wwwroot\forums\includes\class_bbcode.php on line 2397
And yes, the Plugin/Hook system is turned on.

Jafo232 07-25-2007 08:01 PM

You may want to put this near the top of the vbbridge.php file:

define('DISABLE_HOOKS', true);

See if that makes a difference for you.

Tsukasa-san 07-25-2007 08:28 PM

Tried that, same error. >_<

kholland 07-25-2007 09:13 PM

Jafo,

I named the VB user the same as the WP admin user login...exactly what i wasn't supposed to do. Is this easy to change in VB?? I couldn't find anything.

Thanks!

Jafo232 07-25-2007 10:00 PM

Quote:

Originally Posted by kholland (Post 1301627)
Jafo,

I named the VB user the same as the WP admin user login...exactly what i wasn't supposed to do. Is this easy to change in VB?? I couldn't find anything.

Thanks!

Create a new user in VB, and then use that one to bridge over.

kholland 07-25-2007 11:23 PM

Hi Jafo,

2 questions:

1. I know this has been asked before but thougt this might have changed...is there anything out there where I could import existing comments on WP into VB? I have over 12,000 on my blog and it would be nice to have that appear in VB.

2. Before I attempt to install and configure the plugin...in case there's bad errors will it break my blog? Anything I should watch out for or DO if that happens?

Thanks again...looks to be a great mod!

Kenneth

JGM007 07-26-2007 11:00 AM

Actually, anyone who as successfully installed this mod, would someone be willing to let me know what you need to replace in the last step of getting quotes to work?
Original question
Thank you! :-)

bmc 07-26-2007 04:16 PM

Hey Jafo,

First of all, this looks like a great mod and appreciate your time in creating it.

Now, onto my problem. I followed the directions step-by-step, and I got to the part where you're supposed to go to 'Users' -> 'vB Bridge Settings' inside of my Wordpress Dashboard. However, whenever I navigate to here, I get the following message:

Quote:

WordPress database error: [Table '333012_site.usergroup' doesn't exist]
SELECT * FROM usergroup
What am I doing wrong? How do I fix the problem? I don't know what I'm doing wrong!!

Any assistance would be greatly appreciated. I am running vB 3.6.8 and the latest stable version of Wordpress.

Thanks in advance for your time and assistance!

Jafo232 07-27-2007 03:02 PM

Quote:

Originally Posted by kholland (Post 1301737)
Hi Jafo,

2 questions:

1. I know this has been asked before but thougt this might have changed...is there anything out there where I could import existing comments on WP into VB? I have over 12,000 on my blog and it would be nice to have that appear in VB.

No there is not, however, you can do and if/else in the template to show the VB comments unless no thread was created else show the WP comments:

Code:

if ($vbridge[id] > 0) {

## Do VBRIDGE Code

}
##End Vbridge Replacement
else {
?>
<?php wp_link_pages(); ?>
<!--  <?php comments_popup_link(__('0 Comments'), __('1 Comments'), __('% Comments')); ?>
<?php
}
?>


Quote:

Originally Posted by kholland (Post 1301737)
2. Before I attempt to install and configure the plugin...in case there's bad errors will it break my blog? Anything I should watch out for or DO if that happens?

Thanks again...looks to be a great mod!

Kenneth

There should be nothing to break the blog. Just make a backup of your theme. If for some reason the plugin causes an error, you can delete the plugin, or rename it to turn it off.


All times are GMT. The time now is 04:17 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.01977 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)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