Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
vBSSO - vBulletin Single Sign-On Details »»
vBSSO - vBulletin Single Sign-On
Version: 1.6.4, by xeagle xeagle is offline
Developer Last Online: Apr 2019 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.x.x Rating:
Released: 09-17-2011 Last Update: 06-27-2014 Installs: 242
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files  
No support by the author.

vBSSO is a vBulletin plugin that helps you connect to different software platforms like content management systems, blogs, and online stores using a secure Single Sign-On

The system has two components. First, there?s a vBulletin plugin that creates an interface for authenticating, controlling access, and managing user profile data. The second component is plugins for other platforms (like WordPress) that teach it to talk to vBulletin and exchange data. Here?s a list of support platforms.

Supported Platforms (https://www.vbsso.com)
  • vBulletin
  • WordPress
  • WordPress Multisite
  • Drupal
  • Mediawiki
  • Moodle
  • Prestashop
  • DokuWiki
  • Joomla
  • Magento

SSO Key Features
  • Run across different sub-domains, domains, servers and ports
  • Easy setup & configuration
  • Automatically log into third party applications when you log into vBulletin
  • Automatically log out of third party applications when you log out of vBulletin

Single Sign-On
  • Log to third party applications through vBulletin
  • Log out of third party applications through vBulletin
  • Register to third party applications through vBulletin
  • Recover password to third party applications through vBulletin

License
  • Free, open source
  • GNU general public license, version 2
  • Reusable code

Safety
  • Encrypted data exchange via private unique shared key
  • Friends with firewalls
  • Communicates purely through API of the connected platform
  • Basic Access Authentication support

Setup & Configuration
  • Quick startup
  • Advanced configuration options
  • Backup & Restore

Avatars
  • Sync vBulletin avatars with third-party applications

User Groups
  • Restrict access to third-party applications using vBulletin usergroups
  • Add visitors of third-party applications to vBulletin usergroups

Miscellaneous
  • Custom vBulletin login page
  • Custom vBulletin registration page
== Changelog ==

= 1.6.4 =
  • Feature #6421: vBSSO | Add PHP 7.1, 72 support. Fixed PHP warnings.
  • [Updated on March 26, 2019]

= 1.6.1 =
  • Added PHP 5.3, 5.4, 5.5, 5.6, 7.0 support for vBulletin 4.2.
  • Fixed an issue when vBulletin throws the Warning: Invalid argument supplied... in case of connecting platforms on different domains/BAA.
  • Fixed an issue when user location is shown as unknown on the "Currently Active Users" page.
  • Other enhancements and bugs fixes.
  • [Updated on July 25, 2017]

= 1.6.0 =
  • Added PHP 5.4, 5.5, 5.6, 7.0 support for vBulletin 4.1.x.
  • Fixed the issue when download logs function was not working and was displaying an empty white screen (PHP5.6).
  • EOL (End-of-life due to the end of life of this version) for PHP 5.2 support.
  • EOL (End-of-life due to the end of life of this version) for vBulletin 3.x support.
  • Other enhancements and bugs fixes.
  • [Updated March 10, 2017]

= 1.5.1 =
  • Fixed an issue when vBulletin redirects to WordPress search page after сlearing the browser's cookie and cache.
  • [Updated February 19, 2016]
= 1.5 =
  • Fixed fatal error on logout operation if logout is initiated from "vBulletin Mobile Suite".
  • Enhanced intensive logging to troubleshoot issues with ease.
  • Added vBulletin 5 compatibility notifications message on installation.
  • [Updated August 31, 2015]

= 1.4.16 =
  • Added PHP 5.6 support
  • Added support of cross-domain single-sign on in Internet Explorer.
  • Fixed an issue when vBSSO didn't connect platform with strong www redirect.
  • Fixed an issue when vBulletin didn't work as a child platform.
  • Fixed an issue when vBSSO widget for Wordpress didn't show the number of notifications due to bug on vBulletin side.
  • Other enhancements and bugs fixes.
  • [Updated June 04, 2015]

We strongly recommend you to upgrade vBSSO to the latest version (1.4.15)

= 1.4.15 =
  • Fixed the potential SQL injection vulnerability that might display md5 version of password (the original password is safe).
  • Fixed an issue when sometimes avatars are not fetched and displayed in connected to vBulletin platforms.
  • Fixed an issue when some redirects in vBulletin 3.x were processed improperly.
  • Fixed an issue when sometimes white screen was displayed after registration.
  • Fixed <base> tag for vBulletin 3.x
  • Other enhancements and bugs fixes.
  • [Updated January 20, 2015]

= 1.4.14 =
  • Fixed "Support www alias" option on "Connect Platform" page.
  • Fixed <base> tag behavior when "Always use Forum URL as Base Path" option disabled.
  • Other enhancements and bugs fixes.
  • [Updated November 17, 2014]

= 1.4.13 =
  • Implemented possibility to get vBulletin notifications counter through vBSSO.
  • Improved avatars rendering method.
  • Added usergroups support in vBulletin as connected platform.
  • Added a new warning entry to ?Warnings? page identifying vBulletin hooks status.
  • Added a new warning entry to ?Warnings? page identifying forum accounts with empty username.
  • Added a new warning entry to ?Warnings? page identifying missing PHP extensions.
  • Added a new warning entry to ?Warnings? page identifying disabled PHP functions required by vBSSO.
  • Added support for authorization both with www and without it.
  • Fixed an issue, when the platform couldn?t be disconnnected while uninstalling vBSSO.
  • Fixed AdminCP login issue.
  • Fixed E_NOTICE errors in debug mode.
  • Other enhancements and bugs fixes.
  • [Updated November 1, 2014]

= 1.4.12 =
  • Made the version compatible with other extensions like "PurevB Theme Manager", "GlowHost - Spam-O-Matic", "PhotoPost vBGallery".
  • Added a new warning entry to "Warnings" page identifying forum accounts with duplicated username/email and empty email addresses.
  • Added a forum "moderation" page support while user is being registered through vBSSO.
  • Logout is not any longer restricted by "Access Settings" configuration.
  • Adding "https" domains to forum "whitelist".
  • Fixed the "logs in .zip" downloading issue.
  • Resolved "Logout" issue for user with no forum access privileges when two forums are connected to each other.
  • Adjusted "Access Settings" to handle login access restrictions properly.
  • Other enhancements and bugs fixes.
  • [Updated June 17, 2013]

= 1.4.11 =
  • Prepared the feature to handle broken user accounts between WordPress and vBulletin.
  • Enhancements and bugs fixes.
  • [Updated May 22, 2013]

= 1.4.10 =
  • Added usergroups support in vBSSO vBulletin. Other vBSSO extensions should implement vBSSO vBulletin usergroups API to support usergroups on a connected platform.
  • Implemented an ability to login visitors by their email address.
  • Improved support of vBulletin SSL mode.
  • Improved vBSSO avatars lookup performance.
  • Removed unsed 'cssrollup_vbsso.xml'.
  • Fixed login issue through vBulletin API. Tapatalk compatible.
  • Fixed the issue when "Show vBulletin Profile" option is not being updated in case of connection two forums.
  • Fixed the issue when the platform couldn't be connected if "Allowed User Groups" is filled out to restrict login access.
  • Other enhancements and bugs fixes.
  • [Updated May 20, 2013]

= 1.4.9 =
  • Restored the visibility of the activation message showed before user proceeds with login after registration process.
  • Improved "Logging & Notifications" section to get much quicker and flexible access to log files.
  • Added a special section called "Warnings" to warn administrators about potential issues required to be solved.
  • Added tips to "Access Settings" section.
  • Improved the verification process in case if we establish forum to forum connection.
  • "vBulletin Links" section was renamed to "Link Custom Pages".
  • Enhancements and bugfixes.
  • [Updated February 01, 2013]

= 1.4.8 =
  • Made vBSSO "vBulletin 4.2.0 PL3" compatible.
  • Added new supported profile fields "Birth", "Phone".
  • Enhancements and bugfixes.
  • [Updated October 26, 2012]

= 1.4.7 =
  • Extended the authentication and login vBSSO API.
  • Added 4 new hooks (vBSSO Login Event, vBSSO Logout Event, vBSSO Authentication Event, vBSSO Register Event).
  • Fixed creating user from admincp.
  • Fixed Admin Panel menu items order.
  • Enhancements and bugfixes.
  • [Updated October 26, 2012]

= 1.4.6 =
  • Implemented support of SSL.
  • Handled endless redirect once it finds non-compatible accounts.
  • Fixed the conflict when "Save stylesheets to files" option is enabled in vBulletin 3.x.
  • Enhancements and bugfixes.
  • [Updated September 23, 2012]

= 1.4.5 =
  • Implemented support of avatars for connected vBulletin platform.
  • Implemented support of user profile and author links for connected vBulletin platform.
  • Adjusted login form for connected vBulletin platform.
  • Implemented the feature to update the settings of all the connected platforms as soon as master plugin is upgraded.
  • Enhancements and bugfixes.
  • [Updated September 03, 2012]

= 1.4.4 =
  • Added vBulletin 3.x compatibility.
  • Added support of vBulletin connection as slave platform.
  • Fixed an issue on adding new user from admincp when it is not added to the connected platforms.
  • Fixed "Class 'LoggerReflectionUtils' not found" issue.
  • [Updated August 10, 2012]

= 1.4.3 =
  • Http status code 100 shouldn't be tracked as error - fixed.
  • Adjusted extensive debug logging of the response errors.
  • Fixed an issue when sometimes avatars are not fetched and displayed in connected to vBulletin platforms.
  • [Updated June 22, 2012]

= 1.4.2 =
  • Resolved installation error "Invalid SQL: INSERT INTO `vbsso_users`" thrown in cases when account duplicates exist. We check for the duplicates and throw the warning during the installation phase.
  • Fixed Fatal error: Call to undefined function print_cp_header() error when vBulletin is configured to have custom named AdminCP folder.
  • Implemented un-installation hook to disconnect all the connected to vBSSO platforms.
  • Added a check to warn if vBulletin "User Registration Options -> Require Unique Email Addresses" is disabled and duplicated accounts are allowed.
  • [Updated November 17, 2011]

= 1.4.1 =
  • Fixed Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Logger::warning' was given in /vbsso/includes/functions_logging.php.
  • [Updated October 10, 2011]


= 1.4 =
  • Refined Notifications section, renamed it to Logging & Notifications, added the options to log vBSSO logic, keep logging files and send log messages to email.
  • Improved installation process by cleaning up the database before the product is completely installed.
  • Improved installation process by adding a check for the required PHP extension before the plugin is completely installed or upgraded.
  • Fixed the issue that might be a cause of the empty page in admincp.
  • Moved the settings to standard vBulletin Options.
  • Moveed Backup & Restore to standard vBulletin Backup & Restore facility.
  • Added vBulletin 4.x version as a dependency for the plugin.
  • Removed option to set Forum Path.
  • [Updated September 28, 2011]

= 1.3 =
  • Added sending of the authentication event to the connected platform as soon as user is registered in vBulletin.
  • Fixed issue with ':' delimiter located between host and port in url in case of using non-standard port #80
  • Added support to redirect to lost password page via API.
  • Added config.custom.default.php file as a config sample.
  • Fixed "Warning: Call-time pass-by-reference has been deprecated" error.
  • Added error message in case if platform couldn't be verified for some reason.
  • Removed the extra steps to set up forumpath setting, it's being setup automatically during plugin installation.
  • Fixed css to display "SSO provided By" text correctly in different theme layouts.
  • [Updated September 18, 2011]

= 1.2 =
  • First release
  • [Created September 10, 2011]

Project Supported by Diabetes Daily
"We are in dept to those who have donated their code and advice to us over the last six years. Without that support, we would never have built one of the most successful diabetes communities. This is our way of 'paying it forward' so others can do more better and faster." - David Edelman, Co-Founder of Diabetes Daily

Download Now

Download Now

File Type: zip vbsso.zip (180 Bytes, 465 views)

Screenshots

File Type: png screenshot-1.png (126.9 KB, 0 views)
File Type: png screenshot-2.png (166.7 KB, 0 views)
File Type: png screenshot-3.png (276.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #492  
Old 02-21-2013, 08:25 PM
xeagle xeagle is offline
 
Join Date: Sep 2011
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sheyworth View Post
Ok not sure what I am doing wrong. When in vbulletin admin cp trying to connect words press i get this


What do i need to do?
The reason of improperly installed plugin. Support team has solved that issue for you.
Reply With Quote
  #493  
Old 02-21-2013, 08:46 PM
sheyworth sheyworth is offline
 
Join Date: Mar 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xeagle View Post
The reason of improperly installed plugin. Support team has solved that issue for you.
Haha kinda, more like I helped solve a future problem for you guys!
Reply With Quote
  #494  
Old 02-22-2013, 01:13 AM
mairving mairving is offline
 
Join Date: Apr 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having an issue installing this on the vBulletin side of things. I uploaded the contents of the upload folder into the respective locations and then went to install the vbsso xml product file via the admin of vBulletin. I get the following error when trying to install the xml file:

Code:
Warning: fopen([path]/vbsso/logs/vbsso_2013-02-21.log) [function.fopen]: failed to open stream: Permission denied in [path]/vbsso/vendor/log4php/appenders/LoggerAppenderDailyFile.php on line 93

vBulletin Message

The following PHP extensions are required to be installed zip before installing or upgrading this product!
Any help?
Reply With Quote
  #495  
Old 02-28-2013, 11:59 AM
teamsupra teamsupra is offline
 
Join Date: Aug 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help I have 2 issues.

1. Sometimes when a user signed up they get the Administrator group added as an additional usergroup to their account

2. Glowhost is showing errors when enabled. This is sorta bad since this is one of the most important and most used plugin for the VB community.

Here is the glow host error:

Code:
Hook name	Hook code
inlinemod_action_switch	require_once('includes/functions_ghsom.php'); SOM_cleanupProcess();
postdata_presave	if(defined('VBSEO_ENABLED')) vbseo_complete_sec('postdata_presave'); $skip_post = false; if (!empty($this->info['is_automated'])) if ($this->info['is_automated'] == 'rss') { $skip_post = true; } if (!$skip_post) { //Let's create new group for newbies members $is_noob_user = false; $noob_group_id = $this->registry->options['glowhostspamomatic_noob_group_id']; $checkuser = $this->dbobject->query_first("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid=".$this->registry->userinfo['userid']); if (is_member_of($checkuser, $noob_group_id)) $is_noob_user = true; require_once('includes/functions_ghsom.php'); $is_protected_user = false; foreach (array('glowhostspamomatic_bsc_protect_group', 'glowhostspamomatic_bsc_protect_user') as $option) { $this->registry->options[$option] = clean_options_list($this->registry->options[$option]); } if ((is_member_of($checkuser, explode(",", $this->registry->options['glowhostspamomatic_bsc_protect_group']))) || (in_array($this->registry->userinfo['userid'], explode(",", $this->registry->options['glowhostspamomatic_bsc_protect_user'])))) { $is_protected_user = true; } if ($this->registry->userinfo['userid'] == 0) { $is_protected_user = false; } if ($this->registry->options['glowhostspamomatic_automodenabled'] == 1) { //automod enabled $automod_apply = false; if ($this->registry->options['glowhostspamomatic_noob_enabled'] == 1) { if ($this->registry->options['glowhostspamomatic_noob_restrict_automod'] == 1) { // noob enabled and automod restricted.... check the group if ($is_noob_user) $automod_apply = true; // he-he, let's apply auto-mod } else if (!$is_protected_user) $automod_apply = true; // no restriction.... only automod settings matter } else if (!$is_protected_user) $automod_apply = true; // noob disabled.... only automod settings matter if ($automod_apply) { if (($this->registry->userinfo['posts'] < $this->registry->options['glowhostspamomatic_automodpostcount']) || ($this->registry->options['glowhostspamomatic_automodpostcount'] == 0)) { // check for postcount is lower than specified in settings $keywords = explode("\n", $this->registry->options['glowhostspamomatic_automodkeywords']); $keywords = array_map('trim', $keywords); if (str_replace($keywords, '', strtolower($this->fetch_field('pagetext', 'post'))) != strtolower($this->fetch_field('pagetext', 'post')) AND !can_moderate()) { if ($this->registry->options['glowhostspamomatic_automodpostaction'] == 1) standard_error(fetch_error('glowhostspamomatic_reject_post', $query)); else { $this->set('visible', 0); $sql = 'INSERT INTO '.TABLE_PREFIX.'glowhostspamomatic_log(`date`, `ip`, `email`, `username`, `message`, `is_blocked`, `user_hash`) VALUES (now(), "'.addslashes($_SERVER['REMOTE_ADDR']).'", "'.addslashes($this->registry->userinfo['email']).'", "'.addslashes($this->registry->userinfo['username']).'", "registry->config['Misc']['modcpdir'].'/moderate.php?do=posts\">Post put under moderation based on Auto-Moderation Keywords", "0", ""); '; $this->dbobject->query($sql); $sql = 'UPDATE '.TABLE_PREFIX.'glowhostspamomatic_stats SET moderated = moderated + 1; '; $this->dbobject->query($sql); } } else { $link_count = substr_count(strtolower($this->fetch_field('pagetext', 'post')), 'http:'); $link_count += substr_count($this->fetch_field('pagetext', 'post'), '@'); if (($link_count > $this->registry->options['glowhostspamomatic_automodurls']) && !can_moderate()) { if ($this->registry->options['glowhostspamomatic_automodpostaction'] == 1) standard_error(fetch_error('glowhostspamomatic_reject_post', $query)); else { $this->set('visible', 0); $sql = 'INSERT INTO '.TABLE_PREFIX.'glowhostspamomatic_log(`date`, `ip`, `email`, `username`, `message`, `is_blocked`, `user_hash`) VALUES (now(), "'.addslashes($_SERVER['REMOTE_ADDR']).'", "'.addslashes($this->registry->userinfo['email']).'", "'.addslashes($this->registry->userinfo['username']).'", "registry->config['Misc']['modcpdir'].'/moderate.php?do=posts\">Post put under moderation based on Auto-Moderation URL count", "0", ""); '; $this->dbobject->query($sql); $sql = 'UPDATE '.TABLE_PREFIX.'glowhostspamomatic_stats SET moderated = moderated + 1; '; $this->dbobject->query($sql); } } } } } } if ($this->registry->options['glowhostspamomatic_noob_enabled'] == 1) { if ($this->registry->options['glowhostspamomatic_noob_autopromote'] == 1) { if ($is_noob_user) { // he-he, let's apply auto-mod if ($this->registry->userinfo['posts'] >= $this->registry->options['glowhostspamomatic_noob_promotepostcount']) { $sql = 'UPDATE `'.TABLE_PREFIX.'user` SET `usergroupid` = '.$this->registry->options['glowhostspamomatic_noob_reg_ugroup'].' WHERE `userid` = '.$this->registry->userinfo['userid'].'; '; $this->dbobject->query($sql); } } } } }
newpost_process	if(defined('VBSEO_ENABLED')) vbseo_complete_sec('newpost_process'); if ($vbulletin->options['glowhostspamomatic_akismet_enabled'] == 1) { require_once('includes/functions_ghsom.php'); foreach (array('glowhostspamomatic_bsc_protect_group', 'glowhostspamomatic_bsc_protect_user') as $option) { $vbulletin->options[$option] = clean_options_list($vbulletin->options[$option]); } $checkuser = $vbulletin->db->query_first("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid=".$vbulletin->userinfo['userid']); if ((!is_member_of($checkuser, explode(",", $vbulletin->options['glowhostspamomatic_bsc_protect_group']))) && (!in_array($vbulletin->userinfo['userid'], explode(",", $vbulletin->options['glowhostspamomatic_bsc_protect_user'])))) { if (($vbulletin->userinfo['posts'] < $vbulletin->options['glowhostspamomatic_akismet_postcount']) || ($vbulletin->options['glowhostspamomatic_akismet_postcount'] == 0)) { // check for postcount is lower than specified in settings $key = $vbulletin->options['glowhostspamomatic_akismet_key']; $vbghsfs_host = $key.'.rest.akismet.com'; $comment['user_ip'] = $_SERVER['REMOTE_ADDR']; $comment['user_agent'] = $_SERVER['HTTP_USER_AGENT']; $comment['referrer'] = $_SERVER['HTTP_REFERER']; $comment['blog'] = $vbulletin->options['bburl']; $comment['comment_author'] = $vbulletin->userinfo['username']; $comment['comment_content'] = $post['message']; if (SOM_AkismetCheckComment($comment, $vbghsfs_host)) { $dataman->set('visible', 0); $post['visible'] = 0; $sql = 'INSERT INTO '.TABLE_PREFIX.'glowhostspamomatic_log(`date`, `ip`, `email`, `username`, `message`, `is_blocked`, `user_hash`) VALUES (now(), "'.addslashes($_SERVER['REMOTE_ADDR']).'", "'.addslashes($vbulletin->userinfo['email']).'", "'.addslashes($vbulletin->userinfo['username']).'", "config[Misc][modcpdir].'/moderate.php?do=posts\">Post put under moderation based on Akismet result", "0", ""); '; $vbulletin->db->query($sql); $sql = 'UPDATE '.TABLE_PREFIX.'glowhostspamomatic_stats SET moderated = moderated + 1; '; $vbulletin->db->query($sql); } } } }
threadfpdata_presave	$skip_post = false; if (!empty($this->info['is_automated'])) if ($this->info['is_automated'] == 'rss') { $skip_post = true; } if (!$skip_post) { //Let's create new group for newbies members $is_noob_user = false; $noob_group_id = $this->registry->options['glowhostspamomatic_noob_group_id']; $checkuser = $this->dbobject->query_first("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid=".$this->registry->userinfo['userid']); if (is_member_of($checkuser, $noob_group_id)) $is_noob_user = true; require_once('includes/functions_ghsom.php'); $is_protected_user = false; foreach (array('glowhostspamomatic_bsc_protect_group', 'glowhostspamomatic_bsc_protect_user') as $option) { $this->registry->options[$option] = clean_options_list($this->registry->options[$option]); } if ((is_member_of($checkuser, explode(",", $this->registry->options['glowhostspamomatic_bsc_protect_group']))) || (in_array($this->registry->userinfo['userid'], explode(",", $this->registry->options['glowhostspamomatic_bsc_protect_user'])))) { $is_protected_user = true; } if ($this->registry->userinfo['userid'] == 0) { $is_protected_user = false; } if ($this->registry->options['glowhostspamomatic_automodenabled'] == 1) { //automod enabled $automod_apply = false; if ($this->registry->options['glowhostspamomatic_noob_enabled'] == 1) { if ($this->registry->options['glowhostspamomatic_noob_restrict_automod'] == 1) { // noob enabled and automod restricted.... check the group if ($is_noob_user) $automod_apply = true; // he-he, let's apply auto-mod } else if (!$is_protected_user) $automod_apply = true; // no restriction.... only automod settings matter } else if (!$is_protected_user) $automod_apply = true; // noob disabled.... only automod settings matter if ($automod_apply) { if (($this->registry->userinfo['posts'] < $this->registry->options['glowhostspamomatic_automodpostcount']) || ($this->registry->options['glowhostspamomatic_automodpostcount'] == 0)) { // check for postcount is lower than specified in settings $keywords = explode("\n", $this->registry->options['glowhostspamomatic_automodkeywords']); $keywords = array_map('trim', $keywords); if (str_replace($keywords, '', strtolower($this->fetch_field('pagetext', 'post'))) != strtolower($this->fetch_field('pagetext', 'post')) && !can_moderate()) { if ($this->registry->options['glowhostspamomatic_automodpostaction'] == 1) standard_error(fetch_error('glowhostspamomatic_reject_post', $query)); else { $this->set('visible', 0); $sql = 'INSERT INTO '.TABLE_PREFIX.'glowhostspamomatic_log(`date`, `ip`, `email`, `username`, `message`, `is_blocked`, `user_hash`) VALUES (now(), "'.addslashes($_SERVER['REMOTE_ADDR']).'", "'.addslashes($this->registry->userinfo['email']).'", "'.addslashes($this->registry->userinfo['username']).'", "registry->config['Misc']['modcpdir'].'/moderate.php?do=posts\">Post put under moderation based on Auto-Moderation Keywords", "0", ""); '; $this->dbobject->query($sql); $sql = 'UPDATE '.TABLE_PREFIX.'glowhostspamomatic_stats SET moderated = moderated + 1; '; $this->dbobject->query($sql); } } else { $link_count = substr_count(strtolower($this->fetch_field('pagetext', 'post')), 'http:'); $link_count += substr_count($this->fetch_field('pagetext', 'post'), '@'); if (($link_count > $this->registry->options['glowhostspamomatic_automodurls']) && !can_moderate()) { if ($this->registry->options['glowhostspamomatic_automodpostaction'] == 1) standard_error(fetch_error('glowhostspamomatic_reject_post', $query)); else { $this->set('visible', 0); $sql = 'INSERT INTO '.TABLE_PREFIX.'glowhostspamomatic_log(`date`, `ip`, `email`, `username`, `message`, `is_blocked`, `user_hash`) VALUES (now(), "'.addslashes($_SERVER['REMOTE_ADDR']).'", "'.addslashes($this->registry->userinfo['email']).'", "'.addslashes($this->registry->userinfo['username']).'", "registry->config['Misc']['modcpdir'].'/moderate.php?do=posts\">Post put under moderation based on Auto-Moderation URL count", "0", ""); '; $this->dbobject->query($sql); $sql = 'UPDATE '.TABLE_PREFIX.'glowhostspamomatic_stats SET moderated = moderated + 1; '; $this->dbobject->query($sql); } } } } } } if ($this->registry->options['glowhostspamomatic_noob_enabled'] == 1) { if ($this->registry->options['glowhostspamomatic_noob_autopromote'] == 1) { if ($is_noob_user) { // he-he, let's apply auto-mod if ($this->registry->userinfo['posts'] >= $this->registry->options['glowhostspamomatic_noob_promotepostcount']) { $sql = 'UPDATE `'.TABLE_PREFIX.'user` SET `usergroupid` = '.$this->registry->options['glowhostspamomatic_noob_reg_ugroup'].' WHERE `userid` = '.$this->registry->userinfo['userid'].'; '; $this->dbobject->query($sql); } } } } }
register_addmember_complete	require_once(DIR . '/vbsso/vbsso.php'); vbsso_register_addmember_complete_hook($userid); require_once('includes/functions_ghsom.php'); SOM_UpdateLog();
register_addmember_process	$vbghsfs_Purged = false; $vbghsfs_userHash = ''; if (empty($userdata->errors)) { require_once('includes/functions_ghsom.php'); SOM_Process(); if ($vbulletin->options['glowhostspamomatic_noob_enabled'] == 1) { //move users.... if ($vbulletin->options['verifyemail'] == 0) { //move only if verification disabled $noob_group_id = $vbulletin->options['glowhostspamomatic_noob_group_id']; if ($noob_group_id != '') $userdata->set('usergroupid', $noob_group_id); } } }
Reply With Quote
  #496  
Old 03-02-2013, 09:50 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

xeagle,
I'm thinking about trying this out. Does the WP database and the vB database have to be combined? I have a separate database for each. I read through most of the comments but I did not see anything about database in your description or in the comments posted.

Thanks!
Reply With Quote
  #497  
Old 03-02-2013, 04:58 PM
xeagle xeagle is offline
 
Join Date: Sep 2011
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Syxguns View Post
xeagle,
I'm thinking about trying this out. Does the WP database and the vB database have to be combined? I have a separate database for each. I read through most of the comments but I did not see anything about database in your description or in the comments posted.

Thanks!
It's not required, you can have two databases separately and vBSSO supports it well.
Reply With Quote
  #498  
Old 03-02-2013, 05:02 PM
xeagle xeagle is offline
 
Join Date: Sep 2011
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by teamsupra View Post
Help I have 2 issues.

1. Sometimes when a user signed up they get the Administrator group added as an additional usergroup to their account

2. Glowhost is showing errors when enabled. This is sorta bad since this is one of the most important and most used plugin for the VB community.

Here is the glow host error:

Code:
Hook name	Hook code
inlinemod_action_switch	require_once('includes/functions_ghsom.php'); SOM_cleanupProcess();
postdata_presave	if(defined('VBSEO_ENABLED')) vbseo_complete_sec('postdata_presave'); $skip_post = false; if (!empty($this->info['is_automated'])) if ($this->info['is_automated'] == 'rss') { $skip_post = true; } if (!$skip_post) { //Let's create new group for newbies members $is_noob_user = false; $noob_group_id = $this->registry->options['glowhostspamomatic_noob_group_id']; $checkuser = $this->dbobject->query_first("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid=".$this->registry->userinfo['userid']); if (is_member_of($checkuser, $noob_group_id)) $is_noob_user = true; require_once('includes/functions_ghsom.php'); $is_protected_user = false; foreach (array('glowhostspamomatic_bsc_protect_group', 'glowhostspamomatic_bsc_protect_user') as $option) { $this->registry->options[$option] = clean_options_list($this->registry->options[$option]); } if ((is_member_of($checkuser, explode(",", $this->registry->options['glowhostspamomatic_bsc_protect_group']))) || (in_array($this->registry->userinfo['userid'], explode(",", $this->registry->options['glowhostspamomatic_bsc_protect_user'])))) { $is_protected_user = true; } if ($this->registry->userinfo['userid'] == 0) { $is_protected_user = false; } if ($this->registry->options['glowhostspamomatic_automodenabled'] == 1) { //automod enabled $automod_apply = false; if ($this->registry->options['glowhostspamomatic_noob_enabled'] == 1) { if ($this->registry->options['glowhostspamomatic_noob_restrict_automod'] == 1) { // noob enabled and automod restricted.... check the group if ($is_noob_user) $automod_apply = true; // he-he, let's apply auto-mod } else if (!$is_protected_user) $automod_apply = true; // no restriction.... only automod settings matter } else if (!$is_protected_user) $automod_apply = true; // noob disabled.... only automod settings matter if ($automod_apply) { if (($this->registry->userinfo['posts'] < $this->registry->options['glowhostspamomatic_automodpostcount']) || ($this->registry->options['glowhostspamomatic_automodpostcount'] == 0)) { // check for postcount is lower than specified in settings $keywords = explode("\n", $this->registry->options['glowhostspamomatic_automodkeywords']); $keywords = array_map('trim', $keywords); if (str_replace($keywords, '', strtolower($this->fetch_field('pagetext', 'post'))) != strtolower($this->fetch_field('pagetext', 'post')) AND !can_moderate()) { if ($this->registry->options['glowhostspamomatic_automodpostaction'] == 1) standard_error(fetch_error('glowhostspamomatic_reject_post', $query)); else { $this->set('visible', 0); $sql = 'INSERT INTO '.TABLE_PREFIX.'glowhostspamomatic_log(`date`, `ip`, `email`, `username`, `message`, `is_blocked`, `user_hash`) VALUES (now(), "'.addslashes($_SERVER['REMOTE_ADDR']).'", "'.addslashes($this->registry->userinfo['email']).'", "'.addslashes($this->registry->userinfo['username']).'", "registry->config['Misc']['modcpdir'].'/moderate.php?do=posts\">Post put under moderation based on Auto-Moderation Keywords", "0", ""); '; $this->dbobject->query($sql); $sql = 'UPDATE '.TABLE_PREFIX.'glowhostspamomatic_stats SET moderated = moderated + 1; '; $this->dbobject->query($sql); } } else { $link_count = substr_count(strtolower($this->fetch_field('pagetext', 'post')), 'http:'); $link_count += substr_count($this->fetch_field('pagetext', 'post'), '@'); if (($link_count > $this->registry->options['glowhostspamomatic_automodurls']) && !can_moderate()) { if ($this->registry->options['glowhostspamomatic_automodpostaction'] == 1) standard_error(fetch_error('glowhostspamomatic_reject_post', $query)); else { $this->set('visible', 0); $sql = 'INSERT INTO '.TABLE_PREFIX.'glowhostspamomatic_log(`date`, `ip`, `email`, `username`, `message`, `is_blocked`, `user_hash`) VALUES (now(), "'.addslashes($_SERVER['REMOTE_ADDR']).'", "'.addslashes($this->registry->userinfo['email']).'", "'.addslashes($this->registry->userinfo['username']).'", "registry->config['Misc']['modcpdir'].'/moderate.php?do=posts\">Post put under moderation based on Auto-Moderation URL count", "0", ""); '; $this->dbobject->query($sql); $sql = 'UPDATE '.TABLE_PREFIX.'glowhostspamomatic_stats SET moderated = moderated + 1; '; $this->dbobject->query($sql); } } } } } } if ($this->registry->options['glowhostspamomatic_noob_enabled'] == 1) { if ($this->registry->options['glowhostspamomatic_noob_autopromote'] == 1) { if ($is_noob_user) { // he-he, let's apply auto-mod if ($this->registry->userinfo['posts'] >= $this->registry->options['glowhostspamomatic_noob_promotepostcount']) { $sql = 'UPDATE `'.TABLE_PREFIX.'user` SET `usergroupid` = '.$this->registry->options['glowhostspamomatic_noob_reg_ugroup'].' WHERE `userid` = '.$this->registry->userinfo['userid'].'; '; $this->dbobject->query($sql); } } } } }
newpost_process	if(defined('VBSEO_ENABLED')) vbseo_complete_sec('newpost_process'); if ($vbulletin->options['glowhostspamomatic_akismet_enabled'] == 1) { require_once('includes/functions_ghsom.php'); foreach (array('glowhostspamomatic_bsc_protect_group', 'glowhostspamomatic_bsc_protect_user') as $option) { $vbulletin->options[$option] = clean_options_list($vbulletin->options[$option]); } $checkuser = $vbulletin->db->query_first("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid=".$vbulletin->userinfo['userid']); if ((!is_member_of($checkuser, explode(",", $vbulletin->options['glowhostspamomatic_bsc_protect_group']))) && (!in_array($vbulletin->userinfo['userid'], explode(",", $vbulletin->options['glowhostspamomatic_bsc_protect_user'])))) { if (($vbulletin->userinfo['posts'] < $vbulletin->options['glowhostspamomatic_akismet_postcount']) || ($vbulletin->options['glowhostspamomatic_akismet_postcount'] == 0)) { // check for postcount is lower than specified in settings $key = $vbulletin->options['glowhostspamomatic_akismet_key']; $vbghsfs_host = $key.'.rest.akismet.com'; $comment['user_ip'] = $_SERVER['REMOTE_ADDR']; $comment['user_agent'] = $_SERVER['HTTP_USER_AGENT']; $comment['referrer'] = $_SERVER['HTTP_REFERER']; $comment['blog'] = $vbulletin->options['bburl']; $comment['comment_author'] = $vbulletin->userinfo['username']; $comment['comment_content'] = $post['message']; if (SOM_AkismetCheckComment($comment, $vbghsfs_host)) { $dataman->set('visible', 0); $post['visible'] = 0; $sql = 'INSERT INTO '.TABLE_PREFIX.'glowhostspamomatic_log(`date`, `ip`, `email`, `username`, `message`, `is_blocked`, `user_hash`) VALUES (now(), "'.addslashes($_SERVER['REMOTE_ADDR']).'", "'.addslashes($vbulletin->userinfo['email']).'", "'.addslashes($vbulletin->userinfo['username']).'", "config[Misc][modcpdir].'/moderate.php?do=posts\">Post put under moderation based on Akismet result", "0", ""); '; $vbulletin->db->query($sql); $sql = 'UPDATE '.TABLE_PREFIX.'glowhostspamomatic_stats SET moderated = moderated + 1; '; $vbulletin->db->query($sql); } } } }
threadfpdata_presave	$skip_post = false; if (!empty($this->info['is_automated'])) if ($this->info['is_automated'] == 'rss') { $skip_post = true; } if (!$skip_post) { //Let's create new group for newbies members $is_noob_user = false; $noob_group_id = $this->registry->options['glowhostspamomatic_noob_group_id']; $checkuser = $this->dbobject->query_first("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid=".$this->registry->userinfo['userid']); if (is_member_of($checkuser, $noob_group_id)) $is_noob_user = true; require_once('includes/functions_ghsom.php'); $is_protected_user = false; foreach (array('glowhostspamomatic_bsc_protect_group', 'glowhostspamomatic_bsc_protect_user') as $option) { $this->registry->options[$option] = clean_options_list($this->registry->options[$option]); } if ((is_member_of($checkuser, explode(",", $this->registry->options['glowhostspamomatic_bsc_protect_group']))) || (in_array($this->registry->userinfo['userid'], explode(",", $this->registry->options['glowhostspamomatic_bsc_protect_user'])))) { $is_protected_user = true; } if ($this->registry->userinfo['userid'] == 0) { $is_protected_user = false; } if ($this->registry->options['glowhostspamomatic_automodenabled'] == 1) { //automod enabled $automod_apply = false; if ($this->registry->options['glowhostspamomatic_noob_enabled'] == 1) { if ($this->registry->options['glowhostspamomatic_noob_restrict_automod'] == 1) { // noob enabled and automod restricted.... check the group if ($is_noob_user) $automod_apply = true; // he-he, let's apply auto-mod } else if (!$is_protected_user) $automod_apply = true; // no restriction.... only automod settings matter } else if (!$is_protected_user) $automod_apply = true; // noob disabled.... only automod settings matter if ($automod_apply) { if (($this->registry->userinfo['posts'] < $this->registry->options['glowhostspamomatic_automodpostcount']) || ($this->registry->options['glowhostspamomatic_automodpostcount'] == 0)) { // check for postcount is lower than specified in settings $keywords = explode("\n", $this->registry->options['glowhostspamomatic_automodkeywords']); $keywords = array_map('trim', $keywords); if (str_replace($keywords, '', strtolower($this->fetch_field('pagetext', 'post'))) != strtolower($this->fetch_field('pagetext', 'post')) && !can_moderate()) { if ($this->registry->options['glowhostspamomatic_automodpostaction'] == 1) standard_error(fetch_error('glowhostspamomatic_reject_post', $query)); else { $this->set('visible', 0); $sql = 'INSERT INTO '.TABLE_PREFIX.'glowhostspamomatic_log(`date`, `ip`, `email`, `username`, `message`, `is_blocked`, `user_hash`) VALUES (now(), "'.addslashes($_SERVER['REMOTE_ADDR']).'", "'.addslashes($this->registry->userinfo['email']).'", "'.addslashes($this->registry->userinfo['username']).'", "registry->config['Misc']['modcpdir'].'/moderate.php?do=posts\">Post put under moderation based on Auto-Moderation Keywords", "0", ""); '; $this->dbobject->query($sql); $sql = 'UPDATE '.TABLE_PREFIX.'glowhostspamomatic_stats SET moderated = moderated + 1; '; $this->dbobject->query($sql); } } else { $link_count = substr_count(strtolower($this->fetch_field('pagetext', 'post')), 'http:'); $link_count += substr_count($this->fetch_field('pagetext', 'post'), '@'); if (($link_count > $this->registry->options['glowhostspamomatic_automodurls']) && !can_moderate()) { if ($this->registry->options['glowhostspamomatic_automodpostaction'] == 1) standard_error(fetch_error('glowhostspamomatic_reject_post', $query)); else { $this->set('visible', 0); $sql = 'INSERT INTO '.TABLE_PREFIX.'glowhostspamomatic_log(`date`, `ip`, `email`, `username`, `message`, `is_blocked`, `user_hash`) VALUES (now(), "'.addslashes($_SERVER['REMOTE_ADDR']).'", "'.addslashes($this->registry->userinfo['email']).'", "'.addslashes($this->registry->userinfo['username']).'", "registry->config['Misc']['modcpdir'].'/moderate.php?do=posts\">Post put under moderation based on Auto-Moderation URL count", "0", ""); '; $this->dbobject->query($sql); $sql = 'UPDATE '.TABLE_PREFIX.'glowhostspamomatic_stats SET moderated = moderated + 1; '; $this->dbobject->query($sql); } } } } } } if ($this->registry->options['glowhostspamomatic_noob_enabled'] == 1) { if ($this->registry->options['glowhostspamomatic_noob_autopromote'] == 1) { if ($is_noob_user) { // he-he, let's apply auto-mod if ($this->registry->userinfo['posts'] >= $this->registry->options['glowhostspamomatic_noob_promotepostcount']) { $sql = 'UPDATE `'.TABLE_PREFIX.'user` SET `usergroupid` = '.$this->registry->options['glowhostspamomatic_noob_reg_ugroup'].' WHERE `userid` = '.$this->registry->userinfo['userid'].'; '; $this->dbobject->query($sql); } } } } }
register_addmember_complete	require_once(DIR . '/vbsso/vbsso.php'); vbsso_register_addmember_complete_hook($userid); require_once('includes/functions_ghsom.php'); SOM_UpdateLog();
register_addmember_process	$vbghsfs_Purged = false; $vbghsfs_userHash = ''; if (empty($userdata->errors)) { require_once('includes/functions_ghsom.php'); SOM_Process(); if ($vbulletin->options['glowhostspamomatic_noob_enabled'] == 1) { //move users.... if ($vbulletin->options['verifyemail'] == 0) { //move only if verification disabled $noob_group_id = $vbulletin->options['glowhostspamomatic_noob_group_id']; if ($noob_group_id != '') $userdata->set('usergroupid', $noob_group_id); } } }
1) It shouldn't happen. If it's reproducible if you disable all your other products, please contact vBSSO support, and provide them accurate scenario how to reproduce this and they will help you to resolve this.

2) There should be instructions while vBSSO pops the error how to fix Glowhost plugins and make this working.
Reply With Quote
  #499  
Old 03-03-2013, 10:04 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xeagle View Post
It's not required, you can have two databases separately and vBSSO supports it well.
Thanks for the information, however, after the installation I'm not able to see "connect to platform". I receive an HTTP: 404 error. I believe this is because I'm on a Windows Server running IIS.

Just to test it out I uploaded everything one more time and installed the xml file again. I still had the same issue. I'm going to remove it from the system. Give me an update if you are able to correct this. I know most use Linux servers, and I've had to deal with issues from a lot of modifications.

Thanks for the effort you put forth.
Reply With Quote
  #500  
Old 03-03-2013, 11:19 AM
xeagle xeagle is offline
 
Join Date: Sep 2011
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Syxguns View Post
Thanks for the information, however, after the installation I'm not able to see "connect to platform". I receive an HTTP: 404 error. I believe this is because I'm on a Windows Server running IIS.

Just to test it out I uploaded everything one more time and installed the xml file again. I still had the same issue. I'm going to remove it from the system. Give me an update if you are able to correct this. I know most use Linux servers, and I've had to deal with issues from a lot of modifications.

Thanks for the effort you put forth.
You are talking about a kind of connection issue that might depend on your configuration or improper install. Please contact vBSSO support team, provide them access to your forum and they will certainly take a look and help you.
Reply With Quote
  #501  
Old 03-05-2013, 06:12 AM
azn_romeo_4u azn_romeo_4u is offline
 
Join Date: Feb 2006
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where's the version for 3.8x?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06528 seconds
  • Memory Usage 2,439KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (21)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete