Contents

1. Using BigBluebutton (web conferencing)

2. Shortcodes Map (VC)

3. IMPORTANT: Ticksy issues explanation and security tips

4. Internet Explorer doesn’t display properly

5. Listing projects by category

6. How to update Woffice

7. 404 error on Project single pages

8. Install manually Unyson framework and extensions

9. Woffice - Compatible plugins

10. Import Theme Settings data

11. Google Login

12. (New User Approve) How to avoid password reset

13. How to disable Woffice Notifications & Activity Streams

14. How to update or get support from EventON plugin ?

15. Import Demo Error

16. Multisite Installation

17. Why isn't possible to add the reCaptcha to the login page?

18. Use File Away Plugin with Woffice

19. I can't install Unyson framework or the extensions

20. Child theme 2.0 Update

21. Directory Setup

22. What is the size for Title Page background?

23. From EventON to Pro Event Calendar

24. Error: string offset 'family'

25. How to improve the speed of your app

26. Facebook Login

27. Integrate Trello with Woffice

28. How to sort alphabetically the members directory

29. Why is the members map not working ?

30. Fix : This Webpage has a redirect loop

31. Create a multiple Wiki Pages

32. How to add a new icon in the Profile ?

33. Show / hide Admin bar base on user roles

34. How to update a Starry Wordpress theme

35. Maintenance & Coming Soon Extension

36. One Click Install Woffice

37. Switching to an Object Oriented architecture, changes for child themes

38. Archive page instead of Wiki or Project page

39. Using Gantt

40. Wiki menu disappeared in the backend

41. Using Google (GeoCoding & Map) APIs with Woffice

42. Work Anniversary Extension

43. How to set up the contact form ?

44. How to update bundled plugins

45. From Woffice to Alka Pro

1. Using BigBluebutton (web conferencing)

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


Here is a tutorial about using BigBluebutton with Woffice :

1) First, you need to install this plugins from your Wordpress admin :
https://wordpress.org/plugins/bigbluebutton/

2) Once activated, go to the plugin settings page :

3) You can now add meetings and change the permission settings as you like

4) Be sure you have read their documentation which is really complete : http://docs.bigbluebutton.org/

Then to display the meetings list, you have 2 ways : widget or shortcode ([bigbluebutton]). The shortcode is already integrated in the page builder :

Let us know if you have any other question.

2. Shortcodes Map (VC)

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


Map of the shortcodes included with Woffice through our page builder :
(These shortcodes are from the theme's files so you need the theme enabled)

This is a first version, please if you find it needs more details let us know.

YOU DON'T NEED THIS, IF YOU ARE USING OUR PAGE BUILDER ;)

  1. Alert Shortcode
  2. Animated Number
  3. BigBlueButton
  4. EventON
  5. EventON form
  6. File Away
  7. Learndash
  8. List
  9. Members
  10. Multiverso
  11. Progress bars
  12. Trello
  13. Woffice Buttons
  14. Woffice headlines
  15. Woocommerce

Alert Shortcode :

[alert title="" content="" icon="" color="" /]

Animated Number :

[animated_number number="" title="" /]

BigBlueButton (needs plugin) :

[bigbluebutton/]

EventON :

[eventon eventon_id="" eventon_open="" /]

EventON form :

[eventon_form/]

File Away :

[file_away file_away_kind="" file_away_directory="" file_away_sub="" /]

Learndash :

[learndash type="" num="" order="" tag="" category="" only_current_user=""  /]

List :

[list style="" content="" /]

Members :

[members role="" /]

Multiverso :

[multiverso mv_kind="" mv_single="" mv_category=""  /]

Progress bars :

[progressbar progress="" icon="" /]

Trello (needs a plugin) :

[trello type="" trello_id="" link="" /]

Woffice Buttons :

[woffice_button label="" link="" target="" icon="" size="" color=""  /]

Woffice Headlines :

[woffice_headlines title="" heading="" /]

Woocommerce :

[woocomerce woocommerce_title="" woocommerce_type="" woocommerce_order_by="" woocommerce_order="" woocommerce_per_page="" /]

You can find the code for them in woffice/framework-customizations/extensions/shortcodes/shortcodes/

Regarding the Visual Composer that will help you to add the theme's shortcodes :

3. IMPORTANT: Ticksy issues explanation and security tips

As you certanly know, Ticksy is going crazy in the latest weeks. Things seem to be working well until yesterday, when it faced a very tragic issue. The caching system of the sessions messed up! Our team have been logged in as customers they were replying to and vice versa. This means that potentially, for some ours, some customers might have been granted to access to private tickets and our notes, so, still potentially, also read your private credentials, if you provided them in some ticket.

Neither us or Ticksy are able to know what ticket have been read. Ticksy ensures that the access as been blcoked soon, so likely nothing happened, however if you provided some credentials in some tickets (above all if recently), we of Alkaweb team strongly suggest you to change that credentials.

Please note that this has been a issue caused by Ticksy, a service that we use as you do. It is creating troubles to us as well and we are not happy at all to provide a bad or slow support service. We didn't changed service provider yet because we feel that change it would create some troubles both for us and customers, for many reasons. However, if troubles will persist, we will be more than happy tochange it, in order to provide a better service to you.

We apologize again for this - and we hope you will understand it. We do strive to provide you the best service.

Alkaweb team.

4. Internet Explorer doesn’t display properly

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



Note : Internet Explorer is no longer supported by Microsoft and though we don't support version before IE9. However, If you're using Internet Explorer and you see something similar to this image :

Likely you can solve changing some settings in IE so it looks much better.

Go to the settings panel and click "Compatibility View Settings"


Now disable “Display intranet sites in Compatibility View”:

If this doesn’t solve your problem, check if your IE is running with an emulator of old version enabled, if yes then disable it. (You can open Debug window with F12)



5. Listing projects by category

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



replace your wp-content/themes/woffice/page-templates/projects.php file with http://take.ms/FRvWp

now edit it and on line #3 you will see :

* Template Name: Projects with 1st category

change 1st with category or anything , this text will be in template dropdown so you can recognize your template .

after that on line #68 you will see :

'terms'    => 'news',

change news with your category's slug and save file , now this template will show project related to that category :)

you can copy this file and paste in same directory and change slug and template name in all of them as per need . you may do it for all your category even if it's more than 5 :)

after that add/edit your page and in template dropdown , you should see all template .

Cheers !

6. How to update Woffice

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


It's highly recommended to update the theme (you'll have more features and it's FREE ;))

Auto-Update :

Since "August 20th, 2015 - Version 1.2.9", you can use the Auto Update extension it's much easier for you and it takes 3 seconds to set up (with your Themeforest purchase code & username).

Manual Update :

So, here we go :

Important : if you have made some changes be sure to have saved them before OR use a child theme (best options so far!).

Related tutorial : http://www.wpbeginner.com/wp-themes/how-to-update-a-wordpress-theme-without-losing-customization/

7. 404 error on Project single pages

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


This article is for you, if all the Single project pages are redirecting to a 404 :

As first thing try to change your permalinks, save them, and change back again, often permalinks need a refresh after addin new post types and just saving them again all is solved.

If the issue persists, the issue is that Wordpress use post types for all the different posts (wiki, project, blog, directory...).

And we're using the "project" one in our Project extension BUT Unyson portfolio extension is using the same ....

You have 2 ways to make it work :

1) Change the Portfolio's projects slug ->http://manual.unyson.io/en/latest/extension/portfolio/index.html#hooks

