vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=205388)

RyanC 12-18-2010 01:02 PM

There are a number of people willing to pay up for a new developer to take over... I'm certainly one of them.

Shadawg 12-21-2010 02:26 PM

Its definitely a database selection error. I rewrote one of our theme pages to call ourdatabase.wp_ratings and it worked. I am trying to track down what exactly is overriding the WP database selection. I am working on this for a customer but i think i might pick it up if it truly has been dropped by the current author.

John Stone 12-21-2010 02:42 PM

I thought I'd post my solution in the hopes that it will help someone else.

I found this plugin, which allows WP users to authenticate from an external database:

http://wordpress.org/extend/plugins/...uthentication/

I had to modify the source code to deal with vB's salted MD5 hashes, but apart from that it did the trick.

On the plugin config page select "Other" for the Password encryption method, then put this in for the Hash code:

Code:

$password2 = md5(md5($password) . $salt);
Then you'll just need to modify the plugin source code so it can grab the salt from the vB DB. Just search for case "Other" and replace what's there with this code:

Code:

       
case "Other" :           
          $query = "SELECT salt FROM " . get_option('ext_db_table') . " WHERE " . get_option('ext_db_namefield') . " = '$username'";
          $result = db_functions($driver,"query",$resource,$query);
          $row = db_functions($driver,"fetch",$result,"");
          $salt = $row["salt"];         
          eval(get_option('ext_db_other_enc'));
          break;

Hope this helps. :)

earthome 12-27-2010 10:55 PM

Fatal error: Call to undefined function wp_clearcookie() in /home/name/domains/abc.com/public_html/wp-content/plugins/vbbridge.php on line 131

vbb IS 3.84 PL2 wp is 3.03

earthome 12-28-2010 04:42 AM

Quote:

Originally Posted by earthome (Post 2139860)
Fatal error: Call to undefined function wp_clearcookie() in /home/name/domains/abc.com/public_html/wp-content/plugins/vbbridge.php on line 131

vbb IS 3.84 PL2 wp is 3.03

In vbbridge.php, find wp_clearcookie()

change to

wp_set_auth_cookie( $user_id, $remember, $secure);

earthome 12-28-2010 05:12 AM

1 Attachment(s)
https://vborg.vbsupport.ru/attachmen...1&d=1293520193


https://vborg.vbsupport.ru/attachmen...1&d=1293520193

author

why>??>??????

JamieLee2k 12-28-2010 01:22 PM

I was getting errors during install but thats all sorted, I am confused about something simple:

Whats the difference between VB User ID, VB Username & VB Forum ID during setup? and do I need to fill them all in?

JamieLee2k 12-28-2010 07:34 PM

So I am having this new problem when I install it online.

Soon as I turn on integration it kicks me out and I get a blank page, if I do the same thing using localhost it's fine.

The only way I can get it working is to go into WP_Options and delete all the vbb files, any idea's

Edgespeeder06 12-31-2010 10:51 PM

so in order for this to definitely work the blog and forum have to be on the same domain?

I'm trying to get my www.NJStangers.org forum linked with my Wordpress domain www.NJStangers.net to auto post but just from the sections that are public.

Does it being on different domains make it too complicated or will this version work with it?

amjadz4 01-08-2011 08:15 PM

Quote:

Originally Posted by Edgespeeder06 (Post 2142068)
so in order for this to definitely work the blog and forum have to be on the same domain?

I'm trying to get my www.NJStangers.org forum linked with my Wordpress domain www.NJStangers.net to auto post but just from the sections that are public.

Does it being on different domains make it too complicated or will this version work with it?

Should be on the same domain! :)


All times are GMT. The time now is 10:00 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.02078 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (2)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