Recent content by Surendra.S

  1. S

    XF 2.0 URL to display All Posts ?

    @Mike Yes ! I understand now that Index page route can't be set anything with a query string. Just to make my requirement more clear : Xenforo 2.0 installed in root folder. Lets say www.testdomain.com where currently Xenforo Forums show up. Now when users access www.testdomain.com , I would...
  2. S

    XF 2.0 URL to display All Posts ?

    Thank You. I want to use this All Posts page as home page of my forum. So, I tried to set Index page route as whats-new/posts/?skip=true But it does not work when I try to access home page. It gives error that requested page does not exist. What am I missing ?
  3. S

    XF 2.0 URL to display All Posts ?

    I can see that below is the URL for viewing New Posts. (but for logged in member, this URL does not show the threads that were already viewed by that member) https://xenforo.com/community/whats-new/posts/ Similarly, whats the URL for viewing All Posts ? (Just the forum posts, NOT the...
  4. S

    XF 2.0 Advertisement position for TAG results ?

    Hi All, 1) Is there an advertising position available to display ADs in TAG results page ? 2) If not, whats the template I should edit for this ? 3) How do I enforce a condition to display something (Advertisement) only if Tag result rows are > 5 ?
  5. S

    Conditional Statements for XenForo 2

    XF2: Using conditional statements, how do I identify if a page is a Index page (or) What's New page (or) Search Results page ...etc ?
  6. S

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

    Thank You so much @Chris D . That's working. Just to make things clear for others looking for the same, I am giving the crux of my requirement. Requirement: I want to display ADVERTISEMENT inside only the threads that belong to one of these forums with Node Ids - 4 or 6 or 8 (for example) AD...
  7. S

    Conditional Statements for XenForo 2

    I am using the AD Position: Post: Above message content
  8. S

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

    You are right. But I needed it in AD Position: Post: Above message content In that position, above code ( $forum.node_id ) is not working.
  9. S

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

    Yes. You got my requirement. But I tried this code already. It was not working.
  10. S

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

    4, 6, 8 are not thread ids. They are forum Ids.
  11. S

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

    Thank You ! But not looking to display content in individual threads. Need same content to be displayed in ALL threads of particular forums.
  12. S

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

    Hi All, How to display content only in threads of particular forums ? For eg, I want to display ADs only in the threads that belong to one of these forums with Node Ids - 4 or 6 or 8 I tried to create an Advertisement with code below, but it does not seem to work. <xf:if...
  13. S

    Conditional Statements for XenForo 2

    @eTiKeT™ @S Thomas How to display content only in threads of particular forums ? For eg, I want to display ADs only in the threads that belong to one of these forums with Node Ids - 4, 6, 8 I tried this, but does not seem to work. <xf:if is="in_array({$thread.node_id}, [4,6,8])">
  14. S

    Conditional Statements for XenForo 2

    Is it working for you in latest XF version ? For some reason, I cant seem to get it work.
  15. S

    XF 2.0 Is there any way to truncate or limit thread title character count?

    try this nice add-on by @au lait I think this serves your purpose. https://xenforo.com/community/resources/change-title-length-stctl2.6712/
Top Bottom