You can add this to your woffice-child/functions.php

/**
 * @internal
 */
function _filter_custom_portfolio_post_slug($slug) {
    return 'slug_different_from_project_here';
}
add_filter('fw_ext_portfolio_post_slug', '_filter_custom_portfolio_post_slug');

2) Deactivate the Portfolio extension from Unyson

Once done, you can create your project from the Projects tab and all will be working.

8. Install manually Unyson framework and extensions

For some reasons, you may need to install the Unyson framework without using wordpress interface. So we'll do it with a FTP client ;)

That's done.


9. Woffice - Compatible plugins

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


Here is a list of plugins(from Wordpress site) compatible and tested with Woffice. Of course it's compatible with many others, these ones have been tested and match most of the needs.

10. Import Theme Settings data

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


For now Unyson doesn't have any Export option for the theme settings so they're not included in the demo content files.

The only way (for now as we're working on a new way to import the demo content) is to copy / past our settings right in the database.

You just need some Mysql access (see you wp-congif.php file), once in PhpMyAdmin go to wp_options table and search for the the row : fw_theme_settings_options:woffice

Then edit the row and copy past :

a:101:{s:12:"page_loading";s:3:"yes";s:7:"private";s:3:"yep";s:14:"excluded_pages";a:5:{i:0;s:3:"181";i:1;s:2:"34";i:2;s:2:"50";i:3;s:2:"36";i:4;s:2:"40";}s:8:"hide_seo";s:4:"nope";s:8:"doc_link";s:3:"yep";s:7:"favicon";a:2:{s:13:"attachment_id";s:1:"9";s:3:"url";s:70:"//www.alka-web.com/woffice-community/wp-content/uploads/2015/07/32.png";}s:17:"favicon_android_1";a:2:{s:13:"attachment_id";s:2:"10";s:3:"url";s:71:"//www.alka-web.com/woffice-community/wp-content/uploads/2015/07/192.png";}s:17:"favicon_android_2";a:2:{s:13:"attachment_id";s:2:"11";s:3:"url";s:71:"//www.alka-web.com/woffice-community/wp-content/uploads/2015/07/144.png";}s:14:"favicon_iphone";a:2:{s:13:"attachment_id";s:2:"12";s:3:"url";s:71:"//www.alka-web.com/woffice-community/wp-content/uploads/2015/07/114.jpg";}s:12:"favicon_ipad";a:2:{s:13:"attachment_id";s:2:"13";s:3:"url";s:72:"//www.alka-web.com/woffice-community/wp-content/uploads/2015/07/1441.png";}s:20:"font_main_typography";a:4:{s:4:"size";i:14;s:6:"family";s:4:"Lato";s:5:"style";s:3:"100";s:5:"color";b:0;}s:24:"font_headline_typography";a:4:{s:4:"size";i:14;s:6:"family";s:4:"Lato";s:5:"style";s:3:"100";s:5:"color";b:0;}s:18:"font_extentedlatin";s:4:"nope";s:18:"font_headline_bold";s:4:"nope";s:23:"font_headline_uppercase";s:3:"yep";s:11:"color_infos";s:0:"";s:13:"color_colored";s:7:"#526f88";s:10:"color_text";s:7:"#444444";s:13:"color_main_bg";s:7:"#e8e8e8";s:12:"color_light1";s:7:"#e8e8e8";s:12:"color_light2";s:7:"#f4f4f4";s:12:"color_light3";s:7:"#9e9e9e";s:19:"color_notifications";s:7:"#ffa500";s:11:"header_logo";s:0:"";s:12:"header_width";s:3:"180";s:13:"header_height";s:2:"60";s:16:"header_logo_hide";b:0;s:12:"header_fixed";s:3:"yep";s:12:"header_color";s:7:"#444444";s:17:"header_background";s:7:"#ffffff";s:11:"header_link";s:7:"#9e9e9e";s:17:"header_link_hover";s:7:"#f4f4f4";s:13:"header_search";s:3:"yep";s:11:"header_user";s:3:"yep";s:15:"menu_background";s:7:"#3a4349";s:10:"menu_width";s:3:"100";s:11:"menu_color2";s:7:"#343637";s:10:"menu_hover";s:7:"#526f88";s:19:"main_featured_image";a:2:{s:13:"attachment_id";s:2:"19";s:3:"url";s:91:"//www.alka-web.com/woffice-community/wp-content/uploads/2015/07/5416255207_94c4f0412f_b.jpg";}s:23:"main_featured_alignment";s:6:"center";s:20:"main_featured_height";s:3:"240";s:23:"main_featured_uppercase";b:1;s:18:"main_featured_bold";b:1;s:19:"main_featured_color";s:7:"#ffffff";s:21:"main_featured_opacity";s:3:"0.8";s:16:"main_featured_bg";s:7:"#526f88";s:20:"main_featured_border";s:3:"yep";s:26:"main_featured_border_color";s:7:"#ffa500";s:17:"dashboard_columns";s:1:"3";s:12:"sidebar_show";s:4:"show";s:19:"sidebar_only_logged";s:4:"nope";s:18:"sidebar_buddypress";s:3:"yep";s:12:"sidebar_blog";s:3:"yep";s:13:"sidebar_state";s:3:"yep";s:14:"sidebar_mobile";s:4:"nope";s:11:"sidebar_min";s:4:"1200";s:14:"sidebar_scroll";s:3:"yep";s:20:"sidebar_scroll_inner";s:3:"yep";s:14:"footer_widgets";s:4:"show";s:22:"footer_widgets_columns";s:1:"3";s:12:"footer_color";s:7:"#e8e8e8";s:11:"footer_link";s:7:"#ffa500";s:17:"footer_background";s:7:"#252c2f";s:27:"footer_copyright_background";s:7:"#2c2c2c";s:26:"footer_copyright_uppercase";b:1;s:24:"footer_copyright_content";s:96:"© 2015 all rights reserved. Powered by <a href="//themeforest.net/user/2Fwebd">Woffice</a>.";s:19:"footer_border_color";s:7:"#ffa500";s:16:"extrafooter_show";s:3:"yes";s:19:"extrafooter_content";s:51:"We are more than <span>35</span> around the world !";s:16:"extrafooter_link";s:1:"#";s:24:"extrafooter_border_color";s:7:"#526f88";s:11:"buddy_roles";a:0:{}s:11:"post_create";a:14:{i:0;s:13:"administrator";i:1;s:6:"editor";i:2;s:6:"author";i:3;s:11:"contributor";i:4;s:10:"subscriber";i:5;s:13:"bbp_keymaster";i:6;s:13:"bbp_spectator";i:7;s:11:"bbp_blocked";i:8;s:13:"bbp_moderator";i:9;s:15:"bbp_participant";i:10;s:7:"manager";i:11;s:4:"demo";i:12;s:8:"customer";i:13;s:12:"shop_manager";}s:11:"wiki_create";a:14:{i:0;s:13:"administrator";i:1;s:6:"editor";i:2;s:6:"author";i:3;s:11:"contributor";i:4;s:10:"subscriber";i:5;s:13:"bbp_keymaster";i:6;s:13:"bbp_spectator";i:7;s:11:"bbp_blocked";i:8;s:13:"bbp_moderator";i:9;s:15:"bbp_participant";i:10;s:7:"manager";i:11;s:4:"demo";i:12;s:8:"customer";i:13;s:12:"shop_manager";}s:15:"projects_create";a:14:{i:0;s:13:"administrator";i:1;s:6:"editor";i:2;s:6:"author";i:3;s:11:"contributor";i:4;s:10:"subscriber";i:5;s:13:"bbp_keymaster";i:6;s:13:"bbp_spectator";i:7;s:11:"bbp_blocked";i:8;s:13:"bbp_moderator";i:9;s:15:"bbp_participant";i:10;s:7:"manager";i:11;s:4:"demo";i:12;s:8:"customer";i:13;s:12:"shop_manager";}s:16:"directory_create";a:14:{i:0;s:13:"administrator";i:1;s:6:"editor";i:2;s:6:"author";i:3;s:11:"contributor";i:4;s:10:"subscriber";i:5;s:13:"bbp_keymaster";i:6;s:13:"bbp_spectator";i:7;s:11:"bbp_blocked";i:8;s:13:"bbp_moderator";i:9;s:15:"bbp_participant";i:10;s:7:"manager";i:11;s:4:"demo";i:12;s:8:"customer";i:13;s:12:"shop_manager";}s:11:"index_title";s:4:"News";s:13:"page_comments";s:4:"hide";s:15:"projects_public";s:4:"nope";s:11:"blog_layout";s:7:"classic";s:11:"blog_number";s:2:"10";s:14:"blog_fullwidth";s:4:"show";s:12:"login_custom";s:3:"yep";s:10:"login_page";a:1:{i:0;s:1:"4";}s:10:"login_text";s:223:"Welcome here ! You can login with : 
<strong>demo / demo</strong> or <strong>demo2 / demo2</strong>
Otherwise, for this demo the content is free : <a href="http://www.alka-web.com/woffice-community/">Home Page</a>";s:22:"login_background_color";s:7:"#526f88";s:22:"login_background_image";a:2:{s:13:"attachment_id";s:2:"19";s:3:"url";s:91:"//www.alka-web.com/woffice-community/wp-content/uploads/2015/07/5416255207_94c4f0412f_b.jpg";}s:24:"login_background_opacity";d:0.20000000000000001;s:16:"login_logo_image";a:2:{s:13:"attachment_id";s:2:"18";s:3:"url";s:76:"//www.alka-web.com/woffice-community/wp-content/uploads/2015/07/logo-big.png";}s:22:"login_logo_image_width";s:3:"150";s:23:"login_logo_image_height";s:2:"59";s:15:"login_wordpress";s:4:"nope";s:19:"login_rest_password";s:4:"nope";s:16:"register_message";s:56:"If you don't have any account yet, you can register now.";s:19:"register_buddypress";s:4:"nope";s:13:"register_role";s:4:"nope";s:16:"register_captcha";s:3:"yep";s:25:"register_captcha_question";s:5:"4 + 4";s:23:"register_captcha_answer";s:1:"8";s:10:"custom_css";s:0:"";s:9:"custom_js";s:0:"";}

Once saved you should get the sale settings ;)


11. Google Login

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



(Updated for Woffice > 2.5.2)

Here are the steps to allow Google Sign In for your Woffice website ;) If the registration are closed, only user having an existing email address matching the Google account's email will be able to be authenticated. 

