vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - vBSSO - vBulletin Single Sign-On (https://vborg.vbsupport.ru/showthread.php?t=270517)

mac_gyver 08-26-2012 12:28 AM

Quote:

Originally Posted by xeagle (Post 2359852)
The implementation of the plugin for Drupal 7 is in progress and it is supposed to be released on September. Currently there is only one way to use membership plugin is to use it separately with vBSSO plugin. If you would like to make both working in custom way you are always welcome to request a new feature via the form available at http://vbsso.com/request-new-feature/

Thnak U.

Okay I will use it.

I test the brigde and find some bugs.

1st Bug) if u log in on vBullitin directly - it will linked u to the homepage of wordpress.
-> Suggestion -> If u login via vb then u should come to the loginpage from vbullitin.
-> -> If u login via wp then u should come to the loginpage from wp. (like actually)


It woudl great if u fix that in the new release? :D

Should i post the bugs here or in the request formulat too ?

So far Kudos to you ...

MG

xeagle 08-26-2012 05:51 AM

Quote:

Originally Posted by mac_gyver (Post 2360016)
Thnak U.

Okay I will use it.

I test the brigde and find some bugs.

1st Bug) if u log in on vBullitin directly - it will linked u to the homepage of wordpress.
-> Suggestion -> If u login via vb then u should come to the loginpage from vbullitin.
-> -> If u login via wp then u should come to the loginpage from wp. (like actually)


It woudl great if u fix that in the new release? :D

Should i post the bugs here or in the request formulat too ?

So far Kudos to you ...

MG

Hi,

In your first case it seems you tried to log in from WordPress. Originally the user is being redirected to the page where he starts login process from. If the login is initiated from WordPress it redirects to WordPress, if it is initiated from vBulletin it redirects to vBulletin :)

If you have a different behavior please verify that non of your other plugins break or conflict with vBSSO.

Thank you,

Tom1234 08-28-2012 07:42 PM

We followed the installation instructions listed here:

http://vbsso.com/platforms/vbulletin/

We were successful at connecting to WP. We then clicked the "Remove" link to disable the connection followed by clicking the "Connect" button to re-establish the connection. This results in the following error:

Unable to verify platform [http://www.ourdomain.com/dir/wp-cont...sso/vbsso.php] Please analyze log files located at `~/vbdir/vbsso/logs/` to detect the cause of the issue.

The log file reports:

Tue Aug 28 13:21:14 2012,582 [30178] Object id #13 localFileLogger - Platform listener:
Tue Aug 28 13:21:14 2012,582 [30178] Object id #13 localFileLogger - array (
'url' => 'http://www.ourdomain.com/dir/wp-content/plugins/vbsso/vbsso.php',
'username' => '',
'lid' => '503d283a8d8de1.44273386',
)
Tue Aug 28 13:21:14 2012,583 [30178] Object id #13 localFileLogger - Platform request JSON: {"login_url":"http:\/\/www.ourdomain.com\/
vbdir\/vbsso\/vbsso.php?do=login","logout_url":"http:\/\/www.ourdomain.com\/vbdir\/vbsso\/vbsso.php?do=logout","register_url":"http:\/
\/www.ourdomain.com\/vbdir\/vbsso\/vbsso.php?do=register","lostpassword_url":"http:\/\/www.ourdomain.com\/vbdir\/vbsso\/vbsso
.php?do=lost-password","avatar_url":"http:\/\/www.ourdomain.com\/vbdir\/vbsso\/vbsso.php?do=avatar&id=","profile_url":"http:\/\/www.ourdomain.com\/vbdir\/vbsso\/vbsso.php?do=profile&id=","e":1,"lid":"503d283a8d8 de1.44273386","d":"http:\/\/www.ourdomain.com\/v
bdir\/admincp\/vbsso.php?do=admin_platforms"}
Tue Aug 28 13:21:14 2012,583 [30178] Object id #13 localFileLogger - Platform request encrypted JSON:

(long encrypted string here)

Tue Aug 28 13:21:14 2012,584 [30178] Object id #13 localFileLogger - Platform request urlencoded/encrypted JSON: (long encrypted string here)
Tue Aug 28 13:21:19 2012,585 [30178] Object id #13 localFileLogger - Communication: Platform returned http status code: 0
Tue Aug 28 13:21:19 2012,586 [30178] Object id #13 localFileLogger - Communication: Platform returned response:
Tue Aug 28 13:21:19 2012,586 [30178] Object id #17 localFileLogger - Communication: Unable to accept response:
Tue Aug 28 13:21:19 2012,586 [30178] Object id #17 localFileLogger -


So we can no longer connect. Any idea what went wrong?

Thanks,

xeagle 08-29-2012 05:55 PM

Quote:

Originally Posted by Tom1234 (Post 2360782)
We followed the installation instructions listed here:

http://vbsso.com/platforms/vbulletin/

We were successful at connecting to WP. We then clicked the "Remove" link to disable the connection followed by clicking the "Connect" button to re-establish the connection. This results in the following error:

Unable to verify platform [http://www.ourdomain.com/dir/wp-cont...sso/vbsso.php] Please analyze log files located at `~/vbdir/vbsso/logs/` to detect the cause of the issue.

The log file reports:

Tue Aug 28 13:21:14 2012,582 [30178] Object id #13 localFileLogger - Platform listener:
Tue Aug 28 13:21:14 2012,582 [30178] Object id #13 localFileLogger - array (
'url' => 'http://www.ourdomain.com/dir/wp-content/plugins/vbsso/vbsso.php',
'username' => '',
'lid' => '503d283a8d8de1.44273386',
)
Tue Aug 28 13:21:14 2012,583 [30178] Object id #13 localFileLogger - Platform request JSON: {"login_url":"http:\/\/www.ourdomain.com\/
vbdir\/vbsso\/vbsso.php?do=login","logout_url":"http:\/\/www.ourdomain.com\/vbdir\/vbsso\/vbsso.php?do=logout","register_url":"http:\/
\/www.ourdomain.com\/vbdir\/vbsso\/vbsso.php?do=register","lostpassword_url":"http:\/\/www.ourdomain.com\/vbdir\/vbsso\/vbsso
.php?do=lost-password","avatar_url":"http:\/\/www.ourdomain.com\/vbdir\/vbsso\/vbsso.php?do=avatar&id=","profile_url":"http:\/\/www.ourdomain.com\/vbdir\/vbsso\/vbsso.php?do=profile&id=","e":1,"lid":"503d283a8d8 de1.44273386","d":"http:\/\/www.ourdomain.com\/v
bdir\/admincp\/vbsso.php?do=admin_platforms"}
Tue Aug 28 13:21:14 2012,583 [30178] Object id #13 localFileLogger - Platform request encrypted JSON:

(long encrypted string here)

Tue Aug 28 13:21:14 2012,584 [30178] Object id #13 localFileLogger - Platform request urlencoded/encrypted JSON: (long encrypted string here)
Tue Aug 28 13:21:19 2012,585 [30178] Object id #13 localFileLogger - Communication: Platform returned http status code: 0
Tue Aug 28 13:21:19 2012,586 [30178] Object id #13 localFileLogger - Communication: Platform returned response:
Tue Aug 28 13:21:19 2012,586 [30178] Object id #17 localFileLogger - Communication: Unable to accept response:
Tue Aug 28 13:21:19 2012,586 [30178] Object id #17 localFileLogger -


So we can no longer connect. Any idea what went wrong?

Thanks,

left message in PM to get more details :) and later as soon as we get this solved, we will publish the solution to help others to solve the similar issues.

Tom1234 08-31-2012 06:45 PM

We determined the cause of our connection problem was
a firewall blocking rule.

Thanks for your help.

mathforum 08-31-2012 07:40 PM

I can't seem to find any examples of WP + vB integration despite many posts in this thread. Is anyone willing to share what they've done?

xeagle 09-02-2012 11:01 AM

Quote:

Originally Posted by mathforum (Post 2361550)
I can't seem to find any examples of WP + vB integration despite many posts in this thread. Is anyone willing to share what they've done?

The instructions are available at http://vbsso.com/platforms/wordpress/ :)

mathforum 09-02-2012 05:13 PM

Quote:

Originally Posted by xeagle (Post 2361928)
The instructions are available at http://vbsso.com/platforms/wordpress/ :)

I'm not asking about the install. That part seems easy enough. I'm talking about how good it looks integrating Wordpress and vBulletin. I'm considering doing this over buying vB CMS software but want to see some example sites of how others have integrated WP+vB. Haven't found a single example yet.

hpidriver 09-02-2012 08:21 PM

mathforum, there isn't much of a visual or theme integration between WP and vB. This plugin simply shares users between platforms.

I am connecting multiple existing WP blogs to my VB forums so that people can participate on Wordpress without the hassle of registering another new account for each blog.

