Recent content by HSP

  1. HSP

    XF 1.5 Twitter Card Related questions

    I'm stuck finalizing my Twitter card code, I am applying this in the open_graph_meta template. <meta name="twitter:card" content="summary" /> <meta name="twitter:site" content="@YOURTWITTER" /> <meta name="twitter:title" content="{xen:raw $title}" /> <meta name="twitter:description"...
  2. HSP

    XF 1.5 How to show value below user's post?

    Thank you so much for your time @Brogan I really appreciate it. Here's the working end result: <xen:if hascontent="true"> <xen:contentcheck> <xen:if is="{xen:helper ismemberof, $visitor, 1, 2, 3, 4, 5}"> <xen:if...
  3. HSP

    XF 1.5 How to show value below user's post?

    When I apply <xen:if hascontent="true"> code I get the following error message: "The following templates contained errors and were not saved: message: message - Line 66: Cannot have content-checking if tag without a contentcheck part." <xen:if is="{xen:helper ismemberof, $visitor, 1, 2, 3, 4...
  4. HSP

    XF 1.5 How to show value below user's post?

    I think I have it correct? <xen:if is="{xen:helper ismemberof, $visitor, 1, 2, 3, 4, 5}"> <xen:if is="{$message.customFields.channelID}"> <div class="g-ytsubscribe" data-channelid="{$message.customFields.channelID}" data-layout="full" data-count="default"></div>...
  5. HSP

    XF 1.5 How to show value below user's post?

    I want it to be for all visitors.
  6. HSP

    XF 1.5 How to show value below user's post?

    Thanks I need to try that too. Currently I have am using this <xen:if is="{$visitor.customFields.channelID}"> <div class="g-ytsubscribe" data-channelid="{$visitor.customFields.channelID}" data-layout="full" data-count="default"></div> </xen:if> But it's not showing to everyone :(
  7. HSP

    XF 1.5 How to show value below user's post?

    Amen! Perfecto! Final question, do you have an article where I can find info how to hide info when empty?
  8. HSP

    XF 1.5 How to show value below user's post?

    Thanks, no I didn't mean that. Some forums shows below the post(where the signature is) a custom field value. I was hoping the name of the template. Is it "message"?
  9. HSP

    XF 1.5 How to show value below user's post?

    I forgot how to display a custom field value below the content of each post. I did something in the template but I think I have dementia.
  10. HSP

    Embed Tweets

    Is there any more information on how to do that?
  11. HSP

    XF 1.5 X4 Health10 spam problem

    So far so good!
  12. HSP

    XF 1.5 X4 Health10 spam problem

    Thanks for the tip, unfortunately the IP geo varies. However, they are human registrations due the fact it improvise on my anti spam actions. For example I blacklisted particular phrases in username and suddenly the spam stopped using these usernames and use normal names instead.
  13. HSP

    Block spam COMPLETELY with no addons

    The closing tag is incorrect, it should be </xen:if> instead of <xen:else /> <xen:if is="{$visitor.message_count} < 1"> <h3 style="color:white;background:#f72600;border-radius:2px;padding:2px;text-align:center;">You need to make 1 post to fill in location, occupation and home page, why not <a...
  14. HSP

    XF 1.5 X4 Health10 spam problem

    Thanks for the feedback Mike, however, the logs look empty to me. Is there a way I can block particular phrases in text and emails? Because it, he, or she improvised on the username blacklisted word x4health. ----edit--- I am going to try this out...
Top Bottom