Add the Weather feature

Adding the Weather feature involves locating and adding the plug-in, and then configuring the plug-in.

Follow these steps:

  1. In the main menu, click App Components > My Features, then click the Add a new feature button.

2. The Marketplace page will appear. On the plug-ins page, enter “user directory” in the search field at the top. Learn more about adding features in How to Create and Enable Features in Your Marketplace App.



3. Click the + button in the weather box.

4. In the popup window, enter a Title. Optionally, check the Add to side menu box—which will place a link in your sidebar to this Weather plug-in feature. Click the +Add button to add this feature to your page.



Configuring the Weather feature

The Weather feature contains a number of tabs that you can configure, including:

  • Content
  • Design
  • Security
  • Tagging
  • Purchase
  • Analytics

Content

Open Weather Map API Key — Begin by getting your Weather Map API Key. Click the small i icon at the top of the Content tab, and then carefully click in the popup link.

Follow these steps the get and apply your weather API key:

  1. Sign up for an account at the OpenWeather website.
  2. Copy your API key.
  3. Return to the Content tab on the BuildFire Control Panel page.
  4. Paste it into the Open Weather Map API Key field.

Enable user current location toggle — Click this toggle to On to enable BuildFire to use your location for providing weather data.

City Name — If you leave the current location toggle in the Off setting, you can enter/select the City Name.

Temperature Unit — Choose either Fahrenheit or Celsius.

Design

You can choose colors on this tab. Uncheck the Use Custom Colors box if you want to use the default color scheme.

Follow these steps to choose your color scheme:

  1. Click the Color button to display the Color Settings popup window.



2. Click anywhere on the vertical color spectrum bar, and then click a precise color in the large color box. Then, click the Save button to choose the color.



Security

You can require that a user must login to use this feature. By requiring a login, a user must first create an account to access this feature. Optionally, you can restrict access only to users that have specific. See User Management and Tagging article for more information.

Follow these steps to restrict the use of this feature to a user that is logged in to your app:

  1. To require a user login, check the Require Login box.
  2. Check the Require Tags box. This will require that a user is logged in and has at least one tag that corresponds to the tags you enter in the Required Tags section.
  3. In the Give Access When drop-down, choose whether you want to enforce that Users Match Any Tag or Users Match All Tags.
  4. With security tagging, you can restrict access to specific plug-ins according to the tags that you assign. Any user that doesn’t have matching tags won’t be able to access this feature. Specify the tags you want to enforce in the Required Tags section.


Tagging

With tagging, a tag is applied to any user that opens this feature in your app. In the User Management page, you can see a list of each time a tag has been applied to each user. Tagging can be useful in hiding and showing content—or sending custom push notifications to various user segments. See the User Management article for more information.

To add a tag, enter the tag in the Tag Title field and click the Add Tag button.

Purchase

NOTE: Before setting up your in app purchases, go to the Commerce page and setup your products and/or subscriptions. See the User Management article for more information, see the How To Apply An In-App Purchases & Subscriptions the article.

Follow these steps if you want to provide this feature only to users who make a purchase:

  1. Check the Require Purchase box.
  2. Choose either Single purchase or Subscriptions as the minimum requirement (that will apply to all users).
  3. You can add an image to the carousel, which will show preview of the functionality for this feature (a visual aid that indicates how to use this feature). To add an image, click the Add Image button to display the Add Media popup window. You can search for an image in the My Images library, or click on an image in the panel. To upload a new image, click the Browse Images to Add button and choose an image from your computer. Click the Insert Images button to commit your changes.

4. If necessary, edit the Terms of Use and Privacy Policy Text field. You may want to change the text from the default “Terms of Use and Privacy Policy”.

5. In the Terms of Use and Privacy Policy URL field, you’ll see the default web for generic terms of use and privacy. Optionally, you can provide another link here. Learn more in the Terms & Conditions and Privacy Policy article.




6. Enter the Promotional Text that invites the users to make a purchase.

7. Choose a Product Name. Products in this list are taken from the entries that have been made in the Commerce > Purchase page.

8. Enter the Success Message that will appear after the user makes a purchase.

9. Enter the Error Message that will appear if there is a problem during a purchase.

10. Other Actions: The Action Builder enables you to link to a variety of different actions such as linking to app content, websites, phone numbers, and more. Learn more in the article, How to Create Action Items with the Action Builder.

Analytics

You’ll find analytics information on this tab. With Analytics, you can:

  • See which plugins have the highest amount of visits
  • See how much through traffic a plugin has had for the last 30 days
  • See how much through traffic a plugin has had for the last 60 and 90 days
  • See which users have used that plugin the most. NOTE: Use this knowledge to incentivize those users to bring more users to your app through rewards.
  • See what time and date a user has accessed the plugin as well as if they’re using an Android phone or an iPhone

If you have any questions, please reach out to Support@BuildFire.com

Did this answer your question?