Firstly, make sure to enable it in the Appearance > Theme Settings > Login / Register > Google Options

Secondly, you need to open your Google developer dashboardhttps://console.developers.google.com/

If you do not have any project yet, create one and name it as you wish:

Click the "Enable API" button:

Select the "Google+ API" and enable it by clicking the "ENABLE" button.

You can now reach your "Credentials" page and "OAuth client ID":

The application type is "Web Application" and you need to set as "Authorized redirect URIs" the callback URL found in your Woffice Theme Settings (see first screenshot above).

Once done, you will find an unique Client ID and Client Secret that you can copy/past back in the Woffice Theme Settings.

All good!

Note that Google offers several option to customize the integration (logo and text).


12. (New User Approve) How to avoid password reset

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


If you are using New User Approve, likely you have noticed that after user approvation wordpress send an email to user containing a new password, different from password by user.

If you want turn off it, there is a filter in the plugin to avoid password reset. 

Add this code in functions.php of your child theme and all new user will receive the same password chosen during the registration.

add_filter('new_user_approve_bypass_password_reset', 'turn_off_passowrd_reset',10,0);
function turn_off_passowrd_reset() {
    return true;
}

13. How to disable Woffice Notifications & Activity Streams

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


From the version 2.0.5 Woffice provide powered notifications and activity streams.

If you want disable all notifications or activity streams of your site, you can do it in buddypress settings:

