Recent content by valdet

  1. V

    Add option to display date and time of original quoted post(s)

    I was also looking to add this, and one of the problems is that the quoted post does not carry over the time when the original post was created. When you dump the variables inside the bb_code_tag_quote template, you notice the only fields carried over from the original post are: "name" =>...
  2. V

    XF 2.2 Is there a way to check from within a template if this is a specific widget, with an if statement?

    You probably found your solution, but in case someone else needs it, it's actually quite simple. <xf:if is="$widget.id == XX"> Do something </xf:if> Replace XX with your widget ID number
  3. V

    XF 2.2 Collapsing/expanding sidebar widgets

    I didn't post this in Suggestions forum, because as it is a common (obvious) feature in websites, it may have been suggested before, but this is a fairly simple suggestion for which I think it would help with forums that could have too many sidebar widgets. It would be really helpful to be able...
  4. V

    [Andrew] Moderator Panel

    Thanks, it is very helpful. Can you also check about adding this feature? There should also be a similar side nav-menu entry for this feature, perhaps something like: "Most ignoring user" or similar :)
  5. V

    XF 2.2 Is it possible to include variables in a custom template?

    Apologies for the bump on an old thread. Has this guide been published? I need a var from a custom add-on to display on member_macros template, and while the var works perfectly fine in its own add-on template, it shows as 0 (while it should be a different real number) on the member_macro...
  6. V

    DL6 - [Widget] Popular threads and posts

    This is a great add-on. I am interested in monthly or weekly stats for all threads, not just the newly created. I have noticed that if I select of the week or of the month options, this only applies to NEW threads or posts created for this period (week or month). It doesn't apply to existing...
  7. V

    [Andrew] Moderator Panel

    This is an amazing product. Can you also add another feature? Besides the Ignored by , I think there should also be another tab: Ignoring (that is Who is user X ignoring)?
  8. V

    XF 2.2 Making the article link preview image bigger?

    I was looking for this and as there was no solution I hardcoded it into the template. Add this on the bottom of extra.less template .contentRow-figure.contentRow-figure--fixedSmall { width: 150px; } .contentRow-figure.contentRow-figure--fixedSmall img { max-height: 150px; } Change...
  9. V

    [OzzModz] Message Max Length Permission

    Are this addon's permissions/restrictions set on a user level or usergroup level?
  10. V

    How to catch someone leaking screenshots from a private forum?

    I was testing with this and I found the template code to be fairly simple. For example I used it with random prime numbers to get a result which can be calculated back to a user ID (the one who is sharing those screenshots). {{9 * ({$xf.visitor.user_id} + 23) - 2 * ({$xf.visitor.user_id} + 41)...
  11. V

    XF 2.2 Get style type in HTML template

    Instead of using style name, just target their ids and it would be even easier then :) <xf:if is="$xf.visitor.style_id == 1"> <xf:set var="$textColor1" value="1111aa"></xf:set> <xf:elseif is="$xf.visitor.style_id == 2" /> <xf:set var="$textColor1" value="2222bb"></xf:set> <xf:elseif...
  12. V

    XF 2.2 Get style type in HTML template

    Assuming there are two different styles in play (Light and Dark), a better alternative would be to target the styleid <xf:if is="$xf.visitor.style_id == 1">Light</xf:if> <xf:if is="$xf.visitor.style_id == 2">Dark</xf:if> Your code would be <xf:if is="$xf.visitor.style_id == 1"> <xf:set...
  13. V

    XF 2.2 RSS Feed Importer to posts

    Questuon 1. Is there a way so that the RSS Feed Importer can be configured so the RSS items are posted one after the other as messages into a single thread. Currently every RSS item is posted as an individual thread. We have to manually merge threads so it looks somewhat in order. Question...
  14. V

    XF 2.2 How to combine two Xenforo variables !?

    Ok, so if any other visitor finds this useful, here's the solution The variables <xf:set var="$random" value="{{ rand(1,20) }}" /> <xf:set var="$image.1">image1.jpg</xf:set> <xf:set var="$image.2">image2.jpg</xf:set> . . . <xf:set var="$image.20">image20.jpg</xf:set> Template <div...
Top Bottom