vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBulletin-WordPress Bridge (https://vborg.vbsupport.ru/showthread.php?t=94443)

chanzero 07-12-2006 10:41 PM

Quote:

Originally Posted by BLazeD1
Anyone that can help me with my error - https://vborg.vbsupport.ru/showpost....&postcount=147 ?

looks like you missed part of the installation, namely this:

Database Changes:

I have added a new column in WordPress? posts table to maintian the vBulletin thread id that will be automatically generated for the blog entry. Note that the table name prefix might be different from your WordPress table settings:
Code:

ALTER TABLE `wp_posts` ADD `vb_threadid` INT(10);

selbmag 07-24-2006 01:20 PM

I have this installed with WP 2 and VB 3.5.4

The only issue I have is saving an edited post creates another thread in VB.

Also I do not use the moreflag in any posts but want to shorten the quote on the forum how do I do this (a complete PHP noob!)

selbmag 07-24-2006 01:31 PM

OK got around the moreflag problem.

I deleted all references of

Code:

$moreflag = strpos($content,'<!--more-->');
I then added the following to the vb3_settings.php file

Code:

$moreflag = 500
Which means the first 500 characters are included.

Now just the problem with Saving edited blog entries creatign duplicate threads in VB :(

rsuplido 07-24-2006 01:36 PM

If it keeps creating a new thread, you must not have added the new column called 'vb_threadid' on the 'wp_posts' table. Check the first step of this hack called 'Database Changes'.

selbmag 07-24-2006 02:00 PM

vb_threadid exists - everythign else works just this is the only problem.

I am using the file posted by endquote

https://vborg.vbsupport.ru/showpost....&postcount=137

selbmag 07-24-2006 02:06 PM

To point out my VB and WP databases are seperate but I used

Code:

$vb_dbprefix = 'st_vb.'; //vBulletin database prefix
The DBname is st_vb with no prefix present. I gave the VB database user rights on the WP db and vice-versa.

chanzero 07-28-2006 08:26 PM

Quote:

Originally Posted by selbmag
vb_threadid exists - everythign else works just this is the only problem.

i have the same problem...

BLazeD1 07-28-2006 10:29 PM

Quote:

Originally Posted by chanzero
looks like you missed part of the installation, namely this:

Database Changes:

I have added a new column in WordPress? posts table to maintian the vBulletin thread id that will be automatically generated for the blog entry. Note that the table name prefix might be different from your WordPress table settings:
Code:

ALTER TABLE `wp_posts` ADD `vb_threadid` INT(10);

Thanks for the reply, but I get:
Quote:

SQL query:

ALTER TABLE `wp_posts` ADD `vb_threadid` INT( 10 ) ;



MySQL said:

#1060 - Duplicate column name 'vb_threadid'

chanzero 07-29-2006 01:47 AM

oh, actually i take it back -- mine is not creating a *new* thread every time, it adds a post to the existing thread!

@ blazeD1: oh ok, my bad

pixelhead 07-29-2006 08:58 PM

<font color="Red">FIXED NOW, THANKS.</font>

Hi all,

when writing a new post I got this error:

Warning: main(/home/whichpco/public_html/wp-includes/vb3-settings.php): failed to open stream: No such file or directory in /home/whichpco/public_html/wp-admin/post.php on line 3

Warning: main(): Failed opening '/home/whichpco/public_html/wp-includes/vb3-settings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/whichpco/public_html/wp-admin/post.php on line 3

Any ideas? Any help would be appreciated.

P.S. WP - 1.5.1.3, VB - 3.0.8

Thanks for your time.


All times are GMT. The time now is 09:47 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.01258 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)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