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)

Jafo232 02-15-2009 12:47 AM

Quote:

Originally Posted by joeymuk (Post 1744327)
I'm ever so sorry, I'm stupid. I didn't think i would have to click login from the wordpress side. seems users are working fine in wp :)

Ok, so we are all good here lol?

Jafo232 02-15-2009 12:48 AM

Quote:

Originally Posted by deepmartini (Post 1744329)
Hi, will this work the OTHER way around? Say a user registers via Wordpress, then goes to click on vbulletin forum. Will they be transported over via the database? Will they already be logged in? How can I get this plugin to work this way too? I have a wordpress membership site that users must register and signup via. I don't want them to have to sign up again via vbulletin and have duplicate entries. I also don't want to send them to vbulletin to sign up then have them resent back to Wordpress. How can I get this to work from signup on Wordpress and pushed into vbulletin? Many thanks for you help!!! I sincerely appreciate it. Warm Regards, Robert

It would be wise to disable registration in WP and just make the links to registration go to your VB registration.. The bridge does not share registrations in that way. Basically it is ONLY using the VB user tables and ignoring WP. If you deactivate the plugin, it goes back to using Wordpress (and the users that were there before you installed the plugin).

Jafo232 02-15-2009 12:50 AM

Quote:

Originally Posted by myHybridcar.com (Post 1744333)
Thanks for the update :) I can't seem to figure out what variable to use to get vBulletin login information. The old readme.txt said $vbuser, but that's not right anymore. How can I check if a user is logged in, and if so get their info?

Depends, usually if you just globalize the $vbulletin object, then you can use it like always:

Code:

global $vbulletin;

echo "Hi there " . $vbulletin->userinfo['username'];


joeymuk 02-15-2009 12:56 AM

Quote:

Originally Posted by Jafo232 (Post 1744399)
Ok, so we are all good here lol?

Yup,

Is there any chances of additional plugins for wordpress? user login, latest posts, who's online etc..
~Joey

P.s how would I go about getting vb inside my wordpress theme?

Thanks!

Jafo232 02-15-2009 01:04 AM

Quote:

Originally Posted by joeymuk (Post 1744410)
Yup,

Is there any chances of additional plugins for wordpress? user login, latest posts, who's online etc..
~Joey

P.s how would I go about getting vb inside my wordpress theme?

Thanks!

You can use the WP login already. :)

As for the rest, I will probably be doing that at some point soon, as I have a site that will need it.

As for getting VB into your WP theme, well, that is like asking where can I put nails in my house. :) Depends on where in your house and for what purpose. :P

Once the plugin is activated (auto-integrate), the $vbulletin object should be available to you just about everywhere. Just global $vbulletin; and you have it.

adairen 02-15-2009 01:24 AM

There seems to be a small editing bug:

- make a post in wordpress with a few images
- it shows up in the forum with the images shown
- edit the wordpress post
- images in forum do not show up anymore

any fix?

adairen 02-15-2009 01:36 AM

Also, are those the most updated instructions to use 'vb for comments'? I can't seem to find the comments.php file.

myHybridcar.com 02-15-2009 01:43 AM

Quote:

Originally Posted by Jafo232 (Post 1744404)
Depends, usually if you just globalize the $vbulletin object, then you can use it like always:

Code:

global $vbulletin;

echo "Hi there " . $vbulletin->userinfo['username'];


Thanks. What about if I want to use $vbulletin variables on a different directory that's in neither my Wordpress or vBulletin directories. Any way to make $vbulletin global there?

Jafo232 02-15-2009 04:09 AM

Quote:

Originally Posted by adairen (Post 1744427)
There seems to be a small editing bug:

- make a post in wordpress with a few images
- it shows up in the forum with the images shown
- edit the wordpress post
- images in forum do not show up anymore

any fix?

Yes, I see it now.. I added version 4.01 that should address this issue. Just upload the new vbbridge.php file.

Quote:

Originally Posted by adairen (Post 1744432)
Also, are those the most updated instructions to use 'vb for comments'? I can't seem to find the comments.php file.

I based this off of the default template because, well, there are about a million templates. Some template authors do not use a separate comments.php file. You may have to piece it together into your template. See wp-content/themes/default/comment.php for an example.

Jafo232 02-15-2009 04:09 AM

Quote:

Originally Posted by myHybridcar.com (Post 1744437)
Thanks. What about if I want to use $vbulletin variables on a different directory that's in neither my Wordpress or vBulletin directories. Any way to make $vbulletin global there?

Sure, include global.php. ;)


All times are GMT. The time now is 09:06 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.01990 seconds
  • Memory Usage 1,749KB
  • 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
  • (9)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