小编5AM*_*E5T的帖子

简单的联系表单HTML与Captcha?

我正在为具有ReCaptcha或某种类型的反垃圾邮件功能的联系表单寻找简单的HTML.我尝试了多个教程,但它们都很复杂,我无法工作.我只需要一个名称,电子邮件和消息字段(以及ReCaptcha和提交按钮).有谁知道我在哪里可以找到一个简单的联系表格HTML?

html php forms spam-prevention contact

10
推荐指数
1
解决办法
4万
查看次数

Favicon与流星?

我正在尝试将一个favicon加载到我的Meteor项目中,但我无法让它工作.我尝试使用这个教程但是当我把我提到的引用放在我的HTML中时没有发生任何事情.还有/ public目录是什么意思?我没有/ public目录,我应该将我的favicon.ico放在根目录中吗?

directory favicon upload hyperlink meteor

4
推荐指数
1
解决办法
3988
查看次数

使用Meteor帐户禁止系统?

我正在使用使用accounts-ui和accounts-twitter的meteor进行聊天应用.我希望能够禁止人们滥用网站,但我不确定如何做到这一点,或者甚至可能.有没有办法做到这一点?这是我用来运行聊天应用程序部分的代码:

ui.js:

// render all of our messages in the ui
Template.chatBox.helpers({
  "messages": function() {
    return chatCollection.find();
  }
});

// get the value for handlerbar helper user
Template.chatMessage.helpers({
  "user": function() {
    if(this.userId == 'me') {
      return this.userId;
    } else if(this.userId) {
      getUsername(this.userId);
      return Session.get('user-' + this.userId);
    } else {
      return 'anonymous-' + this.subscriptionId;
    }
  }
});

// when Send Chat clicked at the message to the collection
Template.chatBox.events({
    "click #send": function() {
            if (Meteor.user() == null) {
              alert("You must login …
Run Code Online (Sandbox Code Playgroud)

javascript twitter account blocking meteor

3
推荐指数
1
解决办法
1468
查看次数