All Activity

This stream auto-updates   

  1. Last week
  2. Earlier
  3. Install IPBWI for WordPress SSO plugin, as this is required for this addon Install the IPBWI for WordPress - Sync Groups plugin in WordPress Go to WP Admin -> IPBWI4WP -> Sync Groups Map WP roles with IPS usergroups here Go to IPS Admin -> IPBWI -> Hooks and check Activate Default Hooks Slave notification
  4. Once discussion has started, the discussion topic id is saved as post meta. get topic id meta field: $tid = get_post_meta($post_id, 'ipbwi_cc_topic_id', true); You may want to change that value. This can be done programmatically, too: add_post_meta($post_id, 'ipbwi_cc_topic_id', $topic_id, true);
  5. The following WordPress filters are available through IPBWI for WordPress - Community Comments: ipbwi4wp_community_comments_create_topic array $parameters: forum, author, title, post ipbwi4wp_community_comments_create_post array $parameters: topic, author, post
  6. Just copy file /wordpress/wp-content/plugins/ipbwi4wp_community_comments/lib/assets/tpl/community_comments.php to /wordpress/wp-content/themes/YOUR_THEME/ipbwi/community_comments.php and start editing.
  7. Following these steps will clean your IPS installation from IPS connect entries left by IPBWI: update the IPS base URL in IPBWI's SSO Settings in WordPress remove the outdated IPS connect Slave URL in PHPmyAdmin -> IP.board Database -> Table ibf_core_ipsconnect_slaves -> Field slave_url set value of field connect_slaves in table ibf_core_sys_conf_settings to amount of entries in table ibf_core_ipsconnect_slaves Go to IPS ACP -> System -> Support -> Something isn't working correctly -> continue Flush any Browser- and Servercaches, as well as CDNs like Cloudflare. Unfortunately, we will not offer a more convenient way for these steps, as IPS has already mentioned in a support ticket that such a feature is on their todo list
  8. With IPBWI 4, you are able to handle hooks triggered by IPS 4. Configuration IPBWI PHP Wrapper set ipbwi_ACTIVATE_HOOKS in /ipbwi-api/config.inc.php to true rename file /ipbwi-api/lib/hooks.php.dist to hooks.php edit file hooks.php and fill methods with your custom code SSO Hooks SSO Hooks are based on IPS.connect and automatically fire to all slaves regardless of the settings below. IPBWI IPS App After you've installed the App Go to IPS ACP -> IPBWI -> Advanced -> Hooks Activate Default Hooks. We will describe how to add custom hooks later You may want to activate hooks going to be sent to all IPS connect slaves, a custom URL and/or via email. In all cases, data is sent as json-string. Default Hooks The following Hooks are triggered for Topics and Posts when Default Hooks has been activated. set_pp_main_photo IPS\\ipbwi_hook_ipbwi_member::set_pp_main_photo Whenever a profile photo of a member has been changed. The delivered data object contains the photopath and the updated member object save IPS\\forums\\ipbwi_hook_ipbwi_forums_topic::save IPS\\forums\\Topic\\ipbwi_hook_ipbwi_forums_topic_post::save Whenever Topic Data has been created or changed - great if you are caching topic information on your site and want to get a refresh trigger. The delivered data object contains the field item with detailed informations about the item. modAction IPS\\forums\\ipbwi_hook_ipbwi_forums_topic::modAction IPS\\forums\\Topic\\ipbwi_hook_ipbwi_forums_topic_post::modAction Whenever a mod action has been performed, the data object contains a field action which informs about the type of action performed: feature unfeature pin unpin hide unhide lock unlock move merge delete approve Additionally, information about the member who has performed the action as well as a reason and item information are delivered in data object. Custom Hooks You can create your own, custom hooks utilizing the Code Hooks feature of IPS. Snippet: if(isset(\IPS\Settings::i()->ipbwi_hooks_activate_default) && \IPS\Settings::i()->ipbwi_hooks_activate_default == 1 && isset($this) && is_object($this) && method_exists($this, 'apiOutput')){ $hooks = new \IPS\ipbwi\modules\admin\advanced\hooks; $hooks->send(__METHOD__,array('item' => $this->apiOutput())); }
  9. In most cases, IPBWI for WordPress v4 works without any issues. Some third party extensions are known to generate issues in connection with IPBWI for WordPress v4. Coming Soon Page & Maintenance Mode by SeedProd This plugin deactivates the WordPress' REST API, so you'll receive the following error code during login/logout: {"code":"rest_cannot_access","message":"Only authenticated users can access the REST API.","data":{"status":401}} You may deactivate this plugin and try another one or edit file /wp-content/plugins/coming-soon/inc/class-seed-csp4.php and remove or outcomment the following line: return new WP_Error( 'rest_cannot_access', __( 'Only authenticated users can access the REST API.', 'coming-soon' ), array( 'status' => rest_authorization_required_code() ) );
  10. Default Avatars in WordPress are replaced with IPS Avatars. IPBWI for WordPress v4 uses the following hooks: add_filter('pre_get_avatar', array($this->avatars,'ipb_get_avatar'), 99 , 5); add_filter('get_avatar', array($this->avatars,'ipb_get_avatar'), 99 , 5); If you want to add new hooks for compatibility to third party plugins, like buddypress, you may add them like this: add_filter('JUST_ANOTHER_AVATAR_HOOK', array($GLOBALS['ipbwi4wp']->avatars,'ipb_get_avatar'), 99 , 5); The example above is just for orentiation, please note that no free support can be provided for hooking into other third party plugins.
  11. Since IPS v4 and IPBWI API v4, online status isn't shared anymore. The reason is how SSO since v4 has changed: v3 required cookie sharing for working SSO, while v4 has implemented a redirect method to allow SSO without domain or hosting limitations. If you are using the same domains for your site and forum and have both installed on the same host, you can get the online status of a member with the following code snippet: require_once(dirname(__FILE__).'/forum/init.php'); \IPS\Session\Front::i(); if(\IPS\Member::loggedIn()->member_id) { } Please note that our standard support does not include help with code snippets like this, as these are not part of the standard IPBWI functionality. This snippet is intended as quick start for your own research.
  12. If a WordPress site has IPBWI for WordPress v4 plugin activated and an IPS connect Key saved in settings, it will be added as slave to IP.board. If the same WordPress site is available on both, http://domain.example and https://domain.example, there will be a security mismatch key error. Please decide whether your domain is available on HTTP oder HTTPS completely and force a redirect. You may use the following htaccess code to force a 301 redirect to HTTPS. Finally, please clean your IPS table "core_ipsconnect_slaves" e.g. via PHPmyAdmin, from the false entries. # Force HTTPS RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  13. IPBWI for WordPress tries to assist you as best as possible to avoid extra documentation, but some feature are by nature more hidden than others. A complete list and explanation of all features is available on https://ipbwi.com/ipbwi-for-wordpress/ Installation unzip download package on your local harddrive copy folder ipbwi4wp to /wp-content/plugins/ activate plugin in WordPress go to IPBWI4WP settings menu page and follow the instructions there.
  14. A brief explanation is available on https://ipbwi.com/about-ipbwi/ More Details about each SSO feature and how it exactly works are described here.
  15. A brief explanation is available on https://ipbwi.com/about-ipbwi/ While all IPS connect features are supported, you'll find an explanation for each SSO feature here.
  16. Some settings are not defined by constants in config.php but are able to be set and changed everytime on runtime. url_rewrite default: true Change to false if you are running IPS without .htaccess based search engine friendly URLs. Examples: $ipbwi->core->url_rewrite = false; $ipbwi->extended->url_rewrite = false; key_in_url default: false Change to true if your server does not support auth headers. IPS will inform you about that in the REST API settings. Examples: $ipbwi->core->key_in_url = false; $ipbwi->extended->key_in_url = false; /lib/curl_custom.php.dist Rename to curl_custom.php to insert your own curl commands.
  17. Setup of IPBWI v4 API is quite easy. Just follow the steps described below to start coding your own apps powered by IPBWI v4 API. Choose a version IPBWI v4 API is provided in two versions: PHP 5 and PHP 7. While PHP 5 version runs on PHP 7, too, the PHP 7 version brings additional improvements for safety. Please note, that PHP 5 support for IPBWI v4 API has been dropped since 2017, so newest features will be available for PHP 7 version only. To make it clear: using the PHP 5 version is not recommended nor supported anymore - please switch to PHP 7. All documentations are based on PHP 7 version. Installation download the IPBWI v4 API ZIP archive unzip ZIP package into any local folder. You'll see three folders: ipbwi-api-previews contains screenshots of REST API documentation ipbwi-api-application contains the IPS application to enhance the IPS REST API Go to IPS ACP -> System -> Site Features -> Applications -> Install and upload file /ipbwi-api-application/ipbwi.tar Go To IPS ACP -> System -> Site Features -> REST API -> Create New Give it a Reference Name and enable all endpoints you'll plan to use. You will need the API Key generated here later for IPBWI's config settings. Full API reference is available as tab on the REST API site. ipbwi-api contains the PHP wrapper for REST API calls plus testing code snippets upload the ipbwi-api folder via ftp to your webhost rename config.php.dist to config.php Fill the settings for config.php: ipbwi_IPS_CONNECT_BASE_URL This is the base URL of your forum. ipbwi_IPS_CONNECT_MASTER_KEY Master KEY as shown in IPS ACP -> System -> Settings -> Login Handlers ipbwi_IPS_CONNECT_SLAVE_URL Define a slave URL. This URL will be used to propagate SSO changes from IPS master to your slave. ipbwi_IPS_CONNECT_SLAVE_KEY That should be a unique key. md5 string of your slave URL would suit in most scenarios. REST API KEY Insert the API Keys created with installing the ipbwi-api-application. The /testing/ folder contains some example requests. Start coding You are prepared now for developing your own PHP apps powered by IPBWI API. Just include the ipbwi.php into your project and start coding.
  18. thank you, this will be part of the next IPBWI release (v4.1.2)
  19. Hey Sunnmagic, sorry for the delay in response, but here's the answer: $ipbwi->member->info() included $ipbwi->member->isLoggedIn() there is no cookie sharing with IPS anymore, means no reason for a isLoggedIn function. Utilizing IPS connect, whole SSO process works on a better, but completely different way than before $ipbwi->group->info() included $ipbwi->group->isInGroup() included in member info $ipbwi->bbcode->bbcode2html not included $ipbwi->member->login included $ipbwi->pm->send not included
  20. Hi Matthias, I'm actually using IPBWI 3 on my IPB 3.x board, and I'm thinking about upgrading IPB 3 to 4... but I need to know if I can find these functions in IPBWI 4 : For a logged member, without knowing his ID : $ipbwi->member->info() $ipbwi->member->isLoggedIn() $ipbwi->group->info() $ipbwi->group->isInGroup() And these other functions : $ipbwi->bbcode->bbcode2html $ipbwi->member->login $ipbwi->pm->send Thanks !
  21. hey man, I had a client recently purchase this and we were running into some problems with the SSO for wordpress. Anyway, found an issue that I have now fixed for my client just wanted to make you aware. Under lib/api/lib/extended.php line 37: $ch = curl_init(ipbwi_IPS_CONNECT_BASE_URL.'api'.$endpoint.$query); This was my issue as on the IPB side of things there's no .htaccess files that routes the $endpoint to the index.php file So for example this creates an url like http://example.com/api/members/email@address.com/email: With no htaccess this is natively looking for a folder called 'email'. Anyway, to cut a long story short.. I simply added the reference to the api's index.php file to that url. So I have this: $ch = curl_init(ipbwi_IPS_CONNECT_BASE_URL.'api/index.php'.$endpoint.$query); And it worked fine after that.
  22. IPBWI 4 API and IPBWI for WordPress 4 are released now: https://invisionpower.com/files/file/8061-ipbwi-api-v4-extended-edition/ https://invisionpower.com/files/file/8202-ipbwi-for-wordpress-v4-ipbwp-single-sign-on-bridge/
  23. IPBWI 4 API and IPBWI for WordPress 4 are released now: https://invisionpower.com/files/file/8061-ipbwi-api-v4-extended-edition/ https://invisionpower.com/files/file/8202-ipbwi-for-wordpress-v4-ipbwp-single-sign-on-bridge/
  24. IPBWI 4 API and IPBWI for WordPress 4 are released now: https://invisionpower.com/files/file/8061-ipbwi-api-v4-extended-edition/ https://invisionpower.com/files/file/8202-ipbwi-for-wordpress-v4-ipbwp-single-sign-on-bridge/
  25. ty, I'll take care for the bug this week and inform you instantly once fixed.
  1. Load more activity