![]() |
Quote:
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); |
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!) |
OK got around the moreflag problem.
I deleted all references of Code:
$moreflag = strpos($content,'<!--more-->'); Code:
$moreflag = 500 Now just the problem with Saving edited blog entries creatign duplicate threads in VB :( |
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'.
|
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 |
To point out my VB and WP databases are seperate but I used
Code:
$vb_dbprefix = 'st_vb.'; //vBulletin database prefix |
Quote:
|
Quote:
Quote:
|
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 |
<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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|