I would suggest trying out WP first since it is free anyways. You can use the RSS feeds from vbulletin to automatically cross post threads to WP as blog entries and vice versa.

ia7 09-05-2012 08:33 PM

This is a great wee plugin, easy to setup and configure if your server has the relevant settings done correctly, however the issue with not being able to 'save stylesheets to files' is still around. Is this being looked into or does anyone know of a fix for that?

Thanks!

rjerina 09-12-2012 05:37 PM

I have downloaded and installed this on a brand new forum and WP install. The site is running on full SSL (https://). When I click login on the WP site, it sends me to vB4 to log in. Once I log in, it tries to redirect me back to the home page of WP, but instead of sending me to "https://www.yourdomain.com", it sends me to "http://www.yourdomain.com:443". This is not good, as so my browser explains it is a Bad Request.

All of my settings in vB4 and WP show https:// for anything needing a full URL.

edit: note it works in IE because IE automatically corrects it. Firefox and Chrome however don't, but they really shouldn't anyways.

xeagle 09-12-2012 05:54 PM

Quote:

Originally Posted by rjerina (Post 2364849)
I have downloaded and installed this on a brand new forum and WP install. The site is running on full SSL (https://). When I click login on the WP site, it sends me to vB4 to log in. Once I log in, it tries to redirect me back to the home page of WP, but instead of sending me to "https://www.yourdomain.com", it sends me to "http://www.yourdomain.com:443". This is not good, as so my browser explains it is a Bad Request.

All of my settings in vB4 and WP show https:// for anything needing a full URL.

Please use the http://vbsso.com/request-new-feature/ form to submit the full description of the flow how we would be able to reproduce your issue step by step. We will contact you and try to look through.

rjerina 09-13-2012 11:06 AM

Quote:

Originally Posted by xeagle (Post 2364860)
Please use the http://vbsso.com/request-new-feature/ form to submit the full description of the flow how we would be able to reproduce your issue step by step. We will contact you and try to look through.

Submitted. Upon my own investigation, I found this:

Code:

    function sharedapi_get_server_url($uri = true) {
        $url = 'http://' . $_SERVER['SERVER_NAME'] . ($_SERVER['SERVER_PORT'] != '80' ? ':' . $_SERVER['SERVER_PORT']
            : '');

Looks like it may be the culprit, or part of it at least.




edit: fixed it. replace the code above with the code below in includes/sharedapi.php in both vb4 and WP vbsso plugin directories:

Code:

      function sharedapi_get_server_url($uri = true) {
    if ($_SERVER['SERVER_PORT'] == '80') {
                $url = 'http://' . $_SERVER['SERVER_NAME'] . '';
        } else if ($_SERVER['SERVER_PORT'] == '443') {
                $url = 'https://' . $_SERVER['SERVER_NAME'] . '';
        } else {
                $url = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . '';
        }


I'm sure it could be made cleaner with the $_SERVER['HTTPS'] variable (on/off). Maybe I'll mess with that later.

xeagle 09-13-2012 02:08 PM

Quote:

Originally Posted by ia7 (Post 2362997)
This is a great wee plugin, easy to setup and configure if your server has the relevant settings done correctly, however the issue with not being able to 'save stylesheets to files' is still around. Is this being looked into or does anyone know of a fix for that?

Thanks!

Just a confused with the issue. Could you please submit the details through http://vbsso.com/request-new-feature/ form and tell us your vB version?

Tom1234 09-13-2012 05:49 PM

Why are only "new" users in VB exported to WP and existing users in VB not seen by WP?

xeagle 09-14-2012 05:10 AM

Quote:

Originally Posted by Tom1234 (Post 2365178)
Why are only "new" users in VB exported to WP and existing users in VB not seen by WP?

The existing users are created in WordPress once somebody from existing users logs in to vBulletin.

animcentral 09-18-2012 09:07 AM

hey mate, first i need to thank you for your awesome plugins.
i have a question,
Quote:

Implemented support of user profile and author links for connected vBulletin platform.
how am i able to use this feature? i need it alot!
unfortunately when i
PHP Code:

<?php echo get_author_posts_url$post->post_author); ?>

it's only show wordpress author urls not vbulletin profile page! :(
i disabled/enabled this option in wordpress but no luck

GameOverViper 09-18-2012 10:42 PM

Can you use it to connect the logins of different vbulletin sites?

xeagle 09-19-2012 08:04 AM

Quote:

Originally Posted by animcentral (Post 2366379)
hey mate, first i need to thank you for your awesome plugins.
i have a question,

how am i able to use this feature? i need it alot!
unfortunately when i
PHP Code:

<?php echo get_author_posts_url$post->post_author); ?>

it's only show wordpress author urls not vbulletin profile page! :(
i disabled/enabled this option in wordpress but no luck

Sorry, had no time to take a look at this. Will look through and come up with the feedback.

xeagle 09-19-2012 08:05 AM

Quote:

Originally Posted by GameOverViper (Post 2366564)
Can you use it to connect the logins of different vbulletin sites?

Yes, of course. The solution allows to connect multiple vBulletin sites to your master vBulletin site.

cavyspirit 09-19-2012 11:41 PM

Looking for a Joomla connection. I also have PHOTOPOST which seems to preclude a jFusion solution. Really need to have a SSO between them all.

xeagle 09-21-2012 04:00 PM

Quote:

Originally Posted by animcentral (Post 2366379)
hey mate, first i need to thank you for your awesome plugins.
i have a question,

how am i able to use this feature? i need it alot!
unfortunately when i
PHP Code:

<?php echo get_author_posts_url$post->post_author); ?>

it's only show wordpress author urls not vbulletin profile page! :(
i disabled/enabled this option in wordpress but no luck

So, the method works properly. It generates the url to WordPress and once user clicks on that url in case of enabled vBSSO WordPress plugin, the plugin redirects to the correct vBulletin author's page.

animcentral 09-22-2012 09:45 AM

Quote:

Originally Posted by xeagle (Post 2367349)
So, the method works properly. It generates the url to WordPress and once user clicks on that url in case of enabled vBSSO WordPress plugin, the plugin redirects to the correct vBulletin author's page.

thanks, i had a conflict in my taxonomy settings with author name.
is there anyway to get "user forum id" in wordpress?
i don't wanna connect to vbulletin database and query username just to get user id, i hope vbsso make a solution for it.

xeagle 09-22-2012 11:09 AM

Quote:

Originally Posted by animcentral (Post 2367555)
thanks, i had a conflict in my taxonomy settings with author name.
is there anyway to get "user forum id" in wordpress?
i don't wanna connect to vbulletin database and query username just to get user id, i hope vbsso make a solution for it.

Currently vBSSO doesn't pass the user id to vBulletin, however it's easy to extend the script to get it done and pass ID from vBulletin to WordPress during the authentication process. You are personally free to extend the script or donate to let us include this feature to the next release of the plugins. Thanks.

livetech 09-25-2012 02:52 PM

Hi All :)

