1. 开启gallery功能,找到:
<!-- Whether or not to use the gallery -->
<property name="use.gallery" value="false" />
<!-- Gallery Admin Email -->
<property name="gallery.admin.email" value="" />
修改为:
<!-- Whether or not to use the gallery -->
<property name="use.gallery" value="true" />
<!-- Gallery Admin Email -->
<property name="gallery.admin.email" value="管理员登录账号" />
多了一个发布作品到Gallery功能。
文字说明不够长,有错误提示。
发布成功:
对应菜单:
其他同学可以保存为自己的项目。
2. 关闭首次登陆出现的服务条款提示:
用户首次登陆会显示Ya_tos_form.html
<!-- set to true if users need to accept a Terms of Service the first time
they access App Inventor -->
<property name="require.tos" value="true" />
修改为:
<!-- set to true if users need to accept a Terms of Service the first time
they access App Inventor -->
<property name="require.tos" value="false" />
3. 账号登陆验证:
<!-- Flags that select authentication method
set auth.usegoogle to true to use Google Accounts
set auth.uselocal to permit local users (username is email address) and password.
If both are set, the login page will have a link to permit people to use
their Google Account.
It is an error for neither to be set. Instead of a login page, visitors
to the site will receive an error page.
-->
<property name="auth.usegoogle" value="true" />
<property name="auth.uselocal" value="true" />
修改为:
<!-- Flags that select authentication method
set auth.usegoogle to true to use Google Accounts
set auth.uselocal to permit local users (username is email address) and password.
If both are set, the login page will have a link to permit people to use
their Google Account.
It is an error for neither to be set. Instead of a login page, visitors
to the site will receive an error page.
-->
<property name="auth.usegoogle" value="flase" />
<property name="auth.uselocal" value="true" />
离线服务器版本无法使用google验证。
4. 发送邮件的网址与密码: https://gte.fsyz.net/node/1902
<!-- Flags associated with localauth code -->
<property name="localauth.mailserver" value="https://osiris.mit.edu/passmail/" />
<property name="localauth.mailserver.password" value="changeme" />
根据自己搭建的服务器修改。
5. 一些链接的修改:
<property name="library.url" value="http://appinventor.mit.edu/explore/library" />
<property name="get_started.url" value="http://appinventor.mit.edu/explore/get-started" />
<property name="tutorials.url" value="http://appinventor.mit.edu/explore/ai2/tutorials" />
<property name="extensions.url" value="http://appinventor.mit.edu/extensions" />
<property name="troubleshooting.url" value="http://appinventor.mit.edu/explore/ai2/support/troubleshooting" />
<property name="forums.url" value="https://groups.google.com/forum/#!forum/mitappinventortest" />
<property name="feedback.url" value="http://something.example.com" />
<property name="release.notes.url" value="http://appinventor.mit.edu/ai2/ReleaseNotes.html" />
<property name="tos.url" value="/about/termsofservice.html" />
<property name="logo.url" value="http://appinventor.mit.edu" />
<property name="guide.url" value="http://appinventor.mit.edu/explore/library" />
<property name="reference.components.url" value="/reference/components/" />
系统菜单提供的一些链接,可以根据自己的实际情况来修改。