INSTALLATION - WORDPRESS 3
Our extensions for Wordpress 3 CMS consist of following packages (.zip files):
blastchat_4.0_Wordpress3.zip
Download the file.
Installation of the files
- Unzip downloaded file in the "wp-content/plugins" directory. New directory "blastchat" will be created.
- Copy wp-content/plugins/blastchat/blastchat_detached_template.php file to your theme directory
- Copy wp-content/plugins/blastchat/blastchat_keepsession_template.php file to your theme directory
- Copy wp-content/plugins/blastchat/blastchat_mobile_template.php file to your theme directory
Configure
- Navigate to your Wordpress 3 administrator backend and login
- Click "Plugins"
- Activate "BlastChat" plugin
- Click "BlastChat" on the left sidebar and fill in the "Website ID" and "Private Key" that you obtained from BlastChat Manager
Publish "BlastChat Bar" widget
- Navigate to your Wordpress 3 administrator backend and login
- Click "Appearance"
- Click "Widgets"
- Drag&Drop "BlastChat Shout" to one of the Widget Area
- Reload page to access added Widget's settings
- Click on drop down arrow to open "BlastChat Shout" Widget options
Publish "BlastChat Chat" plugin
- Navigate to your Wordpress 3 administrator backend and login
- Click "Pages" link from the sidebar
- Click "Add New"
- Add following shortcode:
[blastchat id="id" interface="intf" width="w" height="h" rids="rids"]
where
"id" = if you have more then 1 blastchat shortcode on a single page, set id to unique number or string
"intf" = interface style "chat" or "shout", i.e. interface="chat or interface="shout"
"w" = width of the area, i.e. width="100%"
"h" = height of the area, i.e. width="480"
"rids" = comma separated string of Room id(s) to open, i.e. rids="1" or rids="1,2"
- Click "Publish"
- Click "Appearance"
- Click "Menus"
- (Create new menu if none exists)
- In "Pages" section check created page from step 3 and click "Add to Menu"
Publish "BlastChat Shout" widget
- Navigate to your Wordpress 3 administrator backend and login
- Click "Appearance"
- Click "Widgets"
- Drag&Drop "BlastChat Shout" to one of the Widget Area
- Reload page to access added Widget's settings
- Click on drop down arrow to open "BlastChat Shout" Widget options
Enable Keep Session Alive functionality
- Navigate to your Wordpress 3 administrator backend and login
- Click "Pages" link from the sidebar
- Click "Add New"
- Add following shortcode
[blastchat]
- Set "Template" to "BlastChat KeepSession"
- Click "Publish"
- Take a note of created page "Permalink"
- Edit wp-content/plugins/blastchat/config/system.js file
Add following line:
bcDataConfig.system.sessionUrl = "Permalink&bc_task=keepsession";
Change "value" of this parameter to adjust keep session alive timer in minutes:
bcDataConfig.system.sessionKeepAlive = 14;
Enable Detach functionality
- Navigate to your Wordpress 3 administrator backend and login
- Click "Pages" link from the sidebar
- Click "Add New"
- Add following shortcode
[blastchat]
- Set "Template" to "BlastChat Detached"
- Click "Publish"
- Take a note of created page "Permalink"
- Edit wp-content/plugins/blastchat/config/system.js file
Add following line:
bcDataConfig.system.detachUrl = "Permalink";
Full screen link
- Navigate to your Wordpress 3 administrator backend and login
- Click "Appearance"
- Click "Menus"
- (Create new menu if none exists)
- In "Pages" section check page created in previous section
- Click "Add to Menu"
OR
- In "Custom Links" set "URL" to "Permalink" from above
- Append "&d=1&r=rids&i=intf" to the permalink
where
- rids = comma separated list of Room id(s) to open, i.e. r=1 or r=1,2
- intf = chat or bar (interface to open), i.e. i=chat or i=bar
- Click "Add to Menu"
Mobile link
- Navigate to your Wordpress 3 administrator backend and login
- Click "Appearance"
- Click "Menus"
- (Create new menu if none exists)
- In "Pages" section check page created in previous section
- Click "Add to Menu"
OR
- In "Custom Links" set "URL" to "Permalink" from above
- Append "&i=mob" to the permalink
- Click "Add to Menu"