PDA

View Full Version : Add-On Releases - vBSSO - vBulletin Single Sign-On


Pages : 1 2 3 4 5 [6]

xeagle
03-15-2018, 10:19 AM
I have disabled vbsso because i have installed vb5.4
Now i have the problem of access to wordpress accounts

If re-enabled the plugin to remove the configurations I get this error:

Fatal error: Call to undefined method Composer\Autoload\ClassLoader::setApcuPrefix() in /web/wp-content/plugins/vbsso/vendor/composer/autoload_real.php on line 39


How can I re-enable the plugin or completely uninstall the fields in the db?

Thank you for reaching out.

We regret to hear that you have stopped using vBSSO product.

To uninstall the plugin completely, please (skip 2 first steps in case you are getting error during pugin enabling):
1. Disconnect your platforms;
2. Uninstall vBSSO via Admin Panel;
3. Delete vBSSO files via FTP manager (if needed).

If you need any assistance please feel free to contact our support team.
We will do our best to help you.

bfdzio
03-15-2018, 02:26 PM
vBSSO will create TEST USER on WordPress automatically.

Bingo, that is exactly what I was looking for. That is how aMember works and I'm thinking that the issue we were having is actually just because it was my "test" account (literally named test). For some reason, that account causes problems on these things. Same with the aMember user creation.


Regarding your login issue - it seems you have not added vBSSO widget on your WordPress site. Could you please check this out? This widget is required (WordPress > Appearance > Widgets > add vBSSO Login widget to you widget area):

- it will redirect your users to vBulletin`s registration page and let them pass the registration on vBulletin
- vBSSO will add newly registered user to WordPress automatically

In case additional help please contact our support team to submit a support ticket and we will do our best to help you.

Thank you,

I have the widget set up and was using that.

All registration happens on vBulletin for me, and I actually don't need people to login from Wordpress other than just convenience. Any way, I think the issue is just with that particular account because my main account I can login from.

xeagle
03-16-2018, 07:50 AM
Bingo, that is exactly what I was looking for. That is how aMember works and I'm thinking that the issue we were having is actually just because it was my "test" account (literally named test). For some reason, that account causes problems on these things. Same with the aMember user creation.



I have the widget set up and was using that.

All registration happens on vBulletin for me, and I actually don't need people to login from Wordpress other than just convenience. Any way, I think the issue is just with that particular account because my main account I can login from.

Thank you for feedback,

Can you check out that particular account?
- it should exist on your WordPress and vBulletin sides;
- it should has one similar email address;
- it should has one similar password;
(- please check out sso access settings - the group your test user belongs to is allowed to be logged in WordPress? vBSSO > Access Settings > WordPress should be enabled)

Please check out these conditions (fix manually if needed) and your test account will be able to log in both platforms.

After enabling vBSSO and platform connection - your new registered accounts will bу added to WordPress automatically (with one similar email and password) and will be able to use sso.

bfdzio
03-19-2018, 02:51 PM
Thank you for feedback,

Can you check out that particular account?
- it should exist on your WordPress and vBulletin sides;
- it should has one similar email address;
- it should has one similar password;
(- please check out sso access settings - the group your test user belongs to is allowed to be logged in WordPress? vBSSO > Access Settings > WordPress should be enabled)

Please check out these conditions (fix manually if needed) and your test account will be able to log in both platforms.

After enabling vBSSO and platform connection - your new registered accounts will bу added to WordPress automatically (with one similar email and password) and will be able to use sso.

Ok so the actual issue is just that I need to get the accounts that are already registered into Wordpress. Is there a simple way to pull that off?

xeagle
03-20-2018, 07:40 AM
Ok so the actual issue is just that I need to get the accounts that are already registered into Wordpress. Is there a simple way to pull that off?

Unfortunately, vBSSO can not check out the users that were registered before connecting the platforms - you should check those users manually or add some script.

If you need assistance with such script implementation we can propose our help (this is paid feature). Please contact our support team if you are interested.

Thank you for using vBSSO product.

precharge
07-24-2018, 08:06 PM
Tried installing, wordpress works fine but on vbulletin 4.2.5 get this error

PHP Fatal error: Cannot use $this as parameter in /var/www/html/vbsso/vbsso.php on line 415

precharge
07-24-2018, 10:15 PM
Tried installing, wordpress works fine but on vbulletin 4.2.5 get this error

PHP Fatal error: Cannot use $this as parameter in /var/www/html/vbsso/vbsso.php on line 415

I was able to get it working.

That said, is if possible to have Wordpress act as a master? Or at least use its user data?

xeagle
07-25-2018, 06:32 PM
Tried installing, wordpress works fine but on vbulletin 4.2.5 get this error

PHP Fatal error: Cannot use $this as parameter in /var/www/html/vbsso/vbsso.php on line 415

Hi, there,
thank you for reaching out.

We regret to hear that you have an issue with vBSSO product.

Could you please contact vBSSO support team http://vbsso.com/report-an-issue/ describing the steps you use to reproduce your case on your website (please add as more information as you can - both site urls, steps how to reproduce the issue, screenshots etc).

We will do our best to help you.
Thank you for using VBSSO.

xeagle
07-25-2018, 06:39 PM
I was able to get it working.

That said, is if possible to have Wordpress act as a master? Or at least use its user data?

Thank you for reaching out!

If you are intersted in SSO product where Wordpress act as a master please review SSO vBulletin plugin - where WordPress holds the master users database and all the user-related operations are managed there.

Please find details here --> https://wordpress.org/plugins/sso-vbulletin/ or contact our support team to get more details.

Please do not hesitate to contact us in case of any issues.
Thank you,

aminp30
08-14-2018, 04:10 PM
hi

I updated to latest version but I have a problem.
I have to use smtp method to mailing. in registration page after send register button I got this message:



PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in ..../includes/class_mail.php on line 776

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../includes/class_core.php:6075) in ..../vbsso/vendor/com.extremeidea.vbsso/vbsso-connect-shared/sharedapi.php on line 281

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../includes/class_core.php:6075) in ..../vbsso/vendor/com.extremeidea.vbsso/vbsso-connect-shared/sharedapi.php on line 281

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../includes/class_core.php:6075) in ..../vbsso/vendor/com.extremeidea.vbsso/vbsso-connect-shared/sharedapi.php on line 281

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../includes/class_core.php:6075) in ..../vbsso/vendor/com.extremeidea.vbsso/vbsso-connect-shared/sharedapi.php on line 281


PHP Warning: mail(): You are not allowed to send emails via PHPMail. For more information contact your server administrator in ..../vbsso/includes/functions_logging_log4php.php on line 92


how can I fix this problem?

xeagle
08-16-2018, 10:45 AM
hi

I updated to latest version but I have a problem.
I have to use smtp method to mailing. in registration page after send register button I got this message:



PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in ..../includes/class_mail.php on line 776

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../includes/class_core.php:6075) in ..../vbsso/vendor/com.extremeidea.vbsso/vbsso-connect-shared/sharedapi.php on line 281

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../includes/class_core.php:6075) in ..../vbsso/vendor/com.extremeidea.vbsso/vbsso-connect-shared/sharedapi.php on line 281

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../includes/class_core.php:6075) in ..../vbsso/vendor/com.extremeidea.vbsso/vbsso-connect-shared/sharedapi.php on line 281

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../includes/class_core.php:6075) in ..../vbsso/vendor/com.extremeidea.vbsso/vbsso-connect-shared/sharedapi.php on line 281


PHP Warning: mail(): You are not allowed to send emails via PHPMail. For more information contact your server administrator in ..../vbsso/includes/functions_logging_log4php.php on line 92


how can I fix this problem?

Could you please inform PHP version that you are using?

aminp30
08-17-2018, 01:24 AM
Could you please inform PHP version that you are using?

version 7.0

TiKu
08-19-2018, 06:26 PM
When will Mediawiki 1.29 and newer be supported?

TiKu
10-24-2018, 03:31 AM
Okay, fixed this myself, also the mcrypt deprecation warnings of PHP 7.2.
Does anybody have the problem that he gets logged of Mediawiki each day? I already had this before I touched the code of vBSSO and have no idea why this is happening. I don't have this problem with Wordpress.

MrZeropage
10-28-2018, 09:08 AM
When importing the vbsso.xml it stops with few dots... tried it several times.

vB4.2.5 and PHP7.1

MrZeropage
10-30-2018, 09:02 PM
*solved*

PHP7.1 was the problem, after switching to PHP7.0 all is fine

TiKu
11-03-2018, 08:00 PM
Okay, fixed this myself, also the mcrypt deprecation warnings of PHP 7.2.
Does anybody have the problem that he gets logged of Mediawiki each day? I already had this before I touched the code of vBSSO and have no idea why this is happening. I don't have this problem with Wordpress.
Fixed it. vBSSO-Mediawiki called User::setCookies with the $rememberMe parameter always being set to false, so that the user gets logged out when the session times out.

ndahiya
11-12-2018, 03:49 AM
Okay, fixed this myself, also the mcrypt deprecation warnings of PHP 7.2.
Does anybody have the problem that he gets logged of Mediawiki each day? I already had this before I touched the code of vBSSO and have no idea why this is happening. I don't have this problem with Wordpress.

how did you fix it? my host recently moved to easyapache 4. still using php 7.0, but breaks vbsso linkage - some issue with the cookies (not sure what the problem is, but under the old cpanel setup, it was fine - no other changes). appreciate any color as this is a critical piece of our side, and the developer is not active.

ndahiya

TiKu
11-17-2018, 04:32 PM
how did you fix it? my host recently moved to easyapache 4. still using php 7.0, but breaks vbsso linkage - some issue with the cookies (not sure what the problem is, but under the old cpanel setup, it was fine - no other changes). appreciate any color as this is a critical piece of our side, and the developer is not active.

ndahiya
Sorry for my late reply. I did not have time earlier.
Well, switching from mcrypt to OpenSSL is quite easy. I edited the file vendor/com.extremeidea.vbsso/vbsso-connect-shared/sharedapi.php (these edits are required in each connected platform):
In sharedapi_encrypt:

//return trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_ 128, $key, $data, MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAE L_128, MCRYPT_MODE_ECB), MCRYPT_RAND))));
$iv = openssl_random_pseudo_bytes(openssl_cipher_iv_leng th('AES-128-CBC'));
return base64_encode($iv . openssl_encrypt($data, 'AES-128-CBC', $key, OPENSSL_RAW_DATA, $iv));

In sharedapi_decrypt:

//return trim(mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, base64_decode($data), MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAE L_128, MCRYPT_MODE_ECB), MCRYPT_RAND)));
$raw = base64_decode($data);
$iv_length = openssl_cipher_iv_length('AES-128-CBC');
$iv = substr($raw, 0, $iv_length);
return openssl_decrypt(substr($raw, $iv_length), 'AES-128-CBC', $key, OPENSSL_RAW_DATA, $iv);


In vBSSO for vBulletin I've also edited edited the function vbsso_helper_verify_platform_verification in includes/functions_helper.php:

return $json && is_array($json)
&& in_array($json[SHAREDAPI_EVENT_FIELD_PRODUCT], array_keys(sharedapi_get_platforms()))
&& isset($json[SHAREDAPI_EVENT_FIELD_DATA][SHAREDAPI_EVENT_FIELD_VERIFY])
&& $json[SHAREDAPI_EVENT_FIELD_DATA][SHAREDAPI_EVENT_FIELD_VERIFY];

But I think this is part of another change I made (display detailed errors in admincp in case of a connection error between connected platforms).

For supporting Mediawiki 1.30 and newer, the plugin needs to be converted. These are too many edits to list them here. I'm not sure how the devs of vBSSO feel about having their commercial product being edited and uploaded by others. On the other hand this product seems abandoned. So @vBSSO: just drop me a friendly message if you want me to remove the file.

MrZeropage
11-18-2018, 09:08 AM
You got this working with PHP 7.2 and WordPress (actual version) and vBulletin 4.2.5 ?

ndahiya
11-18-2018, 03:11 PM
For supporting Mediawiki 1.30 and newer, the plugin needs to be converted. These are too many edits to list them here. I'm not sure how the devs of vBSSO feel about having their commercial product being edited and uploaded by others. On the other hand this product seems abandoned. So @vBSSO: just drop me a friendly message if you want me to remove the file.

FWIW, it does work on mediawiki 1.32 and php 7.0 (without the edits in your post)

There was some issue that I was best able to discern - regarding the session handler, but did not change any code. With igbinary as session handler, it worked without the mcrpyt changes above (not sure why that should matter - but was not able to login to wiki without it).

Would be awesome if someone could take a stab at figuring it out. Really useful mod... if only....

Ndahiya

MrZeropage
11-18-2018, 06:19 PM
My hoster stops PHP7.0 in some weeks, so I need it to run on PHP7.2
Beside that, I am not sure if it is working somehow... YES would be great if somebody would update that :)

pattycake
12-11-2018, 11:37 PM
After installing the vbsso plugin, For some reason, the settings in wordpress show the url as:

http//127.0.0.1/wp/vbsso/1.0
(ip address in url intentionally incorrect)

But there is no wp/vbsso/1.0 folder
It actually got installed (default) in wp-content/plugins/vbsso-lite

I also tried the vbsso (not lite) and it says the same in the wordpress settings.
The actual install was wp-content/plugins/vbsso

Then, if I put http//127.0.0.1/wp/vbsso/1.0 in the settings in vbulletin (v4.x), I always get 404... makes sense but how do I fix? Do I make an adjustment in the wordpress installation? Or??

pattycake
12-15-2018, 09:08 PM
After installing the vbsso plugin, For some reason, the settings in wordpress show the url as:

http//127.0.0.1/wp/vbsso/1.0
(ip address in url intentionally incorrect)

But there is no wp/vbsso/1.0 folder
It actually got installed (default) in wp-content/plugins/vbsso-lite

I also tried the vbsso (not lite) and it says the same in the wordpress settings.
The actual install was wp-content/plugins/vbsso

Then, if I put http//127.0.0.1/wp/vbsso/1.0 in the settings in vbulletin (v4.x), I always get 404... makes sense but how do I fix? Do I make an adjustment in the wordpress installation? Or??

I waited for 4 days for a reply... even used the Contact Us at vbsso.com.. I finally gave up waiting for a reply and debugged the thing myself.

in vbsso.php

Around line 216
$url = site_url() . '/vbsso/1.0'; // that's why I was getting the funky url (bold red in quote up above)

should be:
$url = site_url() . '/wp-content/plugins/vbsso/vbsso.php';

-pat-

Goomzee
02-18-2019, 08:48 AM
Is this veriosn work with 3.8. x?

pattycake
03-18-2019, 08:44 PM
Does ANYONE know how to fix the $this issue when using php 7.1 and higher? If so, can you post the "was" and "replace with" code. (in vbsso.php)

xeagle
04-04-2019, 06:10 PM
Dear vBSSO Users, we would like to inform that we have released the next stable version of the Product vBSSO vBulletin and WordPress Connect 1.x development branch that supports PHP 71.

Please find the details at:

https://www.vbsso.com/2019/03/the-march-release-of-vbsso-vbulletin-1-6-3/
https://www.vbsso.com/product-vbsso-connect-wordpress-1-x/

In case of any issues please contact the support team at https://www.vbsso.com/contact-us/

ndahiya
08-31-2019, 01:43 AM
Dear vBSSO Users, we would like to inform that we have released the next stable version of the Product vBSSO vBulletin and WordPress Connect 1.x development branch that supports PHP 71.

Please find the details at:

https://www.vbsso.com/2019/03/the-march-release-of-vbsso-vbulletin-1-6-3/
https://www.vbsso.com/product-vbsso-connect-wordpress-1-x/

In case of any issues please contact the support team at https://www.vbsso.com/contact-us/


Thanks xeagle. when should we expect a mediawiki update?

with the latest version moving to OpenSSL, the mediawiki bridge appears to have stopped working. i tried to use TiKu's verion above, but i still get a Wrong Shared Password error.

ndahiya

ndahiya
08-31-2019, 03:48 AM
mediawiki plugin 1.1.0 seems to be incompatible with 1.6.4 as is.

Workaround:
install 1.6.4 vbsso
copy forums--> vbsso\vendor\com.extremeidea.vbsso\vbsso-connect-shared\sharedapi.php to
mediawiki--> extensions\vbsso\vendor\com.extremeidea.vbsso\vbss o-connect-shared\sharedapi.php
(overwrite the file).

relink mediawiki to forums. Works again!

note: i started with Tiku's version above, though the base 1.1.0 should theoretically work as well?

ndahiya

THX_Ultra
01-13-2020, 03:09 PM
Hi there!
Is there a chance to remove the vbsso plugin via the databse / ftp? We accidentially deleted the wordpress site that was linked to our vbulletin installation and now it is not possible to login to vbulletin anymore - Entering the login credentials leads to the folllwing screen.

http://pics.r-l-x.de/picserv/files/1/Screenshot%202020-01-13%2018.03.43.png

Luckily this is just our testing enviroment, but I am stuck in some kind of an endless loop now.

Any chance to get rid of vBSSO?

Thanks so much!

Michael

redragon29
02-10-2020, 07:16 AM
Any chance to have this for vb5?

MTTRSS
03-20-2020, 02:34 PM
I tried to import the product but once I do I get this error:

mysqli_query(): (42S02/1146): Table 'myhost_vbulletin.user' doesn't exist in ..../includes/class_core.php on line 1386

My vbulletin version is 4.2.5 and my PHP Version is 7.1. I tried to switch to 7.0 but the error remains.

p.s I downloaded the latestt version of the product (1.6.4).

How can I fix?

GhostHunter2010
05-14-2020, 07:33 AM
this doesnt work tried now