View Full Version : Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings
Jafo232
12-06-2007, 06:12 PM
All I do is view the page in my browser, view source code, and paste that into the header.php then start piecing it in. That's just me..
Keesa
12-07-2007, 12:41 AM
How does it work from a Wordpress blog post to vBulletin? Does it make each blog post into a forum? Or thread?
Sorry if this is a stupid quession
CyberRanger
12-07-2007, 01:28 AM
How does it work from a Wordpress blog post to vBulletin? Does it make each blog post into a forum? Or thread?
Sorry if this is a stupid quession
WP post into VB thread if you chose to have it do so.
AWJunkies
12-07-2007, 04:00 AM
Works very well and have done some extra customizing to fit my needs. Great mod thanks for your work.
SBlueman
12-07-2007, 04:56 AM
yeah it is called edit the templates! Create your own theme. I just did it and so can you. There is a file in theme called header edit away!
How do you get the navbar to work? My site has two navbars and a custom login section. I'd need to get that to work on the wordpress page.
l SKN l CHRIS
12-09-2007, 04:06 AM
Before I implement this AWESOME Bridge on my site I would like to know if this Hack will always be updated for future versions of vBulletin. I can't use it if someday it will be outdated and unsupported because I am planning for long term solutions.
kj_ugs
12-09-2007, 01:13 PM
Also do you anticipate any issues with vBulletin 3.7? It's a sweet hack.
Do you have to use the shared login functionality? I am only interested in shared posting / comments.
alexjc
12-09-2007, 08:22 PM
Hi,
Nice plugin. Got the latest version up and running quite quickly. (There's a little bug though; if you don't enable the plugin and try to save a post, then it doesn't seem to find the DIR variable when doing the require_once in VB.)
That aside, I have a couple of questions:
Does the user-bridging work with WP-Cache?
If I modify the comments loop, will it be backwards compatible with comments handled by WP?
Would it be possible to have a HTML form for posting inline rather than going to the VB page?
Thanks!
alexjc
Jafo232
12-10-2007, 02:00 AM
Before I implement this AWESOME Bridge on my site I would like to know if this Hack will always be updated for future versions of vBulletin. I can't use it if someday it will be outdated and unsupported because I am planning for long term solutions.
Well, I cannot promise anything. The work is done for free by myself and I also use the bridge on several sites. If you are leveraging a lot of money on your sites, you may want to set some aside in case you need a programmer to mod the hack for you if for whatever reason, I can not manage it from here.
Also do you anticipate any issues with vBulletin 3.7? It's a sweet hack.
Have no idea. I know nothing about the next version of VB..
Do you have to use the shared login functionality? I am only interested in shared posting / comments.
You do not HAVE to use it, no.
That aside, I have a couple of questions:
Does the user-bridging work with WP-Cache?
If I modify the comments loop, will it be backwards compatible with comments handled by WP?
Would it be possible to have a HTML form for posting inline rather than going to the VB page?
Thanks!
alexjc
In the order you asked:
Works fine with WP-Cache..
You can if you use the if/else method.
Probably not.
jcap1p
12-10-2007, 03:23 AM
great pluggin, exactly what I needed to do.
I've been following the instructions that I've read on this thread, but I'm still having issues that may be a simple fix, I'm just very tired and desperate to get this working.
I did follow all the corrections posted in the thread as far as hard coding my paths after retrieving my path by running the DirPath.php script.
I can longer access my WP dashboard without deactiving the vbbridge pluggin by renaming the file on the remote server.
any help would be greatly appreciated !
Thanks in advance
Jafo232
12-10-2007, 03:31 AM
Ok, well first, the directions you read for hardcoding your path may be old. This version was released about 10 days ago (from this post) so if the thread you read was older than that, it probably isn't correct anymore.
It sounds to me that your forum home page setting is wrong, and that you did not map users before you turned auto-integration on.
jcap1p
12-10-2007, 03:36 AM
oh wow you are quick, thanks for the fast response ! the login now remains as oyu go to different paages, the problem now is i cannt access to wp dashbord, before i made all the adjustments suggested in the previous posts, i would receive fatal errors that wouldnt allow me to write a post, now the posting to a thread on the forum works great, but i didnt do any mapping untill i activated the feature and noticed the additional tab in WP dashbords' user section.
jcap1p
12-10-2007, 03:40 AM
i suppose if you could tell me where this url comes from: http://www.raceforaseat.com/www.raceforaseat.com/forums
when i attempt to access www.raceforaseat.com/wp-admin or wp-login
i cud prob figure it out from there...?
im sorry i am exhausted ritenow
Jafo232
12-10-2007, 03:44 AM
I think that is where you entered the wrong thing for the forum URL.. If you disable the product (rename it if you have to) and login with your WP credentials, then enable it again (rename it back if you have to), turn integration off...
Go to your settings and make sure the setting for "Forum URL" is:
http://www.raceforaseat.com/forums
Map your users..
Then turn integration back on.
jcap1p
12-10-2007, 03:52 AM
just did all that step by step...i didn't have the 'http://" in the Forum Url which was the problem with accessing my WP dashbord..but im still having user issues...i made sure my users were mapped, as far as banned users i selected "do not map" then i went into VBbridg options and enabled auto intergrate...and the sessions are still not in tune..i can be logged in as admin thru WP and logged in as test in Vbulletin at the same time, also i cannot see vb users in WP dashbord and visaverca ..
is it OK that im using seperate databases? i tried to import one into the other but apparently my host limits sql query file sizes to 2 MB..
jcap1p
12-10-2007, 03:58 AM
OK i think i just lost that last post, but i did what you say step by step, my forum URL didnt have "http://" so that fixed the wp dashbord issue..but i still am having issues with the users
does it matter im using seperate Databases, i tried to merge them but my host limits sql queries to 2MB
jcap1p
12-10-2007, 04:07 AM
I havn't made any changes and the login sessions are being lost when you go to a different page or refresf the page..dont know what happened, im going to give up for tonite, but any help you can give me for tommorrow i would appreciate..you can access both systems (WP and VB) with the username 'test' and password 'password'
thanks in advance
Jafo232
12-10-2007, 05:06 AM
Hmm, not sure what you did here.. I set up a test user called test123. Did you map regular users? Have you made any cookie changes in VB?
AWJunkies
12-10-2007, 08:44 AM
I am noticing an issue. If you logout on vb it does not log out of wp. If you log out from wp it logs out of vb. I will test some more on this but noticed it the other day.
SBlueman
12-10-2007, 01:13 PM
yeah it is called edit the templates! Create your own theme. I just did it and so can you. There is a file in theme called header edit away!
How do you get the navbar to work? My site has two navbars and a custom login section. I'd need to get that to work on the wordpress page.
Just wondering if you knew how to incorporate the navbars there AWJunkies.....
jcap1p
12-10-2007, 01:21 PM
Ok I got it working now, everything is working flawlessly. its mapping users to WP as i log into VB then attempt to access the WP dashboard, which is fine! what i didnt know was you MUST be logged into VB to access any WP resources, so VB's membership systems is more dominate over WP's, ok so i'm thrilled thats working..
NOW if i can just get the script that either displays statistics of your log in(for those who are logged in) or a log in form (for those not logged in) on my WP home page, i'de be all done. I'm attempted to copy and paste the script i found in VB's index.php which checks to see if the user is logged in, but this didn't work. I imagine i could write my own script to accomplish what i want, but i would like to to match the login box/form on VB in the top right identical, this was it doesn't confuse users.
thanks for the help !
AWJunkies
12-10-2007, 07:41 PM
Just wondering if you knew how to incorporate the navbars there AWJunkies.....
YES! I do know how it is integrated perfect on my board along with coppermine and much more to come.
www.allwheeljunkies.com
www.allwheeljunkies.com/awnews/
www.allwheeljunkies.com/awphotos/
You can log into ANY of the three in the login area I created and it will log you into all three. You will see go play around.
There are more links in the header as you can see but these are the only ones integrated for now. ClipShare is next along with Geodesic solutions and much more :)
Amenadiel
12-10-2007, 10:53 PM
Just a quick remark. I had many problems getting this plugin to run, it kept giving me trash in the code. While examining the code, I found out the reason:
on lines 293 and 607 the php code is opened with <?, which I believe is a deprecated way which does no longer work in php 5.
When I replaced those with <?php everything ran just fine. This might be the reason for some users not getting it to work.
Jafo232
12-11-2007, 12:27 AM
Odd, I never do that either.. Well, I fixed it in the code.
Actually the method does work in php5 unless it is turned off, I believe.. Anyway, thanks for the heads up..
SBlueman
12-11-2007, 04:07 AM
YES! I do know how it is integrated perfect on my board along with coppermine and much more to come.
www.allwheeljunkies.com
www.allwheeljunkies.com/awnews/
www.allwheeljunkies.com/awphotos/
You can log into ANY of the three in the login area I created and it will log you into all three. You will see go play around.
There are more links in the header as you can see but these are the only ones integrated for now. ClipShare is next along with Geodesic solutions and much more :)
Oh, what I am asking is HOW did you pull that off, not IF you can pull it off.
testaj
12-11-2007, 07:14 PM
I am noticing an issue. If you logout on vb it does not log out of wp. If you log out from wp it logs out of vb. I will test some more on this but noticed it the other day.
I've just started messing with this mod, and it's my first mod to either vB or WP. I've got to say, I'm impressed.
I do appear to have this issue also. I'm also having a bit of a problem logging out from WP. Everytime I click one of the logout links in WP, I get a 404 error, and it looks like its trying to go to a site like http://mysite/blob/mysite/forums/login.php?do=logout&logouthash=
I thought it was odd, and I'm sure it's something in my settings, just wondered if anyone could point out some things I should check.
Thanks!
Jafo232
12-11-2007, 08:22 PM
Sounds like the Forum URL setting is wrong..
pericolosogr
12-11-2007, 10:36 PM
I have an issue guys...
everything is set up, wp plugin is working properly, i did map the users and have enabled auto integration!
I did post before and it did show up in my vb forum!
My issue now...i want every comment in vbulletin to show up in wordpress and every comment in wordpress to show up in vbulletin...to be synchronised if you catch me, is it possible?
testaj
12-11-2007, 11:24 PM
Sounds like the Forum URL setting is wrong..
That's what I was thinking. Is it supposed to have the full "http://" stuff in it. Right now I've got just "mysite/forums" in it, I'll try including the full URL (I'm an idiot, don't know why it just now struck me as a possibility) and see what happens. Thanks for the reply.
Jafo232
12-12-2007, 12:25 AM
My issue now...i want every comment in vbulletin to show up in wordpress and every comment in wordpress to show up in vbulletin...to be synchronised if you catch me, is it possible?
Well, if you follow the template edits, you can make the replies to the Vbulletin post, show up inline in WP.. You have to choose which comment method to use, VB or WP..
That's what I was thinking. Is it supposed to have the full "http://" stuff in it. Right now I've got just "mysite/forums" in it, I'll try including the full URL (I'm an idiot, don't know why it just now struck me as a possibility) and see what happens. Thanks for the reply.
Yes, URL's generally contain http:// in them. :)
pericolosogr
12-12-2007, 01:34 AM
Well, if you follow the template edits, you can make the replies to the Vbulletin post, show up inline in WP.. You have to choose which comment method to use, VB or WP..
Yes, URL's generally contain http:// in them. :)
Well i edited the index.php file
Here i attached both files...the edited one is the one i use...
i tried posting from vbulletin but the post didnt show up as comment in wp...
i tried making a comment in wp but it didnt show up as a post in vbulletin
Jafo232
12-12-2007, 03:46 AM
Not sure what you did, but you can see it working inline here:
http://www.xboxcircle.com/
Just click an article title that has more than 0 comments.
iansilv
12-12-2007, 09:28 PM
wordpress MU- any possibility of supporting this in the future?
Jafo232
12-12-2007, 11:47 PM
wordpress MU- any possibility of supporting this in the future?
No.
cooltechie
12-13-2007, 02:35 AM
I am unable to get back into wp-admin after saving my settings.
Here's the error message:
Fatal error: Cannot redeclare is_valid_email() in /home/public_html/forum/includes/functions.php on line 715
Jafo232
12-13-2007, 06:06 AM
Sounds like you have a current plugin in wp that is conflicting..
CaraEurope
12-13-2007, 12:13 PM
Hello,
I just want to add a conversation in the forum when a blog entry is published. I do not need all the user bridging stuff (and I need trackbacks!).
Any hint how to strip the bridge off to this?
Regards,
Dennis
hollosch
12-13-2007, 12:28 PM
Hello,
i want to use vB for comments.
I have following wordpress-theme and i can't find the code posted in the readme-file. No code like that in the theme-files...
IF YOU WANT TO USE VB For comments:
Find in any of the following templates: index.php, single.php, page.php.
<!-- start post loop -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
ADD the following code after it:
<?php
### Vbridge Call
$vbridge = Comment_Handler($post->ID);
###
?>
Find this code (or similar code indicating the comment section of your template):
<?php wp_link_pages(); ?>
<!-- <?php comments_popup_link(__('0 Comments'), __('1 Comments'), __('% Comments')); ?>
And replace with this:
<?php
#### Vbridge Replacement code for comments
if ($vbridge[id] > 0) {
?>
<div class="comments">
<?php
if(is_single()) {
if (is_array($vbridge[replies])) {
?>
<br /><br />
<h3 id="comments">Comments:</h3>
<ol class="commentlist">
<?php
foreach ($vbridge[replies] as $reply) {
?>
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
<?php echo $vbridge[vb_parser]->do_parse($reply[pagetext], false, true); ?>
<small class="commentmetadata">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comment_arr.gif" alt="" />
by <cite> <a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $reply[userid] ?>><?php echo $reply[username]; ?></a></cite>
</small><br />
</li>
<?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
}
}
?>
</ol>
<?php
}
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>>(<?php echo intval($vbridge[count]) ?>) comments</a> | <a href=<?php echo get_option('vbb_VBURL') ?>/newreply.php?do=newreply&noquote=1&t=<?php echo $vbridge[id] ?>>Add your comments</a>
</div>
<?php
}
##End Vbridge Replacement
?>
You can also now link authors usernames to their VB profile page. Wherever you see the code:
<?php the_author() ?>
You can replace that with something like:
<?php
if ($vbridge[id] > 0) {
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $vbridge[thread_starter] ?>><?php the_author() ?></a>
<?php
}
else {
the_author();
}
?>
The Theme i use: http://themes.blogpimp.de/index.php?wptheme=BlogPimp+WorldNews
I hope somebody can help me...
Jafo232
12-13-2007, 03:16 PM
Hello,
I just want to add a conversation in the forum when a blog entry is published. I do not need all the user bridging stuff (and I need trackbacks!).
Any hint how to strip the bridge off to this?
Regards,
Dennis
Yeah, don't turn auto-integration on.
cooltechie
12-13-2007, 10:27 PM
Sounds like you have a current plugin in wp that is conflicting..
I disabled all plugins, and it's working now. Thanks!
Since I am using vb as comments, there are posts that I would like to point to existing vb threads. Is that possible?
pericolosogr
12-14-2007, 12:20 PM
Can somebody make a more detailed guide on the template edits?
I really tried many things but cant get it to work...
hollosch
12-14-2007, 12:37 PM
Can somebody make a more detailed guide on the template edits?
I really tried many things but cant get it to work...
this would be very helpful !!!
AWJunkies
12-14-2007, 10:45 PM
There is an issue with sessions with this mod. Tried 3 browsers all doing same thing. When you log out of vbulletin 3.6.8 pac2 on the forum site then go to the news site you are still logged in! But if you log out on the news site it logs you out of both news and forum. Two people so far reported same issue on other sites. This is when both news and forums are on same server, same database, same domain.
AWJunkies
12-14-2007, 10:51 PM
Oh, what I am asking is HOW did you pull that off, not IF you can pull it off.
Just take your navbar or header template from vbulletin and throw it in header in the theme your using in news. Now it is not that easy. But play around with it you have to have knowledge on html and css to do this!!!!!
Jafo232
12-15-2007, 08:57 PM
Change your logout link in VB to the logout link in WP. Really no way around it..
AWJunkies
12-15-2007, 10:19 PM
Change your logout link in VB to the logout link in WP. Really no way around it..
HMM this will cause all sorts of complications!
I will look at the code and see what is up.
Njection
12-17-2007, 01:33 AM
I'm getting this error. The plugin seems to shut down by itself. What am I doing wrong?
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/*****/public_html/test/wp-content/plugins/vbbridge.php on line 29
testaj
12-17-2007, 10:37 PM
Anyone got a comment_arr.gif file they wouldn't mind giving up? I don't have one by default, and I'm pretty horrible in photoshop, so I'm using the wp-comments.png for now, and I'm not sure if I like it.
Has anyone tried the plugin with the vB 3.7.0 Beta 2?
Jafo232
12-18-2007, 03:59 AM
Have no tried it in the Beta.. I am going to assume it will not break much, but if there are conflicting function names, then it might not work. You will know if you get a "Already declared function" error.
WEBclay
12-18-2007, 09:23 AM
Anyone got a comment_arr.gif file they wouldn't mind giving up? I don't have one by default, and I'm pretty horrible in photoshop, so I'm using the wp-comments.png for now, and I'm not sure if I like it.
Get some nifty icons either from famfamfam.com or ndesign-studio.com
pspcrazy
12-18-2007, 10:21 PM
This does work slightly in v2.2.3 but for some odd reason when I edit older posts in it, blanks the forum end's thread name and first post of that thread's content. I have vbridge 3, and i downgraded to the many glitches v2.3.1 has on my site. IS there any way to fix it? Example:
for this naruto post:
http://www.animecrazy.net/2007/12/18/naruto-shippuden-episode-40-41/
http://www.animecrazy.net/forums/showthread.php?t=5309
The problem lies when I create a post. I have pm'd you my login info as well for the admin cp. any help will be greatly appreciated.
testaj
12-19-2007, 02:12 AM
Get some nifty icons either from famfamfam.com or ndesign-studio.com
Thanks for the helping an annoying newbie!!
pspcrazy
12-20-2007, 08:46 PM
Bro my server keeps crashing under stress from this program. IS there any performace applications i can add to it?
kj_ugs
12-20-2007, 11:30 PM
This is a fantastic plugin. I used it on a previous site and am just about to add it to another. I have one question for you. Are there any plans to port this over to version 3.7.0 of vBulletin when it goes gold? It's a brilliant asset and it's be great to have it when the new version of vBulletin is released.
Have a great new year.
Jafo232
12-21-2007, 01:04 AM
I do plan on porting this to 3.7.. From what I see, it shouldn't take much, if any work at all..
kj_ugs
12-21-2007, 11:03 AM
Sweet :) Thank you.
pspcrazy
12-22-2007, 12:27 AM
Hi jafo,
I love your program but I can not upgrade to 2.3 for many reasons. Can you release a 2.2 version or just upload your old one if it works? I'm sick of seeing no title and no description in every thread it makes. Thank you
Jafo232
12-23-2007, 01:46 AM
Hi jafo,
I love your program but I can not upgrade to 2.3 for many reasons. Can you release a 2.2 version or just upload your old one if it works? I'm sick of seeing no title and no description in every thread it makes. Thank you
Here is the last version (2.06)..
pspcrazy
12-23-2007, 03:08 AM
Thanks Jafo, i was going nuts lol. Also jafo any luck with getting the new one to work with wp 2.2? If not that's cool but i'm sure a lot of us would love it.
Jafo232
12-23-2007, 06:49 AM
Not really.. I am basically only going to develop for one version..
LBSources
12-23-2007, 12:29 PM
Hey Jafo .. Happy Holidays..
I'm currently running VBBridgeII on 2.3.1 and all is well with the exception that it doesnt post to the VBUsers I defined in the vbbridge settings. Any ideas?
I dont mind upgrading, but I dont want to lose my semi-working environment here. Aside from the upgrade docs, is there anything else which I need to be aware of?
Should the comment handling edits be modified? I know that there is a bit that needs modifying..
$reply->pagetext
It is now:
$reply[pagetext]
Can I just make those edits and leave the whole bit in place?
Anything else?
UPDATE:
So I took the leap ..
All I had to change from looking at both codes in diffmerge was
$reply->pagetext
It is now:
$reply[pagetext]
And
$reply userid ?>><?php echo $reply username
to
$reply[userid] ?>><?php echo $reply[username]
Jafo.. that seem right? Seems everything is wokring.. I also realized why it sbeen posting as me and not the user defined.. The username I'm using to author DOES have a vb username..
Jafo232
12-24-2007, 01:49 AM
Yeah, that is the only change in the template $reply-> to $reply[]..
pspcrazy
12-26-2007, 12:28 AM
Well Jafo your new plugin, the v3 one of course I haven't used the old one yet, for some reason when I edit makes my thread title, blank and it's contact blank, but when I make a new thread it works fine, just when I edit my wordpress post does it mess up. I pm'd you my login info if needed.
Jafo232
12-26-2007, 07:53 AM
You should probably look through your servers error log and see if an error is being thrown when this happens.
pspcrazy
12-26-2007, 08:46 AM
Thanks for the reply but believe it or not no error of anysort comes up! Is there a vbulletin version that it must also be? I'm on 3.6.7.
NVM: i upgraded and it's still not allowing me to edit the posts without messing up the threads.
Edit2: After some playing around with the plugins it seems the problem is: The Google XML Sitemaps plugin latest version:
http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/
Can you test this out and figure out what the bug is? Both are essential plugins for my site. Thanks and good luck!
Man I'm a genius, J/K: Fixed it by activating this option in the Google XML Options: Build the sitemap in a background process (You don't have to wait when you save a post)
Happy Holidays Everyone
Jafo232
12-26-2007, 12:00 PM
Yeah, the Google Sitemap plugin for WP has had some issues with WP itself lately. I have disabled it a while ago. I use one of the Python scripts that google supplies and run it via crontab...
Captain DDL
12-28-2007, 12:11 AM
I read that if the sites files are on two domains, it probably wouldn't work...but I'm assuming different directories would be okay? (I.E. http://www.sarcasticgamer.com/wp and http://www.sarcasticgamer.com/forums)
Also, how does this affect the site's performance? Here lately, we've been getting the 'Digg effect' (craploads of traffic within a short amount of time) about once a week or so...it'd suck to start using this and then be offline throughout the Digg wave.
LBSources
12-28-2007, 02:05 AM
Jafo .. It i wanted to pull latest comments in the same way that WP pulls them 'natively' so that I can use them on the sidebar, how would I do that?
Jafo232
12-28-2007, 01:20 PM
I have no idea.
amitpatel_3001
12-28-2007, 03:09 PM
Why are the forum post count showing as 0?
I have linked via Admin profile and the post count even after 2 posts via the blog posts it shows that the post count = 0 :confused:
LBSources
12-28-2007, 03:11 PM
I have no idea.
C'mon Jafo :) you have to be able to help a little bit with this ..
Can I hire you outside of this thread to determine how this can be done?
Because basically when using this hack the abilities to have comment RSS & widgets is lost if you dont know how to hook them; which I dont know..
Your help is definitely appreciated :)
wildcard27
12-28-2007, 04:17 PM
Hi Jafo, I recently moved servers and reinstalled everything (newer versions also). I'm running vB 3.6.8 & WordPress 2.3.1.
Now I constantly get this error when I try to add a new WP article.
Warning: main(DIR/includes/functions_newpost.php): failed to open stream: No such file or directory in /home/wldcreat/gamerscouncil.com/forums/includes/class_dm_threadpost.php on line 18
Fatal error: main(): Failed opening required 'DIR/includes/functions_newpost.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wldcreat/gamerscouncil.com/forums/includes/class_dm_threadpost.php on line 18
I have the following hacks installed:
Custom Status Icons Per Forum
vBSEO
vBSEO :: Sitemap Generator
Welcome Headers
Can you please help me out? I saw another guy on page 49 had the same problem, but the solution you gave him didn't work for me.
Cheers
## UPDATE: FIXED
d8tabyte
12-28-2007, 04:20 PM
I was thinking about this too - I PM'd Jafo but he never replied, so I'll post here.
I was thinking perhaps there is a way to insert the comments into the comment table. I mean, if we can pull them into the individual wordpress posts, there has to be a way to insert it into the wordpress tables too at the time of submitting comment.
Like
Post is made in WP and forum
Users comment within forum
At the time of clicking submit - wordpress table is accessed, post is referenced and comment is inserted, as well as the VB table
use recent comments plugin to query wordpress table
OR
figure out a way to edit the wordpress recent comments plugin to query the vb table, I just dont know how you would know which comment belongs to a wordpress post, unless a prefix is added to posts submitted to the forum through wordpress..
Jafo - this help at all?
Jafo232
12-28-2007, 04:57 PM
Much of what you guys are recommending is beyond the scope in which I wish to take this plugin. Surely there are ways to do what you want, but due to the limited nature of my time, it just isn't feasible at the moment. As it stands now, you can elect to use VB for comments or not, it is up to you.
LBSources
12-28-2007, 08:05 PM
Jafo .. I understand.. Oh well ..
I honestly dont think its too far out of scope to enable this feature though..
Blackhat
12-29-2007, 07:13 AM
does it work with 3.7.x ?
wildcard27
12-29-2007, 07:21 AM
Hi Jafo, I recently moved servers and reinstalled everything (newer versions also). I'm running vB 3.6.8 & WordPress 2.3.1.
Now I constantly get this error when I try to add a new WP article.
I have the following hacks installed:
Custom Status Icons Per Forum
vBSEO
vBSEO :: Sitemap Generator
Welcome Headers
Can you please help me out? I saw another guy on page 49 had the same problem, but the solution you gave him didn't work for me.
Cheers
Please ignore this, I already found out what was going on. I forgot to turn on the plugin on :erm:
pspcrazy
12-30-2007, 09:14 AM
Well Jafo your plugin is truly a livesaver for my site :) IF you ever figure out how to use the avatars from the vbulletin on wordpress that would be even greater.
This is just a major problem i need to figure out. How do i get it from trying to show smilies that are not there on the post page? If I can get rid of those X's from displaying it would be even greater.
Kyderoy
01-03-2008, 09:18 PM
Will this be updated to 3.7?
HunteRRosE
01-04-2008, 12:55 AM
Guys, first post for me. I'm new to vB but I can get around fine.
I installed this plugin successfully on a fresh install of WP and vB but I'm not having that kind of luck with an existing WP install and a fresh install of vB.
Basically what happens is:
I go through all the steps fine and activate the plugin. After I activate it and try and go to "Writing" or "Manage" or "Dashboard", the page loads blank.
Any ideas?
HunteRRosE
01-04-2008, 01:41 AM
Ahh well... started reinstalling everything from scratch... must have been a plugin or something...
Also, just so you guys know I've tested this plugin with the latest release 2.3.2 and found no problems.
I was pleasantly surprised to find out that when you delete a post from WP it deletes the thread in vB... Nice!!!
Also, after my vB admin account got copied over to WP, I deleted the WP Admin account and am using my vB admin account exclusively... hope that doesn't cause any problems down the road but no problems to speak of yet.
Nice plugin!
Jafo232
01-04-2008, 10:13 AM
Could cause issues in the future if the plugin stops working.. You will have to reset the admins password (have it emailed to you), so make sure your admin email address is up to date.
HunteRRosE
01-04-2008, 10:37 PM
Jafo, what the heck am I doing wrong? I just tried to write an article and link it to the forums and when I hit "publish" the screen turns blank, and nothing happens.
I 've successfully loaded various other articles this way.
Are there any problems that you know of when you create a forum? Like default settings or permissions?
Also, sometimes I can login to my wordpress admin area and then I'll try and create a post and it will say "no user name specified" when it connects to vBulletin. Then I'll log out of wordpress, login to vBulletin, go to my page in wordpress I want to publish and then it redirects me to a white screen when I publish.
Any ideas?
pspcrazy
01-05-2008, 01:40 AM
Well jafo does this work on vbulletin 3.7 as of yet?
PennylessZ28
01-05-2008, 03:47 AM
this is a useful must for the pro
LBSources
01-06-2008, 02:28 AM
Anyone at all having issues with the $similarthreads using this hack? I'm not sure if this is causing the problem or if something else is.
All threads found to be similar and at the bottom of the current thread lead to the root of the forum, not the similar thread linked.
DPtheGod
01-07-2008, 02:16 AM
Hello, I would like to install this but I have no idea where my wordpress folders are. It says do not create the sub-directory, but I do not have a wp-content directory. Am I supposed to create it? Sorry for noob question lole
Wings69
01-07-2008, 05:45 AM
Mine was working smoothly - anyway I had to move to a new server. Everything copied over okay, but on the wordpress page I get:
Fatal error: Undefined class name 'vbulletinhook' in /home/scotsman/public_html/nopantsprovided/forum/includes/class_bbcode.php on line 2405
And I've tried define('DISABLE_HOOKS', true); uncommented.
Wings69
01-07-2008, 06:31 AM
Heh - never mind, problem was that for whatever reason during the move, "turn plugin on" was turned off. Funny how after searching through tons of code trying to figure out if theres a problem, it always turns out to be so goddamn simple :) Oh well - I'll take this time to thank Jafo for all his hard work
Wings69
01-07-2008, 06:46 AM
Actually - is there any way to display who has written the post on VB? Like at the top of every article in WP it lists who writes it, using this code:
<i>Written <?php the_time('F jS, Y') ?> <?php _e('by'); ?>
<?php
if ($vbridge[id] > 0) {
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $vbridge[thread_starter] ?>><?php the_author() ?></a></i>
<?php
}
else {
the_author();
}
?>
Any way for that to display on the actual article that gets posted to the forums?
Jafo232
01-07-2008, 10:14 AM
If you get a blank screen, this usually indicates an error, and that your server is setup to NOT display errors. Check your error log. I have found that when this happens to people, it is usually another plugin conflicting with it (on the VB side) Try uncommenting this line the vbbridge.php file:
define('DISABLE_HOOKS', true);
As for showing the author in the thread, doesn't VB automatically show in the thread information who posted?
Blackhat
01-10-2008, 11:13 AM
*lets try again*
Does it work for 3.7.x ?
Jafo232
01-11-2008, 12:54 PM
*lets try again*
Does it work for 3.7.x ?
Instead of trying again, try reading :rolleyes::
https://vborg.vbsupport.ru/showpost.php?p=1405852&postcount=815
Wings69
01-11-2008, 05:43 PM
As for showing the author in the thread, doesn't VB automatically show in the thread information who posted?
Rather than having the people listed as authors and letting them do it themselves, we have them as contributors. They submit the story for review, then me and a few others review it, fix up any errors etc, then mark it as published.
However, whoever it is that marks it as published - that's the username that shows up as posting it on the forum. Even on Wordpress, and in the story itself where it lists author it lists the original author, but because we're approving it, it shows up on vb as the person that approved it.
Jafo232
01-11-2008, 06:42 PM
Hmm, I don't think there is a way around it at the moment unless you manually change it in VB.. When 3.7 is released, I will look into it..
vbem2
01-13-2008, 05:45 AM
Nevermind, I figured it out, great plug-in!
d8tabyte
01-14-2008, 02:05 PM
Is there any way to make it so it remembers the forum it was posted into when you edit?
Every time I edit I have to go back and re-select the forum and because I have multiple authors, this can sometimes get confusing.
Also - It seems to always post under my name (the admin) and not the person who made the article - is this something I have wrong in the settings?
CyberRanger
01-14-2008, 03:52 PM
Is there any way to make it so it remembers the forum it was posted into when you edit?There's not right now but that would be a great enhancement. I think what's really needed is that if the article is already posted to a forum, you are only shown the forum it's posted in and asked if you want to update the posting when you save the article.
Also - It seems to always post under my name (the admin) and not the person who made the article - is this something I have wrong in the settings?
It's going to post using the name of that you are signed into vbulletin with.
HunteRRosE
01-15-2008, 04:45 AM
Hey guys! No complaints here! Everything is running smoothly again.
Does anyone know how I could display only the latest post? or the last 5 posts... or something, instead of it displaying all of the posts as the comments.
Real quick this is what I ended up doing:
I am basically using this plugin so that my posts are automatically created in the forums. On my post it basically says "Discuss in the forums...", with a link to the post. Underneath I have used the built-in comment system. Above it I want to list the latest posts in the forums on the topic.
HunteRRosE
01-15-2008, 04:48 AM
Oh yeah... a little off topic, but I am using an AJAX comment system and have edited the comments so they post in reverse order (newest comments on top). However when you post your comment it posts it underneath until you refresh the page. Anyone know how to fix that?
HunteRRosE
01-18-2008, 02:44 AM
Oh yeah... a little off topic, but I am using an AJAX comment system and have edited the comments so they post in reverse order (newest comments on top). However when you post your comment it posts it underneath until you refresh the page. Anyone know how to fix that?
nm figured it out
Apfelfrucht
01-18-2008, 12:21 PM
Hi Jafo,
Could you convert or transform your hack not for WordPress but for ExpressionEngine, please ? :)
I hope that's possible,
Regards!
beernuts
01-20-2008, 09:34 AM
I hate to ask without having read the whole thread, but I've gone through a dozen or so pages and haven't found an answer so, a couple questions I have if you don't mind:
1. I've searched for a solid hour, and cannot figure out how to turn off the New User Registration notice Emails that I get every time a new user is created by the bridge. Is there an easy solution to turn this off?
2. On the Write Post page, in the "Select Forum To Post To" box, authors and contributors can see ALL the forums on my site, not just the forums they have access to. Forums they specifically are disallowed access to show up in the list. Is there any way to prevent this?
Thanks for your time, and if these questions have been asked a hundred times, I apologize.
This add on is amazing and does everything I want. :up:
LBSources
01-20-2008, 08:29 PM
Jafo .
I'm preparing to use a WP plugin called WP-Sticky.. I asked the developer if he thought there might be a conflict using it since I'm using the VBridge.
His response was
WP-Sticky will conflict with any plugins that modifies the WordPress main SQL query
So.. does VBridge do modify the query at all??
Thanks Jafo..
LBSources
01-22-2008, 08:19 AM
Nevermind.. I backed up the DB and went for it and all is well ..
mr. bowes
01-24-2008, 05:26 PM
Thanks for the great work on this plugin.
After installing, I have a few questions.
#1) When I create a post using Wordpress, a new thread is auto added to the vbulletin forum. When I create a new thread in vBulletin, the thread is not added to the wordpress blog. I was hoping to use vBulletin as the comment engine. Any help on this would be appreciated.
#2) How do you enable the Comments link on Wordpress posts to link to the approrpaite vBulletin thread?
Thanks in advance for the help.
Jafo232
01-24-2008, 06:20 PM
#1) When I create a post using Wordpress, a new thread is auto added to the vbulletin forum. When I create a new thread in vBulletin, the thread is not added to the wordpress blog. I was hoping to use vBulletin as the comment engine. Any help on this would be appreciated.
Of course it isn't added to the blog. If you follow the template instructions, you will get an answer to both of your questions.
#2) How do you enable the Comments link on Wordpress posts to link to the approrpaite vBulletin thread?
Thanks in advance for the help.
LICryptkeeper
01-25-2008, 09:44 PM
I, too, get a blank page when trying to post after installing this, running vb 3.6.8 and 2.3.2 WP,
LICryptkeeper
01-25-2008, 09:50 PM
I've tried turning off the plugin, and I can post again. I've tried turning off the vb hooks and plugins, and it does nothing.
all other WP plugins are off.
Blackhat
01-26-2008, 08:51 PM
does anyone use this and vb 3.7beta and how does it work for you ?
LICryptkeeper
01-28-2008, 04:47 PM
I've tried reinstalling it and installing it again, and it still does not allow me to post.
one other thing, the forums ar in mysite.com/forums and the wordpress is in mysite.com/wp, the part to forums from wp is /../forums, right?
WEBclay
01-28-2008, 06:27 PM
Hey Jafo
Not quite sure if somebody else is having this issue since I didn't found anything related. Okay I use the mod mainly to display an article on the frontpage as on the forums as well without having it to write twice :) Now I also use vB for the comments and here we got a problem. As long as nobody write a comment the single.php wordpress site looks good. But as soon as somebody do a reply the site (single.php) from my wordpress get screwed up and is totally messed.
Any ideas what that could be?
Jafo232
01-30-2008, 12:10 PM
I've tried reinstalling it and installing it again, and it still does not allow me to post.
one other thing, the forums ar in mysite.com/forums and the wordpress is in mysite.com/wp, the part to forums from wp is /../forums, right?
No, just /forums.
Jafo232
01-30-2008, 12:14 PM
B]But[/B] as soon as somebody do a reply the site (single.php) from my wordpress get screwed up and is totally messed.
Any ideas what that could be?
I have no idea especially since I have absolutely no clue on what you mean by "my wordpress get screwed up and is totally messed".
Could that be that all of a sudden a picture of sex in the mud shows up on your screen? Does it mean a million SQL errors show themselves? Could it be [enter any one of the millions of things your vague description could entail here]..
LICryptkeeper
01-30-2008, 02:41 PM
No, just /forums.
changing it to /forums only removes all forums in the "post comments in this forum:" feild in the post area. remember, /forums is not relative to my wordpress installation, /../forums is.
I still get a blank page, even uncommenting the hooks:true line in the php file.
Jafo232
01-30-2008, 03:54 PM
If you get a blank page, check your error log and see if an error message was thrown.
WEBclay
01-30-2008, 04:13 PM
I have no idea especially since I have absolutely no clue on what you mean by "my wordpress get screwed up and is totally messed".
Could that be that all of a sudden a picture of sex in the mud shows up on your screen? Does it mean a million SQL errors show themselves? Could it be [enter any one of the millions of things your vague description could entail here]..
It means that the layout of my website is broken after someone wrote a reply in the forums. That is the only that doesn't work right now.
CyberRanger
01-30-2008, 04:33 PM
It means that the layout of my website is broken after someone wrote a reply in the forums. That is the only that doesn't work right now.
The formating of your comments section must be breaking the page. Be useful if you posted the code for your single.php file.
WEBclay
01-30-2008, 04:44 PM
The formating of your comments section must be breaking the page. Be useful if you posted the code for your single.php file.
Thanks I looked several times to the code but don't know where PHP stops to work...I will post the code maybe you can see something I couldn't
<?php get_header(); ?>
<!--
************************************************** ************************************************** *******
/* CONTENT
************************************************** ************************************************** *******
-->
<div id="content_wrapper">
<div id="content_single">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php
### Vbridge Call
$vbridge = Comment_Handler($post->ID);
###
?>
<div class="navigation">
<div class="alignleft"><?php previous_post_link('« %link') ?></div>
<div class="alignright"><?php next_post_link('%link »') ?></div>
</div>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php the_content('<p>Read the rest of this entry »</p>'); ?>
<?php
if ($vbridge[id] > 0) {
?>
Posted by: <a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $vbridge[thread_starter] ?>><?php the_author() ?></a>
<?php
}
else {
the_author();
}
?>
<?php
#### Vbridge Replacement code for comments
if ($vbridge[id] > 0) {
?>
<div class="comments">
<?php
if(is_single()) {
if (is_array($vbridge[replies])) {
?>
<br /><br />
<h3 id="comments">Comments:</h3>
<ol class="commentlist">
<?php
foreach ($vbridge[replies] as $reply) {
?>
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
<?php echo $vbridge[vb_parser]->do_parse($reply[pagetext], false, true); ?>
<small class="commentmetadata">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comment_arr.gif" alt="" />
by <cite> <a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $reply[userid] ?>><?php echo $reply[username]; ?></a></cite>
</small><br />
</li>
<?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
}
}
?>
</ol>
<?php
}
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>>(<?php echo intval($vbridge[count]) ?>) comments</a> | <a href=<?php echo get_option('vbb_VBURL') ?>/newreply.php?do=newreply&noquote=1&t=<?php echo $vbridge[id] ?>>Add your comments</a>
</div>
<?php
}
##End Vbridge Replacement
?>
<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
<p class="postmetadata alt">
<small>
This entry was posted on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> and is filed under <?php the_category(', ') ?>. You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.
<?php } edit_post_link('Edit this entry.','',''); ?>
</small>
</p>
</div>
</div>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div><!-- END CONTENT_SINGLE -->
<div id="content_single_right">
<br />
GOOGLE ADSENSE
</div><!-- END CONTENT_right -->
</div><!-- END CONTENT_WRAPPER -->
<?php get_footer(); ?>
LICryptkeeper
01-30-2008, 06:21 PM
I do not have access to my error log. I dont even have ftp access from work. anyways, I fooled around and got the post to show up, but no comments, i'm asuming thats goingt o work when i continue integration at home?
Jafo232
01-31-2008, 01:12 AM
You must use the template edit for comments to show up.
WEBclay
01-31-2008, 07:22 AM
You comments code is already there :) I just checked the readme and everything is fine...
pspcrazy
02-01-2008, 11:49 PM
Jafo any word on the 3.7 plugin version? Still waiting on it if you let me know of any updates that would be most appreciated.
Jafo232
02-02-2008, 01:20 AM
There will be no 3.7 version until 3.7 is released. I am not sure why everyone keeps asking this question. They should not be running 3.7 in production yet..
pspcrazy
02-02-2008, 04:17 AM
There are many production type sites running 3.7.0 such as vbseo.com, and so on and they aren't exactly crashing or having issues. That's why were using 3.7.0 Jafo :)
superjeff
02-02-2008, 11:04 AM
Plugin don't work with beta 4.. :(
Jafo232
02-02-2008, 03:49 PM
Plugin don't work with beta 4.. :(
Duh, no kidding.. Way to read up the original thread plus the zillion times I responded to every other question about 3.7. You should not be using 3.7 anyway..
Jafo232
02-02-2008, 03:51 PM
There are many production type sites running 3.7.0 such as vbseo.com, and so on and they aren't exactly crashing or having issues. That's why were using 3.7.0 Jafo :)
It is still BETA. When data gets corrupted I laugh at those using BETA versions of software. And if you have ever looked at the unencrypted versions of vbseo, you can understand why they are running 3.7 in production already.
pspcrazy
02-03-2008, 05:18 AM
Yea well that's why it's still not installed on any of my sites lol. My main reasons is I just hate upgrading, but when a stable release is out I sure as hell upgrade ;) Thanks for the response :)
WEBclay
02-03-2008, 12:59 PM
On this line my theme stops working:
<h3 id="comments">Comments:</h3>
<ol class="commentlist">
<?php
foreach ($vbridge[replies] as $reply) {
?>
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
HTML output:
<h3 id="comments">Comments:</h3>
<ol class="commentlist">
<li class="" id="comment-">
I would highly appreciate any feedback about this :) Last bug before going to public :)
Jafo232
02-05-2008, 01:02 PM
Well, the one thing I see is:
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
Should probably be:
<li class="<?php echo $oddcomment; ?>" id="comment-<?php echo comment_ID() ?>">
But cannot be sure because I am not positive on what you mean by "My theme stops working"..
WEBclay
02-05-2008, 01:11 PM
Thanks! Will try this as soon as I am at home. I meant that the layout get broken because the php code stops working there.
edit: doesn't work
Jafo232
02-05-2008, 06:27 PM
Not sure why you are calling echo comment_ID(), or $oddcomment.. Those are not needed. Vbulletin is taking over the comments, not accentuating them.
WEBclay
02-05-2008, 06:33 PM
?? Its (the code) from your readme file...
Jafo232
02-05-2008, 06:46 PM
My bad.. You have only shown me the partial code, would need to see everything you did.
SoftDux
02-08-2008, 11:16 AM
Hi Jafo, I recently moved servers and reinstalled everything (newer versions also). I'm running vB 3.6.8 & WordPress 2.3.1.
Now I constantly get this error when I try to add a new WP article.
I have the following hacks installed:
Custom Status Icons Per Forum
vBSEO
vBSEO :: Sitemap Generator
Welcome Headers
Can you please help me out? I saw another guy on page 49 had the same problem, but the solution you gave him didn't work for me.
Cheers
## UPDATE: FIXED
Hi
How did you fix the problem? I'm getting the same error
SoftDux
02-08-2008, 11:26 AM
Hi
Can someone please help me? I've installed the plugin, but can't make a posst.
Warning: require_once(DIR/includes/functions_newpost.php) [function.require-once]: failed to open stream: No such file or directory in /home/webhost/public_html/includes/class_dm_threadpost.php on line 18
Fatal error: require_once() [function.require]: Failed opening required 'DIR/includes/functions_newpost.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/webhost/public_html/includes/class_dm_threadpost.php on line 18
My forum is on http://www.webhostingtalk.co.za & WP on http://www.webhostingtalk.co.za/blog
What am I doing wrong?
Can you have it setup like
blog.yoursite.com
forums.yoursite.com
?
bfburger
02-09-2008, 09:50 PM
Hi,
Great mod....thank you!!!
Everything is working perfectly except my comments from the forum are not showing in wordpress. I made the template changes per your instructions. Any help is greatly appreciated!
I have included the modified template files for reference.
Thank you,
Brian
SoftDux
02-10-2008, 06:28 PM
Hi
Can anyone please help me? I don't see the forum when I want to make a test post.
My forum is installed http://www.webhostingtalk.co.za & Wordpress on http://www.webhostingtalk.co.za/blog/ - both use the save DB.
dicegame
02-11-2008, 01:38 AM
Hello Jafo! :)
Just a quick questioned i've installed this mod but whenever another admin clicks on site admin it forwards them to my forums url. I'm an admin on my site and it works perfectly fine for me when i click on site admin.
Thanks,
Tom
ikki83
02-11-2008, 06:12 AM
hi folks! i've got a problem. when i write into wordpress the post is cut, so i can't write nothing long more 3 lines... why?
dicegame
02-11-2008, 09:20 PM
I had the same problem. Change the character encoding back to UTF-8.
WEBclay
02-12-2008, 06:28 PM
My bad.. You have only shown me the partial code, would need to see everything you did.
No problems, here you go:
single.php
<?php get_header(); ?>
<!--
************************************************** ************************************************** *******
/* CONTENT
************************************************** ************************************************** *******
-->
<div id="content_wrapper">
<div id="content_single">
<div class="navigation">
<div class="alignleft"><?php previous_post_link('« %link') ?></div>
<div class="alignright"><?php next_post_link('%link »') ?></div>
</div>
<div style="clear:both;"> </div>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php $vbridge = Comment_Handler($post->ID); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
<div style="clear:both;"> </div>
<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
<?php
#### Vbridge Replacement code for comments
if ($vbridge[id] > 0) {
?>
<div class="comments">
<?php
if(is_single()) {
if (is_array($vbridge[replies])) {
?>
<br /><br />
<h3 id="comments">Comments:</h3>
<ol class="commentlist">
<?php
foreach ($vbridge[replies] as $reply) {
?>
<li class="<?php echo $oddcomment; ?>" id="comment-<?php echo comment_ID() ?>">
<?php echo $vbridge[vb_parser]->do_parse($reply->pagetext, false, true); ?>
<small class="commentmetadata">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comment_arr.gif" alt="" />
by <cite> <a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $reply->userid ?>><?php echo $reply->username; ?></a></cite>
</small><br />
</li>
<?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
}
}
?>
</ol>
<?php
}
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>>(<?php echo intval($vbridge[count]) ?>) comments</a> | <a href=<?php echo get_option('vbb_VBURL') ?>/newreply.php?do=newreply&noquote=1&t=<?php echo $vbridge[id] ?>>Add your comments</a>
</div>
<?php
}
##End Vbridge Replacement
?>
<p class="postmetadata alt">
<small>
This entry was posted on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> and is filled under <?php the_category(', ') ?>. You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site. <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site. <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.
<?php } edit_post_link('Edit this entry.','',''); ?>
</small>
</p>
</div>
</div>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div><!-- END CONTENT_SINGLE -->
<div id="content_single_right">
<br />
GOOGLEADS
</div><!-- END CONTENT_right -->
</div><!-- END CONTENT_WRAPPER -->
<?php get_footer(); ?>
A7la_3alm
02-12-2008, 08:50 PM
Hellow every body,
I install this bridge and work good but I have two problems, I will talk about one now because I need asolution for it nowadays.
The first problem that this bridge dont work with Arabic usernames,
I mean when the username in English, the user login at wordprss and be one of wordpress useres. but when username in Arabic its not working and the user not logged in at wordpress.
That because I let registeration in Arabic names. so I need to fix this problem
any idea?
Jafo232
02-14-2008, 01:22 PM
Don't allow arabic characters, that should fix it.
BaselineAce
02-16-2008, 03:20 PM
No, it is not possible. You are confusing multiple databases with multiple domains. The domain restriction is still in effect.
Is there any way around this?
Wings69
02-16-2008, 04:32 PM
I was thinking of getting vbSEO - anyone had any compatability issues with this plugin and vbseo, or has it been working fine?
Thanks
Ksb2050
02-16-2008, 04:51 PM
I've been using this successfully for 2 weeks now, but today I went to my site to find this:
Fatal error: Undefined class name 'vbulletinhook' in /home/videknet/public_html/forums/includes/class_bbcode.php on line 2405
What happened?? And how to I fix it??
EDIT: Disabled it, and edited the VBbridge call out of my themes index and the site (stand-a-lone) works fine a again.
SoftDux
02-16-2008, 07:19 PM
This is a great addon, thanx :)
I have some questions though, as I couldn't find the answers to them in the 29 pages worth of stuff on this particular thread.
* How do I map my Blog categories with my Forum categories?
* If a user gets promoted to a new user group in vBulletin, does it automatically change his privilege in Wordpress as well?
I've been using the bridge for quite some time without an issue.
Good work!
There is one thing I'd like to do but I have read anything on how to do it.
I would like to embed the forums into wordpress. Something like I've seen phpbb embedded into PostNuke and others.
Is there a way to embed vB into WP pages?
Thanks!
Ksb2050
02-18-2008, 05:26 AM
I've been using this successfully for 2 weeks now, but today I went to my site to find this:
What happened?? And how to I fix it??
EDIT: Disabled it, and edited the VBbridge call out of my themes index and the site (stand-a-lone) works fine a again.
Ok I need help again. Now my posts dont transfer to my forum cause the bridge is disabled. How do I resolve that error, what happened?? If I can still use this bridge, I need to :erm:
Jafo232
02-18-2008, 01:08 PM
How did you disable the bridge?
Ksb2050
02-18-2008, 02:15 PM
I disabled the product and took out the template edits. Everytime I re-install now I get that fatal error listed above.
McMendo
02-19-2008, 01:30 AM
Does this work with wordpress in one subdomain and vb in a different subdomain?
Jafo232
02-19-2008, 12:32 PM
Does this work with wordpress in one subdomain and vb in a different subdomain?
No.
Jafo232
02-19-2008, 12:34 PM
I disabled the product and took out the template edits. Everytime I re-install now I get that fatal error listed above.
You may want to edit the vbbridge.php file where it says:
## If you get errors relating to the class 'vBulletinHook' not found, uncomment next line.
# define('DISABLE_HOOKS', true);
PhenomLeader
02-20-2008, 01:00 AM
Has anyone got this to work?
I'd love to see if this works for us but this thread is scary. I'm going to have to hire someone to do this for me and I don't want them stumbling around with trial and error. Also please excuse my low tech-ness but I'm not quite sure what the bridge DOES. I don't much care about WP bloggers being able to comment. I want people to join if they want to discuss an entry which is why I want it tied to a forum. I'm most interested in being able to create tags and categories so people can read past entries by subject matter.
Also, does the WP theme have to be duplicated to match the forum skin? I have two active but very different skins and I'm not sure how it would work if we had to pick one skin.
Sorry for the questions, I've never worked with Word press before and I'm not sure how this works.
Fraik
02-20-2008, 09:19 AM
This has worked great for my news system
What it does, is give forum users an account on wordpress (you can determine which group you want to take on which role). Comments can be handled either by wordpress or by the forum, whichever you want. If you want it to be on the forums (like me) it will automatically post a thread, to which your users can reply.
I love this plugin as it allows me to use all the great features of the WP posting tool like pinging other sites, category and tag archives etc. - while I can still use vBulletin to handle discussions and comments. I used vbExternal before, but this is much more stable in regard to converting HTML -> BBcode
PhenomLeader
02-20-2008, 09:59 AM
Fraik, I sent you a message. By the way your skin and forum design is impressive!
zmsan
02-20-2008, 04:13 PM
May be a dumb question but do vb and wp have to be in the same database? If not, what are the settings to make it read from the other db?
jjfighter
02-21-2008, 01:29 PM
How do I get the images to show up in the forum posts?
All I see is the HTML code for it, do I have to allow HTML in the forum?
DivisionByZero
02-21-2008, 09:48 PM
the php files and the documentation both need line feed conversions :)
jjfighter
02-21-2008, 10:19 PM
I'm a little bit a of newb, but what do you mean by line feed conversions?
PhenomLeader
02-22-2008, 02:57 AM
Installed, however:
When my users view a blog post and click on comments, it does not take them to the forum in which the article was posted to... if comments are on, it uses WP commenting. If comments are off it there is no option to comment at all.
Are there changes that have to be made to get that feature to work? I felt that was the best benefit of this mod. I don't want people to be able to comment unless they are a member of the forums. I've seen it work on jeffsrecipes.com... it is not working that way for me.
Blog addy (http://www.phenomsonline.com/blog)
Second, when my members go to the blog, it auto adds them as a user. Is it supposed to do that? *DUH, read the ReadME
pspcrazy
02-22-2008, 09:53 PM
Jafo can you please work out some method to have pagination with the comments? I'm getting some pages with like 200-1000 comments that are killing my server. Anything would be appreciated :)
Fraik
02-23-2008, 04:40 PM
PhenomLeader, did you follow the instructions for replacing the Wordpress replies code with the one that directs it to a vB topic? I know I had to do that anyway
Im pretty sure its somewhere in the readme file.
PhenomLeader
02-23-2008, 05:25 PM
I had a coder install this for me... I will ask him to check that. Thanks. I did ask the original coder but got no response.
pspcrazy
02-26-2008, 04:21 AM
Jafo can you please work out some method to have pagination with the comments? I'm getting some pages with like 200-1000 comments that are killing my server. Anything would be appreciated :)
Oh yea and if there is anyway for the people on the wordpress pages to show up on the whos online page that would be awesome :)
Ethelbert
02-26-2008, 08:03 PM
Hello,
it should be a great mod, but I have a problem. I still getting this error:
Warning: require_once(DIR/includes/functions_newpost.php) [function.require-once]: failed to open stream: No such file or directory in /var/customers/webs/Drakeman/verejnadiskusia_sk/includes/class_dm_threadpost.php on line 18
Fatal error: require_once() [function.require]: Failed opening required 'DIR/includes/functions_newpost.php' (include_path='.:/usr/local/lib/php') in /var/customers/webs/Drakeman/verejnadiskusia_sk/includes/class_dm_threadpost.php on line 18
my forum is located at www.verejnadiskusia.sk and blog at www.verejnadiskusia.sk/blog
As Forum URL I have set: http://www.verejnadiskusia.sk
As Forum Relative Path: I have set: / (or just nothing)
Could you try to help me please? I have VB 3.6.8
Thank you
Ohiosweetheart
02-27-2008, 01:00 AM
Installed the php files, but it doesn't show up in the plugins section of my WP.
Uninstalled. I'll wait for an update.
Jafo232
02-27-2008, 01:48 AM
Not sure what you did, but I am assuming you uploaded it in the wrong place or something.. Nobody has ever reported such an issue.
ikki83
02-28-2008, 02:09 PM
in utf-8 i can't see grave letters like à, è, ì, ò, ù.
why?
Jafo232
02-28-2008, 02:17 PM
Read the readme about setting the content type in Wordpress..
MdrNate
02-28-2008, 03:29 PM
I'm having a problem with the HTML parsing the images into the forums. It seems that unless I turn on the "Allow HTML" in the specific form only text of the html code shows up in the post.
I'm not sure I want to leave the allow html enabled for the forum because of the security risk.
Any suggestions?
Ethelbert
02-28-2008, 08:13 PM
Not sure what you did, but I am assuming you uploaded it in the wrong place or something.. Nobody has ever reported such an issue.
I just uploaded vbbridge.php and functions_wysiwyg2.php files to plugins directory. It's uploaded correctly because plugin is successfully installed in WP.
There will be any other issue, but I don't what :(
Are my settings correct? Please check attached file.
Thank you for your help
GabyZ
02-28-2008, 09:49 PM
No this isnt the idea of the mod..
Has anyone experienced a bunch of question marks (??) in between characters of posts in Wordpress since installing the mod?
Research says that its due to encoding not being UTF-8 ..
Has anyone else experienced this?
Same problem here with VB 3.6.8 and Wordpress 2.3.3.
Anyway I love this plugin, simply fantastic and really usefull. I hope to donate some cash, I need to add some money on the credit card but I will ;)
botbay
02-29-2008, 03:02 PM
In the installation instructions, it asks for the following options to be defined:
VB User ID
VB Username
It says this is the username comment threads will be started with if the author is not registered with VB.
I am doing a new install and I currently have only one user, the admin one. Is this a dummy user like guest or anonymous it wants?
Am I supposed to make up a fake user to post comments with? Not sure what to do here.
Jafo232
02-29-2008, 04:43 PM
Use the userid and username of the admin.. This is only a fallback if someone writes a blog entry but is not a registered forum user.
botbay
02-29-2008, 06:58 PM
I'll do that, it should have something in the readme file to let you know to use your admin user, I didn't want to guess at what I should do. From previous experience with other integration modules like wp-united, it seems that all the stars have to align just right and you must be standing on your head with your hair dryer on while you click the last button in order for things to work. I am really hoping to have a better experience with this mod than I did with wp-united.
Fraik
03-01-2008, 08:51 AM
The only problem I have thus far is some character issues (question marks) on my forum threads. I get *? for spaces sometimes :( Both my board and WP is set to UTF-8, though.
http://www.middleearthcenter.com/forums/showthread.php?p=299626 <- example
ikki83
03-01-2008, 12:31 PM
Read the readme about setting the content type in Wordpress..
i've setted up both wordpress and vbulletin in UTF-8 but it doesn't work....
i'm italian, grave letters are important... can it depends by the characters settings of Mysql database?
CJAffiliate
03-02-2008, 01:27 PM
Ok so i install fine, do a test post which is fine then delete the post in the forum and delete in WP but it keeps coming back after deleting! Also when i goto login into WP admin it brings me to the forum now! wtf?
On a SEO note, wouldnt posting to the forum everytime I write a post in WP creat duplicate content. Still dont understand the advantages of this bridge besides the user login facility!?!
All i really want is to have new forum posts show up in WP and have a link to the forum on the menu!
:confused:
CJA
Jafo232
03-03-2008, 06:33 PM
New FORUM posts will NOT show up in WP... You have it backwards.
CJAffiliate
03-04-2008, 12:31 PM
New FORUM posts will NOT show up in WP... You have it backwards.
Ok thats not a problem. How about answering my other queries? Thanks...
Ok so i install fine, do a test post which is fine then delete the post in the forum and delete in WP but it keeps coming back after deleting! Also when i goto login into WP admin it brings me to the forum now! wtf?
On a SEO note, wouldnt posting to the forum everytime I write a post in WP creat duplicate content. Still dont understand the advantages of this bridge besides the user login facility!?!
:confused:
Jafo232
03-04-2008, 01:13 PM
All you need to do is delete it from WP, not both.
You login to the forum only once the bridge is installed. Renaming the plugin or otherwise disabling it reverts back to the old method. Please read the readme.
Duplicate content may or may not be an issue to you. This is why there is an excerpt option to post to the forum in the Vbridge settings section.
pspcrazy
03-07-2008, 01:46 AM
Jafo Can you please answer the questions I asked above?
Whether you could possibly add pagination to the mod or make it so that it only show's the latest 5? As I'm having problem's with post's that contain 1000s of comments. Makes the server load shoot way up.
Brandon Sheley
03-07-2008, 02:45 AM
hows this mod coming along ?
spring break is next week so I'm thinking about giving this another try
I failed last time :(
pspcrazy
03-09-2008, 03:47 AM
Is there anyway to not show the comment's on the single page but rather show just Comments (10) | Add your Comment or something like that? I'm trying to figure out how to do that as it seems there is no support for pagination and it's just causing a lot of server load. But I still do want to use vb as my comment's support.
tommy2toes
03-09-2008, 04:55 AM
If anyone has got this mod working and wants pick up a few bucks - then contact me at contact AATT howtotuneaguitar.org.
I did a test post and the test post worked but when posting in wordpress it doesn't auto fill my info or show me as logged in.
the site is www.howtotuneaguitar.org
Ceege
03-09-2008, 07:44 AM
I have a vBulletin/WP bridge on my site, and I now get this error:
Fatal error: Class 'vBulletinHook' not found in /home/ceege/public_html/forum/includes/class_bbcode.php on line 2405
on http://www.ceege.net/index.php
And here is what is on line 2405 of class_bbcode.php
($hook = vBulletinHook::fetch_hook('bbcode_fetch_tags')) ? eval($hook) : false;
cash7c3
03-09-2008, 06:50 PM
So I got vbbridge up and running and working fine. Including the comments used from the thread.
Since then comments have stopped working on all new posts. The only thing I can think of that has changed are the character encoding settings. I reverted those to what I had before but comments still do not work on any new post, and continue to work on some old posts.
Also searching via wordpress no longer is functional.
Anyone have some thoughts/ideas?
Ethelbert
03-11-2008, 08:03 PM
It works for me now, but I have one problem
http://www.verejnadiskusia.sk/blog/?p=1
When I will post a comment in this section (section where I will be redirected when I will click to the story name), it will be showed in WP only. It will not be inserted to my forum. Could you tell me please how can I do it?
Thanks
EJRaven
03-12-2008, 05:29 PM
I'm working on a very similar script over at http://invisionbridge.com (sameless self-promotion) I got IPB and Wordpress working now but vBulleting is a bit more complicated.
Is the author of this script available? or around to update this script?
ade_dnb
03-14-2008, 09:36 AM
Maybe you can help with this one. Everything works fine. Comments are fine, users being crossed over are fine, posts on the blog are posted to the forum fine, the only thing that doesn't work correctly is the post count.
When posting to the blog, the post gets automaticly posted to the forum like it should but the post count of the poster doesn't go up. When you delete a post it goes down like it should?
I had the blog and forum in seperate databases using seperate users, I then tried the same database with seperate users.
The blog is located at www.sitename.com/ and the forum is located at .com/forum/
Ive read through and the location of the blog and the forum doesn't seem to be the problem, maybe the database is tho?
All in all this is a great mod which just this being an issue for me.
Thanks
ikki83
03-14-2008, 04:41 PM
I have a big problem.
I've activated the plugin, following the installation instructions.
I've paid attention on creating a wordpress administrator username different from the admins in Vbulletin, so to avoid login problems in wordpress after activating auto-integration.
I map users in Vbridge user options, then I put auto-integration on...
Then, when I enter wordpress homepage I can see I'm logged in (I can post comments with my VB username), but if I try to enter administration, it says I've not enough permissions (I'm administrator in VB, and I've mapped vbridge so that vb admins become admins in wordpress...
)
I've tried to remove and re-upload the plugin, cancel vbbridge mysql entries, but I receive always the same error.
it doesn't map users, even if it recognize I'm logged in...
Can someone help me?
pspcrazy
03-15-2008, 08:14 PM
Is there anyway to not show the comment's on the single page but rather show just
Something like this:
Comments (10) | Add your Comment
I'm trying to figure out how to do that as it seems there is no support for pagination and it's just causing a lot of server load. But I still do want to use vb as my comment's support.
Fallback
03-17-2008, 03:45 PM
I have this working fine. Its a great mod. The only thing its missing that would be great is showing VB avatar's when using vb comments on the wordpress blog. Please add that.
DanAndJenn
03-21-2008, 07:28 PM
This looks like a great plugin, looking forward to getting it installed this weekend.
Question - is it possible to sync ONLY posts with vBulletin, not users?
We definitely want all new Wordpress posts to start a new thread and be cross-linked from Wordpress, but we have no need for vBulleting users to login to Wordpress.
Thanks!
Dan
bwilly79
03-24-2008, 07:03 PM
Everything works great, I just have a lame layout question.
Right now my post footers look like:
Posted by Author |
(1) Comment
| Edit
And I'm trying to get them inline, like:
Posted by Author | (1) Comment | Edit
But whenever I try to mess with the spacing either nothing happens or it goes screwy. Here is the code that I am using:
<?php $recent = new WP_Query("cat=4&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<?php
### Vbridge Call
$vbridge = Comment_Handler($post->ID);
###
?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php the_content();?><p>Posted by <?php the_author(); ?> | <?php
#### Vbridge Replacement code for comments
if ($vbridge[id] > 0) {
?>
<div class="comments">
<?php
if(is_single()) {
if (is_array($vbridge[replies])) {
?>
<br /><br />
<h3 id="comments">Comments:</h3>
<ol class="commentlist">
<?php
foreach ($vbridge[replies] as $reply) {
?>
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
<?php echo $vbridge[vb_parser]->do_parse($reply[pagetext], false, true); ?>
<small class="commentmetadata">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comment_arr.gif" alt="" />
by <cite> <a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $reply[userid] ?>><?php echo $reply[username]; ?></a></cite>
</small><br />
</li>
<?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
}
}
?>
</ol>
<?php
}
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>>(<?php echo intval($vbridge[count]) ?>) comments</a>
</div>
<?php
}
##End Vbridge Replacement
?> <?php edit_post_link('(Edit)', '', ''); ?></p><div style="clear:both;"></div>
<?php endwhile; ?>
ade_dnb
03-24-2008, 07:47 PM
Everything works great, I just have a lame layout question.
Right now my post footers look like:
And I'm trying to get them inline, like:
But whenever I try to mess with the spacing either nothing happens or it goes screwy. Here is the code that I am using:
Im no expert but try this...
<?php $recent = new WP_Query("cat=4&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<?php
### Vbridge Call
$vbridge = Comment_Handler($post->ID);
###
?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php the_content();?><p> <?php
#### Vbridge Replacement code for comments
if ($vbridge[id] > 0) {
?>
<div class="comments">
Posted by <?php the_author(); ?> | <?php
if(is_single()) {
if (is_array($vbridge[replies])) {
?>
<br /><br />
<h3 id="comments">Comments:</h3>
<ol class="commentlist">
<?php
foreach ($vbridge[replies] as $reply) {
?>
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
<?php echo $vbridge[vb_parser]->do_parse($reply[pagetext], false, true); ?>
<small class="commentmetadata">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comment_arr.gif" alt="" />
by <cite> <a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $reply[userid] ?>><?php echo $reply[username]; ?></a></cite>
</small><br />
</li>
<?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
}
}
?>
</ol>
<?php
}
?>
<a href=<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>>(<?php echo intval($vbridge[count]) ?>) comments</a> | <?php edit_post_link('(Edit)', '', ''); ?>
</div>
<?php
}
##End Vbridge Replacement
?> </p><div style="clear:both;"></div>
<?php endwhile; ?>
What was going wrong was you had the Posted by: then in div="coments" you had the comments then the edit link after the </div>. So thats all i've changed. You will have to play around with it because it might not even work right but you should get the idea.
bwilly79
03-24-2008, 08:52 PM
Im no expert but try this...
What was going wrong was you had the Posted by: then in div="coments" you had the comments then the edit link after the </div>. So thats all i've changed. You will have to play around with it because it might not even work right but you should get the idea.
Ah, you're a genius, thanks so much, that worked like a charm.
Phlex
03-25-2008, 03:20 PM
Does it work with 3.7 rc1 ? and will it be supported.
Are there any db changes in vbulletin or just in wordpress ?
Jafo232
03-25-2008, 03:57 PM
Can't tell you about 3.7, wont know until 3.7 is released.
No DB changes to VB.
Darked_Hax
03-25-2008, 05:47 PM
Hi all...
Well, this is a little explanation by me on how to fix the error: "you do not have enough permissions to access this site" in some NON-ENGLISH blogs/forums caused by bad mapping user procedure.
For this, we will map users manually from the database with a Db Manager like PhpMyAdmin for example.
First, Reinstall the plugin.
After, To make the changes we need to do the following steps:
Go to the table:
Your_wordpress_db -> wp_optionsFind the rows with the following prefixes ( "options_name" column):
Vbb_vbugroup_XWhere "X" is your VBULLETIN USERGROUP
Now, we must change the field "option_value" in each row for the desire User group permissions (Check the legend at the end of this post), and save.
For Example :
"I wish that my Vbulletin administrators can also manage the blog wordpress"
MY Vbulletin AdministratorsID: 9
so... In my wordpress Database i Go to :
MyWORDPRESSDB -> wp_options... I Search:
vbb_vbugroup_9And change the "option_value" field in the row for: administrator
And Done, my Vbulletin Administratorscan manage wordpress blog too!!! without "you do not have enough permissions to access this site" error.
Note, use the following values to update fields:
-- For your Wordpress ADMINS group ---> administrator
-- For your Wordpress EDITORS group ---> editor
-- For your Wordpress AUTHORS group ---> author
-- For your wordpress CONTRIBUTOR group ---> contributor
-- For your wordpress SUBSCRIBER / SUSCRIPTOR group ---> subscriber
NOTE 2 :
* If you add more Vbulletin Usergroups, you must be re-map the users.
* DONT USE the Vbridge User Settings !!!
Testing and running on Vbulletin 3.6.8 and Wordpress 2.3.3.
This issue is caused by a translation in wordpress (ES_es.mo), i think.
Check : http://www.dkfsoft.com/forum
http://www.dkfsoft.com/blog
Sorry for my english :p.
KnicksCity
03-27-2008, 06:35 PM
Installed.. seems to be working fine other than one issue.
Can anyone help?
When users are mapped, they show up under under "Users" in WP admin, but their "role" is left blank. So, when I mapped my administrators, I had to manually go in and set their role to "Administrator." Registered Users from vbulletin are mapped over, but are not listed as Subscribers.
ikki83
03-29-2008, 12:01 AM
will this plugin became compatible with vbulletin 3.7?
Darked_Hax
03-29-2008, 11:37 AM
KnicksCity :
Checkhttps://vborg.vbsupport.ru/showpost.php?p=1474364&postcount=965
MOGmartin
03-29-2008, 12:24 PM
Hey guys, I know this expressely says "will not work with WPMU" - any idea of how to get one working with wpmu though? Id love to know, and I have seen another board with it already working, where they hacked the user password fields in wpmu to use the vbulletin db
Jafo232
03-29-2008, 03:36 PM
No clue on MU.. Completely different program in reality..
Fuzzer
03-29-2008, 03:45 PM
No clue on MU.. Completely different program in reality..
Hi! Where are installation instruction? Thank's
Fuzzer
03-29-2008, 03:55 PM
I did not understand, this is a Wordpress Plug in? How do I install it?
KnicksCity
03-29-2008, 04:42 PM
KnicksCity :
Checkhttps://vborg.vbsupport.ru/showpost.php?p=1474364&postcount=965
Thanks, I shouldn't have overlooked that! :P
One other issue I am having is that when the plugin is enabled, I am no longer able to use the theme editor.
ikki83
03-29-2008, 05:34 PM
wordpress 2.5 has just been relased... does the bridge work?
KnicksCity
03-29-2008, 05:39 PM
wordpress 2.5 has just been relased... does the bridge work?
I'm using it on 2.5 RC 2. Haven't upgraded to the final version yet. I only have the problems I mentioned but it seems others have the same issues on the older versions as well.
That said, I haven't used it very much or checked for other bugs.
Jafo232
03-30-2008, 04:24 AM
Instructions are in the zip file..
Jafo232
03-30-2008, 04:25 AM
Haven't tried it yet on 2.5.. I see they are salting passwords.. Shouldn't be an issue, but it will have to wait until I get some time to tinker..
Fuzzer
03-30-2008, 10:13 AM
Hi! I've this error in Vbridge User Setting :
Fatal error: Call to a member function query_read() on a non-object in /var/www/vhosts/c1siamo.net/httpdocs/blog/wp-content/plugins/vbbridge.php on line 307
???
Jafo232
03-30-2008, 03:29 PM
Something tells me you activated the plugin before you did the test post as per the readme.
bwilly79
03-30-2008, 04:30 PM
I am very confused about how users are supposed to work with this plugin.
I followed all the directions and everything worked at every stage, so I now have the plugin activated with auto-integration turned on. HOWEVER, I can only get to the dashboard from a computer that logs in with the plugin turned off. Let me explain what I mean by that.
On my laptop I can get everywhere, dashboard, forum admin area, everywhere. However when I went to my desktop this morning I could not get to the dashboard no matter what I did. I logged into the forum but no matter what path I used (/wp-admin, /wp-admin/index.php, etc) I could not get to the dashboard. I tried creating a new VB user to map to an admin WP account, but it still didn't work.
I had to go back to my laptop, turn off the plugin, log in on my desktop and click "remember me" and then everything is fine on my desktop as well.
I thought the idea was that you used this plugin, logged in via VB, and were then logged in in WP?
Also, I do not fully understand this line: "If the admin username in Vbulletin is the same as the one in Wordpress (i.e. Admin), that user will NOT be able to login to the WP dashboard."
Does this mean that each user can only be an admin in one section or the other, and never both, or is this only at the time of installation? Right now I have VB admins set to map to WP admins (makes sense, no?). But maybe that doesn't matter because the new user I just set up in VB doesn't show up in the WP users area.
But ironically the username that works totally on my laptop is an admin in both sections of the site and can use both with no problem.
Sigh, these may be very obvious questions, but I'm so confused and my observed behavior isn't matching up to what it says I should expect in the readme.
Jafo232
03-30-2008, 05:49 PM
"If the admin username in Vbulletin is the same as the one in Wordpress (i.e. Admin), that user will NOT be able to login to the WP dashboard."
Not sure how to make this any clearer.. If you have a Vbulletin user who has a username "Admin" and a separate Wordpress user who has a username "Admin" they WILL NOT bridge. Existing usernames that are identical in both Wordpress and Admin will not bridge.
Dunno how clearer I can make that.
bwilly79
03-30-2008, 08:33 PM
"If the admin username in Vbulletin is the same as the one in Wordpress (i.e. Admin), that user will NOT be able to login to the WP dashboard."
Not sure how to make this any clearer.. If you have a Vbulletin user who has a username "Admin" and a separate Wordpress user who has a username "Admin" they WILL NOT bridge. Existing usernames that are identical in both Wordpress and Admin will not bridge.
Dunno how clearer I can make that.
Ok, so if I set up a new Admin in VB and admin's are set to map to admin's in WP, that new VB Admin should map to a Wp admin, correct?
EDIT: I think I've figured it out, any users registered in VB through the control panel do not map to WP, only users that register through the "register" link on the forums get mapped over.
Jafo232
03-30-2008, 10:10 PM
Actually, your almost right.. You have to make sure you enter an email address when you create a user in the VB adminCP..
skymac
03-31-2008, 10:43 AM
I have upgraded to wp 2.5 and the plugin breaks the new interface for adding media and pictures to posts, it will return 'Are you sure you want to do this? Please try again'.
Any fix for that, please?.
Greetings
Alessandro
bwilly79
03-31-2008, 11:50 AM
Is there any reason you can't use this plugin in a reduced functionality mode?
Everything works fine without Auto-Integration turns on, once that happens things go pear shaped with logins and cookies and users and it's just a big mess I can't sort out.
However, without that I still get my posts in WP sent over to VB and I still get the link for the comments in my WP posts, which is all I really want. The logging in through VB and user mapping and all that I don't need.
Would that work? Just turn the plugin on, post to forums turned on, but auto-integrate turned off?
skymac
03-31-2008, 12:03 PM
Auto-integrate is turned off ... but it still don't work :-(
Alessandro
bwilly79
03-31-2008, 12:40 PM
Auto-integrate is turned off ... but it still don't work :-(
Alessandro
Sorry, I was actually asking a new question rather than replying to yours.
I have no clue about the new functionality, heh.
Jafo232
03-31-2008, 01:50 PM
I have upgraded to wp 2.5 and the plugin breaks the new interface for adding media and pictures to posts, it will return 'Are you sure you want to do this? Please try again'.
Any fix for that, please?.
Please download the latest version.
tekknikal
03-31-2008, 02:03 PM
ive been using this for a while and it has worked very well. thanks.
skymac
03-31-2008, 02:26 PM
Now it work!!! great Job!.
Thank you very much!.
Alessandro!
Jafo232
03-31-2008, 02:29 PM
I have a feeling the #1 issue why some could not get the bridging to work is that they were creating a VB user with no email address, throwing a silent error in WP and not adding the user to WP. Had WP ever griped about it, I would have seen it. I added code to this version to just add a null email address to the field if it doesn't exist.
Fraik
03-31-2008, 06:01 PM
Thanks for the update, what does the new [gallery] tag do for vBulletin posts?
Jafo232
03-31-2008, 06:12 PM
I have no idea lol..
VNefedov
03-31-2008, 06:18 PM
Great job!
I've this mod installed and perfectly worked. Now I gonna place last post from vb on wordpress page. I can place any php code right in wp template files, I have a $vbulletin global variable, but I don't know how to use it :(
How to show last posts from vb on wp page using just php and $vbulletin variable?
thmst30
03-31-2008, 07:36 PM
nevermind my question was answered
glennybee
04-01-2008, 10:49 AM
Thanks for this mod, I'm following it step by step foe the 3rd time in the hope that it'll work 100% this time.
I'm at the 'Map Users' stage. I can see all the vBulletin usergroups and I can see my published blogs on my vBulletin forum so everything is working up to this point.
When I click 'Map Users', it says 'options saved'. Then I turn on "Turn Auto-Integrate On" and check my WB users and only userid - 1 has ported accross (my account). Then I can no longer gain access to the dashboard and getting a permissions denied error. I need to remove the vbbridge.php file from /wp-content/plugins folder and manually delete my vB admin account from the blog mysql database before I have control again.
Any help would be appreciated please?
Thanks
EDIT: Some info about my setup...
Forum: http://www.digital-kaos.co.uk
(including vBadvanced CMPS)
Forums: http://www.digital-kaos.co.uk/forums
WP Blog: http://www.digital-kaos.co.uk/blogs
All on the same domain, same hosting.
Jafo232
04-01-2008, 12:40 PM
Do the VB admin account and WP admin account share the same username? In otherwords, are they the same name?
glennybee
04-01-2008, 01:02 PM
No. The administrator account on WP is 'admin' (default) and the administrator account on vB is different.
I have a test account within the registered users usergroup in vB. I mapped this usergroup only, no others, and tested with the test account; logged into vB then over to blogs and it didn't recognise the account.
As soon as I turn on "Turn Auto-Integrate On" I can no longer log into the admin cp on WP with my 'admin' account, even if I've only mapped the registered users.
Thanks for your help Jafo232. :)
glennybee
04-01-2008, 01:18 PM
I've turned Auto-Integrate OFF now.
I wanted all blogs to show in a forum thread with the username of who posted the blog but doesn't look like this is going to work.
I can still get the thread to start but it will be with the specified username in vBridge Settings.
And I guess users will need to register again if they want to use the blog, thanks anyway.
Jafo232
04-01-2008, 04:33 PM
Do you have any special cookie settings in the Vbulletin options?
Fuzzer
04-02-2008, 12:29 PM
After the installation, I don't access to the Wp admin section. :-(
Jafo232
04-02-2008, 12:35 PM
Sounds like you didn't map the users properly or you are not logged into Vbulletin. Please read the readme carefully.
Fuzzer
04-02-2008, 03:00 PM
Sounds like you didn't map the users properly or you are not logged into Vbulletin. Please read the readme carefully.
Map VB usergroup: Administrators to:
Administrator | User role
and i click on Map User, after i set vbridge option on yes, after I don't access to the Wp admin section
Jafo232
04-02-2008, 04:34 PM
Is your VB username the same as the WP username?
Fuzzer
04-03-2008, 07:10 AM
Is your VB username the same as the WP username?
Yes, the same username and password.
Jafo232
04-03-2008, 02:19 PM
Then that is why. It clearly states it in the first thread you cannot do that.
Fuzzer
04-03-2008, 02:46 PM
Then that is why. It clearly states it in the first thread you cannot do that.
Now i've create a different nick for WordPress Admin but when i go to :
www.xxxxxxxx.net/blog/wp-admin
The browser redirect me to the forum login.
Jafo232
04-03-2008, 07:02 PM
Create a new user in VB with a totally different name, set to admin. Login to VB as that user, then go to WP.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.