Recent content by Syn9

  1. S

    MySQL query to strip quotes

    Thanks, as requested: You're welcome! In the above example I'd be interested in stripping everything except the non-quoted text, specifically: You're welcome!
  2. S

    MySQL query to strip quotes

    I'm interested in stripping quotes without removing the posts containing them. For example, in the xf_post table: I'm aware of this addon that can delete posts containing quotes, but only want to strip quote tags including the content between them.
  3. S

    XF 2.2 Template variable for thread base url

    To clarify, it's in PAGE_CONTAINER so following your advice in #6 and adding a trailing slash, this is what I now have: {{ $xf.options.boardUrl . '/threads/' . $thread.title|to_lower|urlencode . '.' . $thread.thread_id . '/' }} The result it produces on page 2 with the thread title this is a...
  4. S

    XF 2.2 Template variable for thread base url

    Ok, I gave it a try and the result of using that custom string is: https://www.forum.com/threads/. I'm guessing it's because $thread.title and $thread.thread_id need __globals or context or contentKey etc in order to function in the PAGE_CONTAINER template?
  5. S

    XF 2.2 Template variable for thread base url

    That returns a /threads/thread-title.1/page-2 result, what I'm seeking is a template variable that only returns the base thread url in multi-page threads. For example, if it's: https://www.forum.com/threads/thread-title.1/ https://www.forum.com/threads/thread-title.1/page-2 The first one, or...
  6. S

    XF 2.2 Template variable for thread base url

    What is the template variable for a thread's base (first page) url? I've tried {$xf.uri} and {$xf.fullUri} but they include /page-2, etc after them.
  7. S

    XF 2.0 How to display ADs only in threads of particular forums ?

    Same here, tried numerous combinations and checked the XF2 Conditionals resource for the {$thread.thread_id} template syntax but found nothing yet. I ran across this post that mentions using the following template syntax but it's not working for me: <xf:if is="$context.thread.thread_id == x">...
  8. S

    [8WR] XenPorta (Portal) PRO [Paid]

    @Jaxel Is there a conditional similar to this for adding content between the article blocks, for example in EWRporta2_ArticleList_Bit? <xen:if is="{$post.position} == 0"> content </xen:if>
  9. S

    Responsive AdSense

    Ok, thanks for the quick reply!
  10. S

    Responsive AdSense

    Hello! I'm currently using #10 Display in or after the first post in a thread and I've read the suggestion to wrap the ad in a div, floating it which works great thus far. Now my question is how (via conditionals, CSS or a {xen:helper wordTrim function perhaps?) can I make an ad appear inside...
  11. S

    Nodes As Tabs

    Sent, thanks again Jake!
  12. S

    Nodes As Tabs

    Hi again Jake, Thanks for the assistance! :) Taking your advice into account each time, I reattempted it numerous ways but always end up with the same result: either a 'selected' tab with an error link or a working link with an 'unselected' tab. There must be something I'm missing to this...
  13. S

    Nodes As Tabs

    Hello, Using NAT how would I make a What's New? tab display as 'selected' when on one's /find-new/threads page? I've tried assigning it using the Node Tab Id in the HTML unsuccessfully, and the closest I've came is if I make it a 'link forum' with the link URL set to 'find-new' which works to...
Top Bottom