First time here? Checkout the FAQ!
x
Welcome to VldMods Question and Answer, where you can ask question and receive answers from me or other members.
Okey it is some rules here.
Please ask question related to VldPersonals only ;)

Here is some questions I get from feedback:
Question:
Why should I Register here ?
Answers:
You can win free Mods and free Customize work for your site so start Register now and start earning points.

Please be back and tell us (make a comments) if the answer we give you, had help you ! if not please tell us that !

120x600

Change NEW with POPULAR members

+1 vote
After login my site with a standard template there ist a tab where you can switch between "New" and "Popular" members.

http://prysma.de/down/change.jpg

Factory setting is showing popular members first. Now i want to change this feature to show NEW MEMBERS FIRST -  but cannot find the code where to do this. Can anybody help me please.

Thx in advance
asked 12 years ago in Templates by prysma (220 points)

1 Answer

0 votes
 
Best answer

You can change it in homepage.tpl

now it it is:


<h3 class="members members_list_tabs">

<a href="#" onclick="switch_boxes('members_list','members_popular',1);return false;" class="members_popular_tab">{lang:"core","home_popular_members"}</a>

<a href="#" onclick="switch_boxes('members_list','members_new',1);return false;" class="members_new_tab">{lang:"core","home_latest_members"}</a>

</h3>

change it to:

<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>

<a href="#" onclick="switch_boxes('members_list','members_popular',1);return false;" class="members_popular_tab">{lang:"core","home_popular_members"}</a>

</h3>

answered 12 years ago by admin (11,810 points)
edited 12 years ago by admin
so you only change the order of the tabs.

now it is like this:
Popular members New members

after you change it it show:
New members Popular members
Yes, you´re right. It only changes the order of the tab text and not the appearance of the pictures. My wish is to have shown new members first instead of popular members.

Any idea?

Best - Juergen
Found it by myself :-)

Change the code which is following after the code mentioned above to:

<div class="block members">

<div class="members_list members_new">
{members:limit=11,photos=1,cache_time=0,cache_name="new"}
</div>

<div class="members_list members_popular" style="display: none;">
{members:limit=22,photos=1,cache_time=0,cache_name="popular",orderby="ratings",orderdir="desc"}
</div>

</div>
</div>

THANK YOU !!!
okey I misunderstand you ...
yes it is the same here you only need to change the order
of this code and now it show new first and popular last ...

Related questions

+1 vote
3 answers 0 comments
asked 12 years ago in Templates by anonymous
0 votes
1 answer 1 comments
asked 11 years ago in Languages by tubiao (160 points)
+1 vote
1 answer 4 comments
asked 12 years ago in Mods by Manuel (160 points)
0 votes
1 answer 0 comments
asked 11 years ago in Others by wanted9000 (190 points)