A hub englobing multiple hubs within the same geographic region is called a superhub. Superhubs add two additional functionalities to the Labdoo system:
In the next two sections, the above two features are described in more detail.
Labdoo users who have the "superhub" role assigned are allowed to create new Labdoo hubs. (For information on what a hub is, please refer to the Hubs Section in the 'Values and Principles' wiki book.) The process of creating a new Labdoo hub is as follows:
https://www.labdoo-dev.org/users/USERNAME
(where USERNAME is the username of the user), click on the tab 'Roles', and activate the checkbox 'hub manager' as illustrated in the next figure.
Figure. To assign the 'hub manager' role, go to that user's page, click on 'Roles' and select the appropriate checkbox. |
After the above steps, the new hub managers can start their hub activities as described in the Hubs Section of this wiki book.
Users with the superhub role are also allowed to create new pages in the labdoo.org platform to help manage the outreaching activities in their own regions. This feature allows this type of users provide localized content that is specific to the region they are covering.
To create a superhub page, follow the next steps (you will need to have the superhub role assigned to your user):
<table>
<tr>
<td>
<strong><span style='color:#ff3300;'>Your SuperHub Name</span></strong>
</td>
</tr>
<tr>
<td>
<form>
<select name='URL' onchange='window.location.href=this.form.URL.options[this.form.URL.selectedIndex].value'>
<option>Choose</option>
<option value='URL1'>Title Page 1</option>
<option value='URL2'>Title Page 2</option>
<option value='URL3'>Title Page 3</option>
<option value='URL4'>Title Page 4</option>
</select>
</form>
</td>
</tr>
</table>
Substitute 'URL{1,2,3,4}' for the URLs of your pages removing the host name. For instance, if the URL of a page is https://www.labdoo.org/content/adding-superhub-page
, then use '/content/adding-superhub-page'. Substitute also 'Title Page {1,2,3,4}' for the title of each specific page.
When done, click on 'Save' to create your menu block.
At the end of this process, you will have created a set of pages and a menu block linked to the pages. Your site visitors will be able to browse all your pages by using the menu block.
If you also want to create a 'URL redirect' of your pages (for instance, if you want to map the URL https://www.labdoo.org/content/superhub-page-regionA
to https://regionA.labdoo.org
), please email contact@labdoo.org requesting the mapping.
As the manager of a superhub, you may want to have control on how users reach out to you. In this section you will learn how you can use the 'Labdoo Contact' page to redirect requests to your superhub.
The Labdoo contact page is located in this URL: https://www.labdoo.org/content/contact-labdoo. This contact form implements two main features:
If you click on this URL https://www.labdoo.org/content/contact-labdoo?co=de&re=1, you will notice that both the country and the reason fields are prepopulated. That's because the country is passed in the URL with the parameter 'co=de' (which corresponds to the country of Germany) and the reason is passed with the parameter 're=1' (which corresponds to reason #1 in the list: "I want to contribute a trip (dootrip)").
This feature is useful for creating your own customized redirect buttons from your own superhub page to the general contact form in a way that you can preset the answer to each of these two questions if you know where your user is coming from and the reason he/she is trying to contact you.
For a list of country codes that you can use when setting the URL parameter 'co', you can refer to this page: https://countrycode.org/
The list of reasons codes is as follows:
're=0': "I want to contribute a laptop or a tablet (dootronic)"
're=1': "I want to contribute a trip (dootrip)"
're=2': "I want to become a Labdoo volunteer (labdooer)"
're=3': "I want to solicit laptops or tablets for my educational project (edoovillage)"
're=4': "I just want to send a message to Labdoo.org"
Here is a use case describing how to put all this together. Let's say that in your front superhub page you want to add a button dedicated to users who are in your region and who want to contribute a dootrip. Then, you would implement this button:
As you can see, when you click on the above button ('Flugpate werden', which in Germany means 'Contribute a trip'), you get redirected to the contact page with the country and reason fields prepopulated to the values of "Germany" and "I want to contribute a trip (dootrip)", respectively.
Here is the HTML code to implement the above button:
<a href="../content/contact-labdoo?co=de&re=1">
<img src="/profiles/labdoo/files/pictures/button-contribute-dootrip-de.png" width="200"/></a>
Feel free to cut and paste the above code as a template and modify it to generate your own customized contact buttons. Remember also that you can find template buttons that you can reuse from the Labdoo toolkit. Happy coding!
If you are a superhub manager, you will also be able to encode your own Adwords conversion paths to help make your online campaigns more effective. (More information about conversion paths can be found on the web in places like https://support.google.com/analytics/answer/1191209).
To enable your own conversion paths, click on the "Hubs" tab located at the top of this page and then click on "[Superhub] Manage adwords". (You will only be able to see this option if your user account has the superhub role enabled.) In the next page, you can edit your existing conversion paths or you can add new ones. To add a new conversion path, click on the link "Add conversion code". This will take you to a page where you can fill in all the necessary information ("Conversion ID", "Language", "Format", "Color" and "Label"). In the last field "Paths", you need to add the URL paths to the page that you want to attach the conversion path to. For instance, if the page is https://www.labdoo.org/content/thank-you-de0, then you need to enter the path "content/thank-you-de0". You can add multiple paths, each one of a separate line.
Figure. Click on "Hubs" - "[Superhub] Manage adwords" - "Add conversion code" to add your own conversion codes. |