1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Newest Members Block for XenForo 1.2.x 1.0.1

Adds a Newest Members block to the Notable Members page

  1. Chris D

    Chris D XenForo Developer Staff Member

    Chris Deeming submitted a new resource:

    Newest Members Block for XenForo 1.2.x - Adds a Latest Members block to the Notable Members page

    Read more about this resource...
  2. Matthew Hawley

    Matthew Hawley Well-Known Member

    If you get an error when you try to install it on xf 1.2 beta 1...then how how did you install it? :cautious:

    EDIT: lol nvm I didn't see the 'below' part. I read fast lol.
  3. Shelley

    Shelley Well-Known Member

    Excellent work as always Chris. :)
    Chris D likes this.
  4. DRE

    DRE Well-Known Member

    Not showing up for me.
    ANGEL OF FIRE likes this.
  5. DRE

    DRE Well-Known Member

    Has anyone besides me not been able to get this to work for them?
  6. Sheldon

    Sheldon Well-Known Member

    I'll assume you are looking on your Notable Member List, right?


    I just installed as well, not showing here. No other add-on installed either.


    I cannot even find what it is looking for (the find) anywhere in my member_notable template.
    Last edited: Jun 23, 2013
  7. Sheldon

    Sheldon Well-Known Member

    Installed this twice now.

    Each time, I am completely unable to even "edit" the template modification it creates.

    In the search field, each time, it puts this:

    This is the code from the XML:
          <find><![CDATA[/<xen:if is="{\$birthdays}">(.*?)<\/xen:if>/is]]></find>
    Just not sure what is going on...

  8. Sheldon

    Sheldon Well-Known Member

    Got it to work....

    Had to go into debug, change the find part and replace part. Also changed from Reg Expression to Simple Replacement.
  9. Chris D

    Chris D XenForo Developer Staff Member

    How can it work fine for some, and not for others?
  10. oman

    oman Well-Known Member

    Works on local host without any add ons apart from my one:

  11. Sheldon

    Sheldon Well-Known Member

    I have no clue. Just reporting what happened. I'll refrain from posting any issues any more.
  12. Chris D

    Chris D XenForo Developer Staff Member

    No need to go on the defensive. It was a rhetorical question.

    I appreciate anyone reporting their findings, it has been helpful. Thank you.


    Just tried it again, still works for me too.

    /<xen:if is="{\$birthdays}">(.*?)<\/xen:if>/is
    You won't directly see this code in your template, but what this is doing is it's saying:

    Find <xen:if is="{$birthdays}"> whatever the hell is after it, up until </xen:if>

    The reason it's more ideal to do it like that, is because we cannot always guarantee - as a loose example - that the contents of the birthdays block will be the same. For example, someone could use a template modification or even manual template edit to change the birthdays block to be a list of names rather than a heap of avatars.

    If my template modification tries to find this:

        <xen:if is="{$birthdays}">
            <div class="section">
                <div class="secondaryContent avatarHeap">
                    <h3>{xen:phrase todays_birthdays}</h3>
                    <xen:foreach loop="$birthdays" value="$user">
                        <li><xen:avatar user="$user" size="s" text="{$user.username}" class="Tooltip" title="{$user.username}" /></li>
    And replace it (or add on to) with my block of code, I can't guarantee that birthdays block will always contain that code and can't guarantee my add-on will work in all cases. Regular expressions is one way I can solve that... Ok ok ok, it doesn't seem to be working for everyone right now but all I have to say about that is :p
  13. Sheldon

    Sheldon Well-Known Member

    After the way DRE has been talked about here and elsewhere, it's a surprise any one even mentions errors as it is. Just being cautious. Only installed it because he was having issues, which I actually ran across.
    Chris D and DRE like this.
  14. Sheldon

    Sheldon Well-Known Member

    Just did another upgrade from 1.1.5 to 1.2 BETA.

    Block doesn't show.

    Going to do a fresh install of 1.2 and see if it appears.
    Chris D likes this.
  15. Sheldon

    Sheldon Well-Known Member

    Brand new site, nothing added except original admin account. Then created a new user.

    This is what is inside the TMC thingy for xF.

    Chris D likes this.
  16. sweetpotato

    sweetpotato Active Member

    Does not work for me
  17. Chris D

    Chris D XenForo Developer Staff Member

  18. sweetpotato

    sweetpotato Active Member

    Let me see....
    PHP 5.2
    Chris D likes this.
  19. DRE

    DRE Well-Known Member

    Didn't mean to ignore your questions earlier (was busy) but I'll answer this post instead. A great amount of my post count is dedicated to reporting errors. Sometimes I mess up the way I report them but I won't stop even if I get ignored or talked about. That's not even the reason most people don't report errors though dude. The reality is, most people don't report errors as often as they should is because they gave up (not everyone is as stubborn as us), they are too busy, they don't care or they aren't confident enough to post the error. We are stubborn, confident and we care about getting something to work (not so much about other people's opinions) which is why we post as many errors or problems as we do, even if it's not always in a professional manner.
  20. DRE

    DRE Well-Known Member

    I don't remember. @Slavik which PHP version am I on please?

    I don't know how to tell I still haven't got used to that control panel.

Share This Page