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)

Jafo232 12-26-2006 04:30 PM

Quote:

Originally Posted by Harley D (Post 1145368)
I am using VB 3.5.4
WordPress 2.05
VB & WP are on 2 different domains, on the same server but different databases. I have hard codded the RELATIVE file directory to VB.

As it states in the lead post in this thread, they BOTH MUST reside in the same database.

You need not be on the same domain IF, and only IF, you just want to use it as a comment bridge.

gilshafir 12-26-2006 06:51 PM

This is at the end of my rss file:

</rss>
<br />
<b>Fatal error</b>: Call to a member function unlock_tables() on a non-object in <b>/home/mysite/public_html/forum/includes/functions.php</b> on line <b>4998</b><br />

Jafo232 12-26-2006 07:45 PM

Quote:

Originally Posted by abcdefgary (Post 1145411)
Hmm, I'm having a hard time getting the comments to work, I don't mean sharing users, but this code right here in the readme file:



Do I need to turn the auto-integrate thing on after I insert this code? thanks.

Do not turn auto-integrate on until comments work!

Jafo232 12-26-2006 10:24 PM

Quote:

Originally Posted by abcdefgary (Post 1145485)
no, no, no. I tested it and wrote a post, which automatically wrote that same post in my forums.

However, I want to now display how many comments there are for that thread and display the link to the thread. But I keep getting an error whenever I insert the code in the readme file in.

What error do you get?

axisoverdrive 12-26-2006 11:09 PM

Quote:

Originally Posted by Jafo232 (Post 1145154)
This is not true, it does work. You must make sure you turn on the setting ""Turn Auto-Integrate" on. The WP and VB scripts MUST reside on the same domain name so they can share cookies.

If you made any edit to the standard cookie setup on Vbulletin, then perhaps you may experience issues, but otherwise you should be all set.

Hey Jafo,

Yep. both wordpress and vb are under the same domain, and share the same database. Posting comments from WP to VB works fine. The only problem is the user databases aren't shared, and the WP login link forwards to VB, despite VB not having the same user accounts as WP. Therefore, if "auto integrate" is turned on, there's no way to get into the WP Admin page anymore.

Any ideas on what may be causing hte conflict? Anything i should check?

Thanks!

axisoverdrive 12-27-2006 03:31 AM

Quote:

Originally Posted by abcdefgary (Post 1145575)
<?php
}
##End Vbridge Replacement

Note, if you deactivate the vbridge plugin, you must remove this code.
?> <?php edit_post_link(__('Edit This')); ?>[/code]

and in the end, I get a Parse Error :confused:

Hey, abcefgary -- try removing the "Note, if you deactivate the vbridge plugin, you must remove this code." and see if you still get that same parse error.

SaN-DeeP 12-28-2006 12:14 AM

great work Jafo gonna test this now.

axisoverdrive 12-28-2006 04:13 AM

Has anyone gotten the plugin to work perfectly yet? If so, could you post a link to your functioning site?

Thanks!

Jafo232 12-28-2006 11:08 PM

Quote:

Originally Posted by axisoverdrive (Post 1145546)
Hey Jafo,

Yep. both wordpress and vb are under the same domain, and share the same database. Posting comments from WP to VB works fine. The only problem is the user databases aren't shared, and the WP login link forwards to VB, despite VB not having the same user accounts as WP. Therefore, if "auto integrate" is turned on, there's no way to get into the WP Admin page anymore.

Any ideas on what may be causing hte conflict? Anything i should check?

Thanks!

The users must login via Vbulletin. When those users then go to the wordpress page, they should be logged in under the same username as they have in VB.

Jafo232 12-28-2006 11:09 PM

Quote:

Originally Posted by abcdefgary (Post 1145654)
thanks! that works perfectly.

I have two more questions, though, sorry.

1.) Is there any way to "grab" the comments from the thread in vBulletin and post them in the comments.php ?
2.) Is there a "most commented post" plugin I could display in the sidebar if I use vBridge?

Thanks.

#1 - No. You either use the comment code (That you replaced in your template file) or not. If you choose not to use it, then comments will be like they always were.

#2 - I have no idea.


All times are GMT. The time now is 05:04 PM.

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.02419 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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