But if you want just disable some or all notifications and activity streams added by Woffice, then you can following lines. Add one or more of them in the functions.php of your child theme.

Notifications:

/* PROJECTS */
//Disable notification of todo assignation
define('WOFFICE_DISABLE_PROJECT_TODO_NOTIFICATION', true);
//Disable notification of member assignation
define('WOFFICE_DISABLE_PROJECT_MEMBER_NOTIFICATION', true);
//Disable notification of comments
define('WOFFICE_DISABLE_PROJECT_COMMENT_NOTIFICATION', true);
/* WIKI */
//Disable notification of likes
define('WOFFICE_DISABLE_WIKI_LIKE_NOTIFICATION', true);
//Disable notification of comments
define('WOFFICE_DISABLE_WIKI_COMMENT_NOTIFICATION', true);
/* BLOG POST */
//Disable notification of likes
define('WOFFICE_DISABLE_BLOG_POST_LIKE_NOTIFICATION', true);
//Disable notification of comments
define('WOFFICE_DISABLE_BLOG_POST_COMMENT_NOTIFICATION', true);

Activity streams:

/* PROJECTS */
//Disable activity stream for project creation and editing
define('WOFFICE_DISABLE_ACTIVITY_STREAM_PROJECT_CREATION', true);
//Disable activity stream for project comments
define('WOFFICE_DISABLE_ACTIVITY_STREAM_PROJECT_COMMENT', true);
/* WIKI */
//Disable activity stream for wiki likes
define('WOFFICE_DISABLE_ACTIVITY_STREAM_WIKI_LIKE', true);
//Disable activity stream for wiki comments
define('WOFFICE_DISABLE_ACTIVITY_STREAM_WIKI_COMMENT', true);
/* BLOG POSTS */
//Disable activity stream for post likes
define('WOFFICE_DISABLE_ACTIVITY_STREAM_BLOG_LIKE', true);
//Disable activity stream for post comments
define('WOFFICE_DISABLE_ACTIVITY_STREAM_BLOG_COMMENT', true)

14. How to update or get support from EventON plugin ?

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



Woffice is bundled with Eventon Calendar plugin as it's a core feature from the theme. 

Regarding the shortcode generator, see : https://alkaweb.ticksy.com/ticket/835437#comment-3907357

It means when you purchase a Woffice license : 

But : 

So in order to have auto-update feature from EventON or support you'll need your own purchase code. You can have one by purchasing a license here : http://codecanyon.net/item/eventon-wordpress-event-calendar-plugin/1211017?ref=ashanjay

If you plan on using a lot your calendar, we recommand you to purchase a license. 



15. Import Demo Error

Important

this article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


If you something like that while you're installing the demo content :

Keep focus on the "All done. Have fun", because everything is fine ;)

Why this is happening : The demo has many plugins that you don't need by default (BBpress, Woocommerce shop...), and the users (demo 1, demo 2...) don't exist on your setup. So Wordpress can't import those data but this is not a problem.

Just keep going on your install and don't focus on this message because the demo content has been imported ;)

16. Multisite Installation

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


We'll see here how to install Woffice on multisite installations. As said on our page the compatibility is a bit tricky but possible.

First, a really important thing to note is that Multiverso plugin (we're using it for the files management) is not compatible with multisite installation, so you won't be able to use it AND please don't install this plugin (it'll cause many issues).

Then, when you're installing the theme unlike the documentations saids, you'll have to install the plugins manually.

First, you need to install/activate this plugin before the installation :

https://wordpress.org/plugins/unyson/

Go in your Wordpress dashboard to Plugins -> Add New -> Upload Plugin

You'll find all the Plugins files in woffice/inc :

Moreover, if you have Woffice < 1.2.4 you can find some PHP notices but it's fixed in 1.2.4

Note : Regarding the Unyson Extensions

You'll find in both the subsite and the main network site the Unyson page (in the menu). In order to enable the required extensions as explained in the documentation, you'll have to go the Network site Unyson page to find them.

Let us know if you have any question ;)

2F

17. Why isn't possible to add the reCaptcha to the login page?

A lot of customers asked us why is possible to add the reCaptcha to the registration form but not to the login form. What we always ask is "why you should do that?".

This request comes likely from a wrong comprehension of the reCaptcha system. I guess that if you want to add the reCaptcha to the login form is to prevent a brute-force attack, but this isn't the correct way to do it. Let's try to make a clarification.

Why you can add a reCaptcha on the registration form?

ReCaptcha is used to avoid that fake accounts are created by a bot on your site. In this way only real accounts will be registered.

If you want to prevent brute-force attacks on your login page, reCaptcha isn't the solution your are looking for.

How can I prevent brute-force attack?

There are many useful security plugin that provide this feature. Some examples easy to use and much powerful than a reCaptcha:

18. Use File Away Plugin with Woffice

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


How to get started ?

  1. Download / Activate the File Away plugin from Wordpress.org : https://wordpress.org/plugins/file-away/ it will be done automatically for every version after 1.4.5
  2. Create your directories, it's where you want your files to be saved on your server :

  3. Use the Built-in shortcode to display an directory view or file upload :

How do I use the default shortcode generator ?

If you need something more specific there is the plugin's default shortcode which has a lot more details :

How to find help and tutorials ?

Their forum is really complete (More than 650 + threads) and you can use their built-in tutorials : File Away > Tutorial

19. I can't install Unyson framework or the extensions

Sometimes, you can encounter some issues when you try to install the extensions or Unyson. This is caused by your host but anyways the easiest way to fix it : install directly the extensions with a FTP client (Filezilla).

You just have to activate it and the extensions through the Wordpress dashboard ! ;)

Open a ticket if you need more details.

Regards,

2F


20. Child theme 2.0 Update

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


(This is only for customers with a child theme who update from version 1.X to 2.X)

In the 2.0 update, we've made MANY changes and in order to improve Woffice's speed time we had to make changes on the way files are loaded (CSS files), that includes changes for the Child Theme. 

What does that mean for me ? 

If you've version 2.0 (updates) on your site AND a child theme enabled, the CSS changes you've made will be overwritten by the parent theme's style (woffice). 

How do I change that ? 

Easy, open wp-content/woffice-child-theme/functions.php and change at the beginning : 

Line 5 to : 

wp_enqueue_style( 'woffice-child-stylesheet', get_stylesheet_uri(), array(), $theme_info->get( 'Version' ) );

Line 8 to : 

