1

Topic: Show new members by default on homepage

Hi, how do i show new members on the homepage by default instead of popular members?

heres my code, but it does not work, i still have to click on new members in order for it to show:
   
<h3 class="members members_list_tabs">
        <a href="#" onclick="switch_boxes('members_list','members_new',1);return false;" class="members_new_tab">{lang:"core","home_latest_members"}</a>
    </h3>
    <div class="block members">
        <div class="members_list members_new" style="display: none;">
            {members:limit=6,photos=1,cache_time=0,cache_name="new",orderdir="desc"}
        </div>
    </div>

i removed the popular member code, any ideas?

Cheers!

Last edited by Gukkie (2011-05-07 13:36:01)

2

Re: Show new members by default on homepage

{members:limit=20,photos=1,cache_time=0,cache_name="new"}

3

Re: Show new members by default on homepage

Hi, i have tried that but i still have to click on the New Members link to view, how can i set it to view by default?

4

Re: Show new members by default on homepage

Check the original code of the tab script.
And compare the instructions for the tab which is displayed directly and the one you have to click to make it visible.
There you will find the difference between visible and not visible at start up.

I didn't check but if i remembered it well it was the "style:display" but check it first pls.

Good luck,
Richard

Vld comercial version 2.6

5

Re: Show new members by default on homepage

Aha now i did not see that smile thanks lots buddy it works great smile

6

Re: Show new members by default on homepage

Your welcome.

It took me a few hours myself to find the darn thing.

Vld comercial version 2.6

7

Re: Show new members by default on homepage

I just wanted to say thanks for answering this question I had the same exact problem and I really helped me.

8

Re: Show new members by default on homepage

thanks so much for this.