A question about User Groups.

I have a Vbulletin 4.2.0 and a Wordpress 3.4.2

I have installed the VB and the WP plugins.

Out of the box, if a new user signs up to the VB - then a new user appears in the WP - Great.

But, I would like to have only the members of a custom created User Group in VB become users of the Wordpress.

So, in the VB I entered the name of the User Group in the Access Settings and hit save.

I then changed on of the VB users from a Primary Usergroup of Registered User to my Custom User Group - and hit save. (logged into the admincp as admin user)

Nothing happens in WP - no user created.

Am I doing something wrong, or does the Access Settings / User Groups work differently?

xeagle 09-28-2012 03:39 AM

Quote:

Originally Posted by livetech (Post 2368452)
Hi All :)

A question about User Groups.

I have a Vbulletin 4.2.0 and a Wordpress 3.4.2

I have installed the VB and the WP plugins.

Out of the box, if a new user signs up to the VB - then a new user appears in the WP - Great.

But, I would like to have only the members of a custom created User Group in VB become users of the Wordpress.

So, in the VB I entered the name of the User Group in the Access Settings and hit save.

I then changed on of the VB users from a Primary Usergroup of Registered User to my Custom User Group - and hit save. (logged into the admincp as admin user)

Nothing happens in WP - no user created.

Am I doing something wrong, or does the Access Settings / User Groups work differently?

Access Settings lets you restrict login access for the users from a vBulletin certain User Groups to get access to the connected WordPress or other platforms. The setting doesn't reflect just created / registered users if they are not in a specified group. Is it answering your question?

livetech 09-28-2012 07:14 AM

Hi Xeagle,

Many thanks for the reply.

I have the Access settings set for “Contributor”

When in Vbulletin admin area, when I assign a Regular user to the Contributor User Group, nothing appears in the users in the wordpress.

Should they?

Cheers

Grant

livetech 09-28-2012 09:22 AM

Cant login into wp-admin - it just redirects to the Vbulletin admin

Quote:

Originally Posted by xeagle (Post 2265575)
You did create accounts and did not specified email address for each registered one. Make sure you have email specified, additionally have no duplicated accounts (accounts with multiple similar email addresses) and your administrative WP account matches to your vBulletin account (username and email).

Thank you,

I have changed the wp_users table in php myadmin to make the Vbulleting Admin user and the Wordpress Admin user have the same username and email address.

But still cant get to wp-admin...

Any ideas?

xeagle 09-29-2012 01:17 PM

Quote:

Originally Posted by livetech (Post 2369179)
Cant login into wp-admin - it just redirects to the Vbulletin admin



I have changed the wp_users table in php myadmin to make the Vbulleting Admin user and the Wordpress Admin user have the same username and email address.

But still cant get to wp-admin...

Any ideas?

As I know we are talking to you through mails to identify the issue.

Mattlab 10-02-2012 07:31 PM

Hi,

I just sent an email to the request a new feature form and was wondering if you could take a peak.

But my general question is do you know when the Drupal plugin will be ready? I am extremely interested in using it ASAP.

Thank you!
Mattlab

xeagle 10-03-2012 02:58 AM

Quote:

Originally Posted by Mattlab (Post 2370282)
Hi,

I just sent an email to the request a new feature form and was wondering if you could take a peak.

But my general question is do you know when the Drupal plugin will be ready? I am extremely interested in using it ASAP.

Thank you!
Mattlab

Hi Matt, yes we just replied in your message and looking forward to hearing from you soon.

Hamma 10-05-2012 01:08 AM

I'm getting an error in the logs when I attempt to fetch avatars from vBSSO to Wordpress.

Thu Oct 4 21:07:21 2012,930 [2956] WARN localFileLogger - PHP WARNING: [2] Cannot modify header information - headers already sent by (output started at /path/to/forums/includes/class_core.php:2552) on line 3161 in file /path/to/forums/includes/functions.php. PHP 5.3.5-1ubuntu7.10 (Linux)

I've moved Avatars to file system and even disabled and re-enabled the option but it continues happening. Thoughts?

xeagle 10-05-2012 03:17 AM

Quote:

Originally Posted by Hamma (Post 2370857)
I'm getting an error in the logs when I attempt to fetch avatars from vBSSO to Wordpress.

Thu Oct 4 21:07:21 2012,930 [2956] WARN localFileLogger - PHP WARNING: [2] Cannot modify header information - headers already sent by (output started at /path/to/forums/includes/class_core.php:2552) on line 3161 in file /path/to/forums/includes/functions.php. PHP 5.3.5-1ubuntu7.10 (Linux)

I've moved Avatars to file system and even disabled and re-enabled the option but it continues happening. Thoughts?

Some of your plugins might render something out of the proper way or there is a php warning or note comes out somewhere. Let's try to disable your other plugins temporarily step by step and see which of them impacted to that issue.

Hamma 10-05-2012 03:26 PM

vBulletin Plugins, or Wordpress Plugins?

xeagle 10-05-2012 07:36 PM

Quote:

Originally Posted by Hamma (Post 2370980)
vBulletin Plugins, or Wordpress Plugins?

vBulletin Plugins :)

Hamma 10-05-2012 08:14 PM

Disabled all but vBsso and still happening.

xeagle 10-06-2012 08:46 AM

Quote:

Originally Posted by Hamma (Post 2371051)
Disabled all but vBsso and still happening.

Please contact us via http://vbsso.com/request-new-feature/ form, tell us your website domain to let us take a look at it.

Akangage 10-09-2012 02:47 AM

Success but the guest can not post in the host, how to do it? both forum using vBulletin.

Thanks

xeagle 10-09-2012 05:20 PM

Quote:

Originally Posted by Akangage (Post 2371697)
Success but the guest can not post in the host, how to do it? both forum using vBulletin.

Thanks

Unfortunately don't understand your question. Could you please be more descriptive to understand your issue?

Akangage 10-10-2012 05:30 AM

Quote:

Originally Posted by xeagle (Post 2371830)
Unfortunately don't understand your question. Could you please be more descriptive to understand your issue?

The connection of 2 vB using vBSSO is done, OK. Unfortunately both of them can make a post, either in master or slave. How to able to make a post in both of vBulletin.

Thanks


All times are GMT. The time now is 08:10 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.02494 seconds
  • Memory Usage 1,877KB
  • 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
  • (3)bbcode_php_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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