add_action('wp_enqueue_scripts', 'woffice_child_scripts', 30);

Update on your FTP and you're good ;)


21. Directory Setup

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



Here is how you can install a directory page to your Woffice website :

1. Enable the Directory Extension in the Unyson page :

2. Choose the name of the item in the Extension's settings (job, partner, recipe..)

3. Add you items :

Fields, Catgeory, Name, Content...

4. Create the page that displays the items : Create a new page

5. Make sure the page template is set on : "Directory" :

All is good, you're ready !

22. What is the size for Title Page background?

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


A lot of you have asked this questions, often when you have tryed to put an image containing text or something that can't be cropped.

The easier and quick reply to provide is that a defined size for the title page background CANNOT EXIST.

Let's try to elaborate it.

Why a defined size can't exists?

The most important cause is that the image is displayed in a container with a fluid width (the width of the window) and a fixed height.

There are some different heights depending on the window size, but they are always fixed, the title bar doesn't keep the height of the image itself, otherwise it would be a mess, imagine every page with a different size for title bar and imagine that you need to change the height of the image file every time you want change the height of the title bar.

This is not smart at all, so this mean: there will always be a vertical portion of the image not visible on certain devices.

Parallax effect

If the previous problem would be not enough, I would add that the title bar come with a parallax effect, this mean that, considering the logical of the parallax effect, the new definition is: there will always be a vertical portion of the image not visible on certain devices AND depending on the scrolling position of the page.

If you want reduce this issue, you can removing the parallax effect. You can do it using the code below and play with the background position (more information about background position here):

#featuredbox .featured-background {
    background-attachment: inherit;
    background-position: center center;
}


Put the code in the style.css of your child theme or in the theme settings:

Conclusion

The conclusion is that doesn't exists a perfect size for everyone and for every need, that allow to show the full image on every display.

We can only suggest you what should be a better size, big enough for the parallax and almost all screen.

Our suggestion is to try to keep a ratio not below the 1:3, so use an image with at least 1920px, in order to be large enough for almost every device, and height at least 600px.

23. From EventON to Pro Event Calendar

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


Woffice has been using EventON plugin from day one but due to recent changes in their licensing policy we've decided to change step by step to Pro Event Calendar.

We'll make the change smoothly starting at Woffice version 2.1.2, you'll always be able to use EventON and it'll be included and updated in any future Woffice version. But Pro Event Calendar will be advised as a first choice. 

Why ? 

EventON has became very expensive compared to Woffice's license price. Our goal is to provide top-notch intranets for a fair price and the best customer support possible. But if you want to use Woffice along a complete professional calendar, even if EventON is included, you might need to put an extra $100 to get it working with the features you'd need. 

Wordpress Pro Event Calendar doesn't have addon, it's everything in one shot : https://codecanyon.net/item/wordpress-pro-event-calendar/2485867

It also have the useful "frontend event submission" included for free. Note that most addons from Eventon are included for free within Wordpress Pro Event Calendar

Note that you can use any of those 2 plugins included with Woffice and even use them together. 

All installable plugins zips can be found under woffice/inc/ 




24. Error: string offset 'family'

Important

this article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


It's a server side issue, here some solutions:

  1. Try to reinstall all plugins
  2. Be sure Unyson plugin is installed
  3. Be sure you've saved at least once the Appearance > Theme Settings

If issue persist, please install this plugin : https://wordpress.org/plugins/wp-developer-tools/ then the dev bar and check what is your php version. Often cause is an old version of PHP.

If you have an old PHP, something like < 5.3 you should update it (not only for woffice), if you can't do or you not know how to do it, just email your host and them will sove your problem.

25. How to improve the speed of your app

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


We'll see here different ways to fix a speed issue or to improve it anyway with Woffice.

PHP version

Wordpress advice you to run on php 5.6, please make sure you have php 5.6 installed and not a older version. This is really important for your site's safety & rapidity.

Caching your Data

A first step is to cache your images/scripts/pages using one of the famous free plugins available on wordpress.org

You can try this plugin : https://wordpress.org/plugins/wp-super-cache/

It's really easy to setup and very efficient with Woffice.

You can also add this pugin : https://wordpress.org/plugins/remove-query-strings-from-static-resources/ 

Checking your server's performances

Be sure that your hosting plan is good enough to handle all your users and the complete Wordpress setup as well as Woffice theme.

There is no "minimum performance" as it depends on how you're using Woffice (community, intranet, club ...).

You can check the PHP memory limit in your php.ini configuration file. We recommend setting memory to at least 64MB.

You can also get in touch with your host provider to analyse the server's performances :

Checking for PHP errors and heavy log files

Login to your FTP and browse to wp-content/ folder.

If you find some log files, be sure the file's size is lower than 1MB.

Checking your Database for heavy tables

As we're making quite a lot of requests with the Database if a table as a memory issue that'll impact directly your site's speed.

Go to your PHPmyAdmin and access to your database's structure :

Make sure there is no heavy table (more than 5MB).

Inspecting the loading speed of each element

Using the Google Chrome Developer Tools (see : https://developers.google.com/web/tools/chrome-devtools/?hl=en)

You can use the "Network" tab to inspect each element loaded and then see if there is any large file or script loaded. So you can find there what needs to be optimized.

Be careful about Extrafooter

If you have more than 70/80 registered users, is better if you disable this option in Woffice Settings:

You can find this option in Theme Settings > Appearance > Footer & Extrafooter.

If extrafoter is not important for you, remove it may improve even more the speed of your site.

Is that all ?

Nope, there is a lot of other ways to optimize your site, you can find a good article about it here : http://www.sparringmind.com/speed-up-wordpress/

You can also use one of the many CDNs available here : https://www.cloudflare.com/

26. Facebook Login

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


(Updated for Woffice > 2.5.2)

You can use the Facebook's API to connect your users to your site using their Facebook account.

If the registration is closed, the user will be allowed to login if the email address already exists in your database. 

The first thing you want to do is to enable the Facebook Signing through the Theme Settings > Login / Register > Facebook Options:

You will now need to create a new Facebook APP for your site from this page: https://developers.facebook.com/apps/

Finally, you need to copy/past the App ID and App Secret back to the Theme Settings and save everything.

Facebook also has several settings to let you customize the Application page (logo and text).

27. Integrate Trello with Woffice

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



First of all, we were disappointed to see that for now there is not that much about the integration for Trello on Wordpress. Yet, one plugin exists, it will allow you to display any content from Trello with a link to the Trello element. It's well integrated with Woffice with a cool design.

1) First step is to install the plugin from your plugin page :

