Former Member
inherit
guest@proboards.com
195316
0
Dec 4, 2024 8:26:54 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 6, 2014 7:50:39 GMT -8
Show Buttons Next To The Participated Button That Will Show Today's Birthdays & Your Forums Top Posters
That will ONLY SHOW WHEN LOGGED IN And have the participated button enabled!See Screen-shots New Button Our Top Posters Next To The Participated Button Once Clicked On It Will Show your forums Top Posters GLOBAL HEADERS<script>
$(function(){ var recent = $("a.recent-threads-button");
recent.clone().attr("href", "/members?dir=desc&sort=posts").html("Our Top Posters").insertBefore($("#navigation-tree")); recent.clone().attr("href", "/members?view=birthdays").html("Today's Birthdays").insertBefore($("#navigation-tree")); });
</script> EDIT UPDATED! 11 th March 2014 Please note if you have made other modifications To your template member list ((To Show Emails)) The code below may not work
Steve
|
|
Former Member
inherit
guest@proboards.com
195316
0
Dec 4, 2024 8:26:54 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 10, 2014 10:50:37 GMT -8
@xsteveuk Steve if members have their email in their profile listed to view and not hidden the code above will not stop their emails for appearing on the list, I tried it and the way I have my forum set up member's emails other than the ones who have their's listed for public view don't appear anyway. I logged into my forum as a regular member and the code didn't stop any email from appearing if the member left it open for all to view. Hmmm I tested before I posted the code - As a user If the code below is added to the at bottom of the Summary Template = User Profile > Summary Template {if $[user.email] && $[user.id] == 1} <tr> <td class="headings">Email:</td> <td>$[user.email]</td> </tr> {/if} The email addresses should Only show to The Main Admin (The forum Owner - Administrator) Tested again on my forum And I only see emails If logged in as adminSteve
|
|
Former Member
inherit
guest@proboards.com
195316
0
Dec 4, 2024 8:26:54 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 10, 2014 12:05:39 GMT -8
@xsteveuk So did I Steve. thescooterprofessor.proboards.com/If you join my forum right now and click on the top poster button I just installed you can see an occasional email and it's members who have elected to make their email public. I have the email elimination code in the spot you said to put it. I'm not a coder but the above code doesn't have the "if member is staff" variable that I've seen in other codes like this. Also this button can be put in the menu right under the banner like I put it and I tried it as a navigation button like in your code above but I didn't like it so I put it in the above menu. One does this with the custom buttons by using this Top Posters and then the link to it as in "/members/?dir=desc&sort=posts" I'm not concerned because if a member lists his email to be seen then it doesn't matter if it's on this list? Yes I see I just registered your forum - You also have Email Addresses to show on the member list - I don't have that on my forum So I'm not seeing email addresses as a member - Perhaps a Probards admin David Clark can confirm if emails show if have the Code at bottom of the Summary Template = User Profile > Summary Template On my forum thecreativepen.proboards.comAs a user I'm not seeing emails - Only when logged in as the main admin Yes I think it the code you have added to show emails on the member list Steve
|
|
inherit
224902
0
Feb 15, 2017 12:50:39 GMT -8
Matt
2,940
September 2015
mattyboo1
|
Post by Matt on Dec 16, 2015 18:46:18 GMT -8
Thanks so much this code is amazing!
|
|
Former Member
inherit
guest@proboards.com
229143
0
Dec 4, 2024 8:26:54 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Feb 17, 2016 23:24:57 GMT -8
thank you so much
|
|
Former Member
inherit
guest@proboards.com
236123
0
Dec 4, 2024 8:26:54 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 14, 2016 9:10:01 GMT -8
Awesome sauce!! Thank you @xsteveuk!!
|
|
Former Member
inherit
guest@proboards.com
237139
0
Dec 4, 2024 8:26:54 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 7, 2017 0:52:47 GMT -8
thank you
|
|