Professional Documents
Culture Documents
WordPress
Provisioning
USER MANUAL
Copyright
© 2011-2017, i-Plugins
All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, or stored in a database or retrieval system, without
the prior written permission of the publisher.
ii
C HAPTER 1
Wordpress
Provisioning
4
S ECTION 2 WHMCS Addon
Activation Go to Setup > Addon Modules and activate the addon.
Wordpress Plugin
You only need to make sure to activate the plugin on your Enter your license key which you should have received by
Wordpress multi-site main site only. In other words, no net- email after ordering and make sure to tick ‘Full Administrator’
work activation but a single activation on the main site. in Access Control.
Go to My Sites and select your main site. Go to the bottom of the page and click on ‘Save Changes’.
Select Plugins > Installed Plugins and activate the plugin.
5
S ECTION 3 • Password: password of your WordPress admin
Create a product
Create a new server Create a product like normal but make sure that you select un-
Create a new server (Setup > Products/Services > Servers) der tab Module Settings.
and provide the following information:
• Module name: WordPressmu
• Name: any name you like
• Server group: the previously created server group
• Hostname: host name of your WordPress site
• Default role: fill in the default role the user will get or leave
• Type: WordPressmu blank to default to subscriber
• Username: admin name of your main WordPress site (the • Default blog name: fill in the name of the default blog name
one you activated the Wordpress plugin for) that will be used on creation
6
• Blog directory active: tick this box if you are allowing the cus- Blog Directory Custom Field
tomer to enter their blog directory, see ‘Blog directory cus- • Field name: enter what you like here, for example Blog direc-
tom field’ tory
• Blog title active: tick this box if you are allowing the cus- • Field type: Text Box
tomer to enter their blog title, see ‘Blog title custom field’
• Description: enter what you like
• Blog user name: choose the way you want to create the Word-
Press user name, you can choose either the WHMCS client • Validation: to allow a name of minimum 4 characters and
name or their email maximum 15, enter /^[a-zd_]{4,15}$/i
• Upload space: upload space to be allocated to the blog, leave • Select options: leave blank
blank to use the Wordpress system defaults.
• Show on Order Form: tick this box
• Send notification: tick to send the user a notification of blog
creation. You may want to leave this disabled if you are al- Blog Title Custom Field
• Field name: enter what you like here, for example Blog title
ready sending an email notification from WHMCS.
• Field type: Text Box
• Capabilities: comma delimited list of capabilities. If the de-
fault role doesn't exist, the role will be created with these ca- • Description: enter what you like
pabilities and the 'read' capability. You can leave this blank
if you are using a standard Wordpress role in the ‘default • Validation: to allow a title of minimum 4 characters and
role’ setting. maximum 45, enter /^[a-zd_]{4,45}$/i
• Don’t create a ‘blog directory custom field’ and leave that set- Sub-directory
ting unticked. Sub-directories are the easiest to set up. Just observer the fol-
lowing note:
• In the product setup ‘Details’ tab, make sure to tick ‘Require
domain’. • Create a ‘blog directory custom field’ and make sure that set-
ting is ticked in your product configuration.
During sign up for this product, the customer will be pre-
sented with the usual domain registration options and the The customer will see a field where they can enter their subdi-
Wordpress blog will be created accordingly. rectory during signup.
The plugin doesn’t create the relevant DNS C entries so this Product email notification
needs to be done manually.
We recommend to set up a custom product email template
that contains text similar to the following.
Subdomain
If you want to have blogs with subdomains created, take note Dear {$client_name},
of the following:
Your order for {$service_product_name} has now been acti-
• Don’t create a ‘blog directory custom field’ and leave that set- vated. Please keep this message for your records.
ting unticked.
Login link: http://{$service_server_hostname}
• In the product setup ‘Other’ tab, make sure to fill in ‘Subdo- Account ID: {$service_username}
main Options’. Login: {$client_email}
Password: {$service_password}
During sign up for this product, the customer will have the op-
tion to choose a subdomain and the Wordpress blog will be
created accordingly.
Payment Method: {$service_payment_method}
Amount: {$service_recurring_amount}
8
Billing Cycle: {$service_billing_cycle}
Next Due Date: {$service_next_due_date}
This should give your customers all the information they need
to access their site.
9
S ECTION 4 • [‘pwd’] = Wordpress admin password
Create a blog
During creation you need to pass the following as post vari-
ables:
Where domain is the domain name of your Wordpress multi- • [‘blog’][‘first_name’] = first name of the user
site install.
• [‘blog’][‘nickname’] = user nick name
You can also use secure SSL of course by replacing http with
• [‘blog’][‘defaultrole’] = default role (if not specified, sub-
https.
scriber will be usde)
• [‘action’] = ‘create’
Suspend
To suspend, pass the following post variables in the CURL
call:
• [‘action’] = ‘suspend’
Unsuspend
To unsuspend, pass the following post variables in the CURL
call:
• [‘action’] = ‘unsuspend’
Terminate
To terminate, pass the following post variables in the CURL
call:
• [‘action’] = ‘terminat
11