https://wordpress.org/plugins/wp-trello/

2) Once installed and activated, please create a connection between your Trello account and this app :


then you will see :


3) We're good for the set up.

Now, how are we going to display it on our pages ? Easy, we've created a Page Builder element for this :

You can now add any element for your Trello account, it will ask you an ID for each element. You can find it in the API HELPER tab in the Trello Settings, then just copy/past it in the shortcode option.

28. How to sort alphabetically the members directory

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



By default, members directory is sorted by recent activity. In this way only members that have logged at least one time are displayed.

You can solve this sorting members alphabetically.

For version 2.3.0 or earlier:

There is now an option in Theme Settings > Buddypress that allows to sort the members in a different way:



For version 2.0.4 or earlier:

Just copy the code below in the file functions.php of your child theme:

add_filter('woffice_members_loop_query', 'woffice_members_loop_query');
function woffice_members_loop_query($query) {
   return $query . '&type=alphabetical';
}




For versions older then 2.0.4:

It's really easy, just one line to change : 

You have to copy \woffice\buddypress\members\members-loop.php in your child theme, search for (beginning of the file) :

<?php if ( bp_has_members(bp_ajax_querystring( 'members' ).'&exclude='.$exclude_members) ) : ?>

and replace with :

<?php if ( bp_has_members(bp_ajax_querystring( 'members' ).'&exclude='.$exclude_members.'&type=alphabetical') ) : ?>

That's all. Once saved that'll work ;)

Note that you need to copy the whole path as well  to your child theme : 

 \woffice-child\buddypress\members\members-loop.php

NOT 

 \woffice-child\members-loop.php

29. Why is the members map not working ?

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



Here, we'll see how to make the users map working on your website. This article is going to help you if you already have set up the Locations for your users AND the Users map extension is already enabled.

1. Make sure the API connection is working

You can find another tutorial here : https://alkaweb.ticksy.com/article/4227/

Then make sure the status is set to "OK" and nothing else :

2. Save again your profile details

Go to your Buddypress profiles, and save again your profile (http://YOURSITE.com/members/USERNAME/profile/edit/group/1/).

Why ? Because we fetch all the locations from a PHP array which is refreshed when you save any Buddypress profile.

3. Check the address on Google Map

Go to Google Map and copy/past you address : http://maps.google.com, be sure there is a result to your query. Otherwise Google Geocoding API need more details ;)




30. Fix : This Webpage has a redirect loop

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


If you see this message :

This happens when the login page is used and when it's already assigned to something else :

If you want to re-access your dashboard, just rename "woffice" as "woffice2" in wp-content/themes/ that'll switch back to the default Wordpress theme AND you won't lose anything ;)


You can now access to your Admin, then :

You can turn Woffice on again and everything will be fine ;) Let us know if you have any question.

31. Create a multiple Wiki Pages

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


We'll see here how to create a second wiki page for a certain category (or severals) : 

1) You have to create a new php file for each category (group) that you need. You have to clone the page:

woffice/page-tempaltes/wiki.php 

As "wiki-group-1" for instance

and replace the template name writing something like "Wiki group 1", "Wiki group 2"

2) Search for the string:

$wiki_display = new Woffice_Wiki_Display_Manager(0);

And replace the 0 with the id of the wiki that you want to display in this new template.

If you want to add more categories on a certain page, you can pass the IDs as an array, like this:

$wiki_display = new Woffice_Wiki_Display_Manager( array(1,2,3) );

For version 2.3.1 or earliler:

Once saved, you'll see a new page template in your page's template box ;)


For version older than 2.3.1:

2) You have to search for the foreach

foreach($categories as $category) {

Then you'll have to include the WHOLE content of the foreach in an IF statement:




3) The if statement will be:

