vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=134521)

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

Quote:

Originally Posted by AWJunkies (Post 1396336)
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!

Quote:

Originally Posted by SBlueman (Post 1396617)
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

Quote:

Originally Posted by SBlueman (Post 1398539)
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

Quote:

Originally Posted by AWJunkies (Post 1398755)
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

Quote:

Originally Posted by AWJunkies (Post 1398440)
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/log...ut&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

Quote:

Originally Posted by Jafo232 (Post 1399447)
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

Quote:

Originally Posted by pericolosogr (Post 1399495)
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..

Quote:

Originally Posted by testaj (Post 1399515)
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

Quote:

Originally Posted by Jafo232 (Post 1399544)
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

Quote:

Originally Posted by iansilv (Post 1400123)
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...

Code:

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">
            &nbsp;&nbsp;&nbsp;&nbsp;<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?...Pimp+WorldNews

I hope somebody can help me...

Jafo232 12-13-2007 03:16 PM

Quote:

Originally Posted by CaraEurope (Post 1400436)
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

Quote:

Originally Posted by Jafo232 (Post 1400336)
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

Quote:

Originally Posted by pericolosogr (Post 1400947)
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

Quote:

Originally Posted by SBlueman (Post 1398984)
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

Quote:

Originally Posted by Jafo232 (Post 1401772)
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?

Quote:

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.

zand 12-18-2007 02:38 AM

Has anyone tried the plugin with the vB 3.7.0 Beta 2?


All times are GMT. The time now is 10:58 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02425 seconds
  • Memory Usage 1,848KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete