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)

xeagle 10-21-2015 01:00 PM

Quote:

Originally Posted by meadwench (Post 2557381)
I am going to deactivate vbsso, to see if the connections errors stop. I do know that I am getting regular errors from vbsso in VB stating registration errors are occurring, and that happens when the connection errors happen.

I have created a support user with admin access in vbulletin. This is for a programmer who will be working on code in my wordpress installation.

I can log in as this user in VB, but when I attempt to go to my wordpress installations' admin back end, the vbulletin 'we are logging you in' screen pops up, and I am taken to the vbulletin main forum screen. No matter what I do, it does this and will not let me access the back end of my wordpress install to work on it.

I have looked through all the vbsso settings, and do not see anyplace that I can set to make wp admin login access the correct area.

We really appreciate your request for assistance and sincerely appreciate your time but unfortunately, our team is experiencing a high volume of support requests at this time. All issues will be answered in the order they are received.

We appreciate your understanding and cooperation. Thank you.

meadwench 10-21-2015 08:09 PM

I have turned off VBSSO, and since then, have not gotten a single 'too many connections' error. When it was activated, I was getting 50-60 connection errors daily. It may only access the core, but it is creating enough connections to cause this error, and I have a high level of connections allowed set.

I really want to use VBSSO, and would have no problem paying for a 'pro' version. It would first have to work, though. Right now, it causes my site to generate errors and keeps me and other authorized users from logging into the admin of the Wordpress site.

I am uninstalling until there is a working version.

pjkcards 10-28-2015 12:39 PM

Is it possible to have something like "what's new" that searched for the latest post be linked to on wordpress "only" if the user is signed in? Otherwise if we link to it and the users isn't signed in, it goes to a login page. Thanks.

xeagle 10-28-2015 07:51 PM

Quote:

Originally Posted by pjkcards (Post 2557744)
Is it possible to have something like "what's new" that searched for the latest post be linked to on wordpress "only" if the user is signed in? Otherwise if we link to it and the users isn't signed in, it goes to a login page. Thanks.

Thank you for contacting us.

This behavior does not apply for Single Sign On, but if you want to implement this feature our team can help you. Please, send the service request with full definition of feature to: http://vbsso.com/submit-a-request/. Our team will do our best to help you.

Thank you,

meadwench 11-05-2015 12:05 AM

Just an update. Sorry for the delay, it has been busy and no time to post.

I turned off VBSSO to determine what (if any) effect VBSSO might be having on my 'too many connections' errors. Turning it off reduced these errors by about 30%. But I still got some errors, starting an hour or so after my previous post. I went in and re-updated all my mods to VB, and determined that Tapatalk was what appeared to be causing the errors. I updated that several hours ago, and have not gotten an error since.

However, I am still having issues re my tickets you have for me with log ins not showing as logged in on both VB and Wordpress, which causes my users to send me email when they cannot access their member information. I know you have a high level of tickets, but I was hoping that after 3 weeks I might hear something regarding the problem.

I would also like to know if you are aware if there are any issues with VBSSO running on a Wordpress site using Amember membership software, which also has a VB connection to offer membership features on the forum as well.

Thanks for any updates.

ivanp 11-11-2015 06:50 AM

Patch to show BuddyPress user profile in Widget:

In vbsso.php replace:

Code:

$metalinks .= $this->build_notifications();
$metalinks .= '<li><a href="' . admin_url() . '" rel="nofollow">' . __('Site Admin') . '</a></li>';
$metalinks .= '<li><a href="' . site_url('wp-admin/profile.php') . '" rel="nofollow">' . __('Profile') . '</a></li>';

with:

Code:

if ( function_exists('buddypress') )
{
  $metalinks .= '<li><a href="' . bp_get_loggedin_user_link() . '" rel="nofollow">' . __('Profile') . '</a></li>';
}
else

  $metalinks .= $this->build_notifications();
  $metalinks .= '<li><a href="' . admin_url() . '" rel="nofollow">' . __('Site Admin') . '</a></li>';
  $metalinks .= '<li><a href="' . site_url('wp-admin/profile.php') . '" rel="nofollow">' . __('Profile') . '</a></li>';
}


ivanp 11-12-2015 05:06 PM

Quote:

Originally Posted by meadwench (Post 2557410)
I have turned off VBSSO, and since then, have not gotten a single 'too many connections' error.

Started to experience the same errors when vBSSO is activated.

One of the issues is definitely extremely slow SQL query for displaying avatars (avatar.php) using the URL /vbsso/vbsso.php?a=act&do=avatar&id=...

Code:

    $query = "SELECT userfield.*, usertextfield.*, user.*, usergroup.genericpermissions, UNIX_TIMESTAMP(passworddate) AS passworddate,
        IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid" .
        vbsso_iif($settings['avatarenabled'], ', avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar,
        customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight,
        customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb') .
        " FROM " . TABLE_PREFIX . "user AS user
    LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON (user.userid = userfield.userid)
    LEFT JOIN " . TABLE_PREFIX . "usergroup AS usergroup ON (usergroup.usergroupid = user.usergroupid)
    LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON (usertextfield.userid = user.userid) " .
        vbsso_iif($settings['avatarenabled'], "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON (avatar.avatarid = user.avatarid)
        LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON (customavatar.userid = user.userid) ") .
        "WHERE MD5(LOWER(user.email)) LIKE '{$escapedHash}' LIMIT 1";

    $user = $mysqli->query($query);

Probably there are some other slow SQL queries causing this error.

ivanp 11-19-2015 11:14 AM

Support for non-Latin usernames in Wordpress:

Pass JSON_UNESCAPED_UNICODE as the second parameter of all "json_encode" functions in both Wordpress and vBulletin plugin.

Install plugin:
https://wordpress.org/plugins/wordpr...-in-usernames/

xeagle 12-01-2015 01:38 PM

Your feedback is important to us - please take a moment to tell us about your experiences using vBSSO service.

meadwench 12-01-2015 05:13 PM

Glad to know this. I still have tickets in your system, now nearly 2 months old.


All times are GMT. The time now is 04:03 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.03438 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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