if($category->slug == 'wordpress') {

and you have to replace in each page the string wordpress, with the slug of category that you want display on this page.

Categories in editing and creation

NOTE: This is possible from version 1.8.1

If you stop now the customization, when an user try to ceate a new category or edit a current one, he will always able to select EVERY wiki category of your site, also categories of another wiki group (another parent).

Make sense that you want avoid this, if you want you have to open again the php files you have created for every wiki groups (the different templates)


In this files, search for:

<?php woffice_frontend_render('wiki',$hasError); ?>

and add the id of the category in this way:

<?php woffice_frontend_render('wiki',$hasError, 10); ?>

You can get the id of the wiki categories here:

Repeat this for each new wiki template you have created.

After, open file single-wiki-php, search for:

$terms = get_terms('wiki-category', array('hide_empty' => false));

And replace with:

global $post;
$parent  = get_the_terms ($post->ID, 'wiki-category');
$terms = get_terms('wiki-category', array('hide_empty' => false, 'child_of' =>$parent[0]->parent));

All done.

If you have questions or you need help, just open a new ticket.

32. How to add a new icon in the Profile ?

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



Here is a quick guide about how to add a new icon to the user's profile. 

(You need Woffice 2.0.2 at least : https://alkaweb.ticksy.com/article/4136/ with Buddypress Xprofile enabled) 

(You need to have basic PHP / HTML skills in order to make this change)

We'll use a child theme and assume you're using one as well. So you'll be able to update Woffice without loosing your changes. 

1. Creating your text field

To get started, we need to add a new field within the user profile. You can do that from your Wordpress Admin > Users > Profile Fields > Add New Field 

Fill in the input's name and select "Text Box" for the type. The description can stay empty. 

Let's say we've called our field : "URL"

Once saved, we'll see a new URL field in our user's profile edit page. Good. 

2. Adding the HTML in the user's profile header

Now, from you child theme : woffice-child/functions.php file, you can add the following function : 

function wofficeCustomIcon(){
    // We get the value from the current user : 
    global $bp;
    $member_id = $bp->displayed_user->id;
    $field_value   = xprofile_get_field_data('URL', $member_id);
    // We check whether it's empty or not : 
    if(!empty($field_value)){
        // We display it : 
        echo'<a href="'.esc_url($field_value) .'"  title="'.__('SEO Title','woffice').'" target="_blank">';
            echo'<i class="fa fa-link"></i>';
        echo'</a>';
    }
}
add_action('woffice_after_member_icons', 'wofficeCustomIcon');

Few notes : 



33. Show / hide Admin bar base on user roles

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



Please, add the following code in child theme's functions.php file.

function custom_remove_admin_bar() {
   if (current_user_can('subscriber')) {
        show_admin_bar(true);
   } else {
        show_admin_bar(false);
   }
}
add_action( 'after_setup_theme', 'custom_remove_admin_bar', 30);

The above code show admin bar if the user has the "subscriber" role . You may change "subscriber" with any other capability to show bar for that capability :)

34. How to update a Starry Wordpress theme

If you want to update the theme :

Important : if you have made some changes be sure to have saved them before.

Related tutorial : http://www.wpbeginner.com/wp-themes/how-to-update-a-wordpress-theme-without-losing-customization/


35. Maintenance & Coming Soon Extension

Important

this article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


Here is how the "Maintenance & Coming Soon" extension works :

First, you'll need to activate it :

This will give you access to an options page "Settings" link (it'll show up when you click the activate button).

(Note: When you click on the button, it will automatically creates a page named "maintenance". Please don't edit it, the name doesn't matter, as the content.. All need to be filled in the Extension's settings. Moreover, that page will be deleted when you deactivate the extension.)

Secondly, the Settings :


Really easy, nothing more...

Let us know if you have any question.

36. One Click Install Woffice

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


We'll see how to install the Demo content with Woffice 1.6.0 +

So we assume here that you just installed Woffice theme in your Wordpress site AND you've installed the plugins required (https://woffice.io/documentation/#documentation-setup step 8, or more).

1. Install the extension : "Backup & Demo Content"

Go to Unyson (Woffice's Extensions) page and activate the "Backup & Demo Content" extension :

2. Choose your demo & install

Go to Tools > Demo Content Install :

That's done ;)

37. Switching to an Object Oriented architecture, changes for child themes

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



Starting at version 2.1.3 (https://woffice.io/changelog/) Woffice's code design will be focus on an object oriented design. 

That won't change anything to any user who isn't using a child theme. But if you do and if you're overriding some functions from the Woffice parent theme, then this article is for you. 

What does the O.O.P architecture change means? 

It means that all functions related to the Woffice core (not extensions) have been organized through several PHP classes. 

Which also means : 

Note that the functions related to woffice/inc/frontend.php will be handled into version 2.1.4.

What's the issue then? 

If you've been using before this version and have been overriding some Woffice functions using a child theme (using this way : https://code.tutsplus.com/tutorials/a-guide-to-overriding-parent-theme-functions-in-your-child-theme--cms-22623). Then, if it's parent function has been moved to a class your overriding won't work anymore. 

There are many chances that your function hasn't been moved to a class, but if you see that you change is no longer working then you'll have to make a quick change. 

Example :  As you know, Wordpress deactivate the admin bar for any user who isn't an administrator. That function is very liked by our customers so we haven't created any option about it. Let's imagine that you want to remove it and show the admin bar for any Wordpress user. 

In the old way the functions was called in Woffice by : 

if(!function_exists('remove_admin_bar')){
    function remove_admin_bar() {
        if ( ! current_user_can( 'administrator' ) && ! is_admin() ) {
            show_admin_bar( false );
        }
    }
}

So if you wanted to remove that feature you'd have to copy/past it to your woffice-child/functions.php doing :

function remove_admin_bar() {
    return;
}

That'd have override the parent's function and removed that feature (could have been changed or improved by the way, this is just an example). 

Now, the function is declared within a class. So that won't work anymore because the function will be called anyway. 

Thus, we need to create a new class to extend the parent's class containing that function (aka method).

Following my example, the remove_admin_bar is now declared under woffice/inc/Woffice_Setup.php. 

We'll give you any function location through the support here, just ask us :)

So we'll just do : 

// We add our code after Woffice classes have been loaded : 
add_action('after_woffice_loaded', function() {
    // We declare a new class which extends the parent one :
    class Woffice_Setup_Child extends Woffice_Setup
    {
        // Same change and same name as the parent class
        public function remove_admin_bar() {
            return;
        }
    }
    // We start it :
    new Woffice_Setup_Child();
});

Please let us know if you need anymore detail, we'll be happy to help ! 

You can also have a look on the following links for more details : 

http://php.net/manual/en/language.oop5.inheritance.php

https://code.tutsplus.com/articles/object-oriented-programming-in-wordpress-inheritance-ii--cms-21457




38. Archive page instead of Wiki or Project page

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


What's happening ?

Your page as the slug "wiki" (or "portfolio") or this is the name of the post type that we've declared (in the theme's files). So when you reach yourwebsite.com/wiki/ it'll redirect you to the Archive page and not your page created.

How to fix it ?

It's really easy to fix, just edit the page's slug with anything different than "wiki", like "wikis" or "wiki-page", that'll do the trick once saved :) You can keep the page's title.

See :

39. Using Gantt

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


Here is a tutorial about using Gantt graph with Woffice :

1) First, you need to install this plugins from Wordpress : https://wordpress.org/plugins/wpit-gantt/

2) Once activated, please go to the "Gantt Options" from Wordpress :

4) Click on "Add New" -> Be sure you have set a new title :

5) Then click on "Add"

6) Once reloaded, you can now "edit" this Gantt and add labels -> "Update"

7) Add as many as you like.

8) To use it, just copy/past the shortcode :

9) Use it from any page like this :

For any question, please open a ticket.

40. Wiki menu disappeared in the backend

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



Since version 1.9.0 it's possible to handle the wiki permissions using meta caps and plugins like User Role Editor (you can find more information about role assignation here).

Some customers are randomly experiencing an issue: The admin account is not able to see the wiki menu in the backend.

The administrators account should be ALWAYS able to do everything by default, in fact User Role Editor and other plugins don't allow to edit their caps.

If you are experiencing this issue you can open the file functions.php of your theme (parent or child doesn't matter), add this code at the end:

add_action('after_setup_theme', 'woffice_add_caps_to_admin');
function woffice_add_caps_to_admin(){
    //Assign caps to Administrator
    $role = get_role('administrator');
    $role->add_cap('woffice_read_wikies');
    $role->add_cap('woffice_edit_wikies');
    $role->add_cap('woffice_edit_others_wikies');
    $role->add_cap('woffice_edit_private_wikies');
    $role->add_cap('woffice_edit_published_wikies');
    $role->add_cap('woffice_delete_wikies');
    $role->add_cap('woffice_delete_others_wikies');
    $role->add_cap('woffice_delete_private_wikies');
    $role->add_cap('woffice_delete_published_wikies');
    $role->add_cap('woffice_publish_wikies');
    $role->add_cap('woffice_read_private_wikies');
}

Load a random page and now you should see again the wiki menu with admin. If it worked, remove the code added and all should continue to works well.

If you need more helps or something goes wrong, don't hesitate to send us a ticket.

41. Using Google (GeoCoding & Map) APIs with Woffice

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


This is most likely the trickiest point in the Woffice setup. We will try to explain everything here to make sure it is as clear as possible. 

What APIs are used?

First, let see what API is needed and for what purposes, in Woffice we use two Google APIs for the maps. Any API call requires an authentication so you must get a key. 

API NameGoogle MAP Javascript APIGoogle MAP Geocoding API
Purpose- It turns Javascript code into a Google Map Using the API.
- Create all the maps (members map, option maps, directory maps, events map...).
- Mainly all the maps rendered in the frontend and client side.
- It turns addresses into GPS coordinates using Google API.
- Members map only
- It is not used within the map
Key option locationAppearance > Theme Settings > General Options > GOOGLE MAP API KEYUnyson > Woffice Members Map > Settings > 
RequirementAny other plugin using the same API can be a conflict cause. They all have an option to deactivate the the API call from their setting. Use the Theme one. No conflict here is possible. 
When API calls are madeWhenever a map is created.Whenever you load the extension's settings. 
And when any user saves his profile, we re-create all the locations. 

How to get a key for each API? 

  1. Reach the API Google Dashboard: https://console.developers.google.com/apis/
  2. Create a new Project (the name does not matter): 
  3. Find the 2 APIs that must be enabled from the APIs library: 

  4. Enable each API: 

  5. Get a key:

  6. When clicking this button, select "API key", you'll now find your key: 

Notes:

- The same key can now be used for the 2 APIs.
- You can create several keys.
- You can restrain access to your key but for any issue, that might be harder to troubleshoot. 

Troubleshooting issues 

There are several issues that may occur due to your plugins, setup, settings. Yet, it works most of the time in one shot! :) If you still have some issues please have a look below. 

Google MAP Javascript API:

Google MAP Geocoding API: 


if you still have issue of map not displaying than please check if you are using pro event calendar plugin or not .

if you are using that , go to WP-admin-panel > event calendar > settings  > 

and Check "Exclude Google Maps JS file?" option and save changes .


Member Map not showing pins : 

please make sure you have filled in google map javascript api and google map geocoding api .

after that edit 2-3 user's profile and in location field , fill location , for testing , we suggest to use only country name for testing and than you may test .

42. Work Anniversary Extension

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


As of Woffice 2.4.1 we have decided to not include a Work Anniversary Extension in the main Woffice files. 

This extension creates a Work Anniversary widget that you can customize through several settings. 

Why? 

It is basically a copy/past of the Birthdays extension with a few changes so it works independently. It would be achieved by any developer within an hour or so. 

Therefore, we decided to make it available out of the theme files but ready to use

Installation

  1. Download the extension zip: https://woffice.io/extensions/woffice-work-anniversary.zip
  2. Upload it (once unzipped) with your FTP at wp-content/themes/woffice/framework-customizations/extensions/ or if you use a child theme (which is better!): wp-content/themes/woffice-child/framework-customizations/extensions/
  3. You can find it under Unyson Extensions. Click "Activate". 
  4. You are all good, the widget have been created! :)

43. How to set up the contact form ?

Since the version 1.1.2, we only use the plugin Contact Form 7 -> https://wordpress.org/plugins/contact-form-7/

Note that you easily add a shortcode with : https://wordpress.org/plugins/really-simple-captcha/
If you don't receive any email, please be sure that your hosting provider allows the mail() function.

44. How to update bundled plugins

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


Woffice comes with premium plugins bundled. Which means that we've bought the licenses for all our customers (there in only one license per plugin and it's ours, our client don't have the purchase code) so it's included for free.

You can also have a look to the official Envato help article : https://help.market.envato.com/hc/en-us/articles/213762463-Bundled-Plugins

The plugins are located in woffice/inc/ :

When you update the theme, these plugins are not updated, however it's really easy to update. Here are two different ways :

Update by FTP (clean) :


Update by Delete/install (fast) :

You can find the latest release here : http://alka-web.com/woffice-updater/ or on the Themeforest's downloads page

45. From Woffice to Alka Pro

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



In this article we are going to demonstrate you how easily you can set up a professional intranet with Woffice, from your purchase on Themeforest to the subscription to Alka Pro.

First Steps: Installating or Updating Woffice

First of all, it's worth mentioning that if you want to use and comply with Alka Pro, you must be using Woffice version 2.5.x and counting. 

On one hand, if you are new to Woffice, ie. you've just bought this awesome product on Themeforest, we recommend you to go through this 3-minute video : 


On the other hand, if you are not sure how to update Woffice the right way, please refer to this article : https://alkaweb.ticksy.com//article/4136/

Thanks to our Woffice Updater, the update process couldn't be more straightforward.


Let's get back on track: moving to Alka Pro

If you are still unsure whether to move to Alka Pro or not, here is a quick sales pitch : unlimited messages with our Alka Chat, valuable reports and data from your Woffice website(s), access to the developer documentation, unique video tutorials, BuddyPress tab creator and feature request submission and votes.

More details here : hub.alka-web.com/pro

Now that you have your Woffice website up to date, you are able to access your embedded Alka Pro dashboard from the Woffice Settings tab. This page is actually the hub.alka-web.com/pro embedded in Woffice. 

Precious piece of advice: we recommend you to register to the Woffice Updater before moving to Alka Pro, since it will allow us to check your Themeforest account and Woffice license. Then, when registering to Alka Pro from the embedded dashboard, we will have all the required credentials to store the website in our database. And, therefore, you will be able to enjoy the Report Manager right out-of-the-box, isn't it awesome ?

Next step, in order to register, you can either do it straight from Woffice or hit our portal. 

Either way, the final result will be the same : you will be an Alka Pro customer! 

If you have register using the embedded form, you should see your Woffice website available from the Site Manager tab. If not, please hit your settings and submit this website. 

Besides this first website, you can add and an unlimited number if you are a Premium Member. 




By the way, if you enjoy this article, feel free to share, tweet, post, whatever you want to urge people to read it. If you enjoy hearing from us, feel free to engage with us on Facebook or Twitter and subscribe to our newsletter

Last but not least, you can also contribute to Woffice at some point with our brand new Partnership Program, check it out : https://woffice.io/partnership-program.

If you have any question, feel free to reach out to us. 


Alka Team