The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Way to make "top 20 posters" to "top 15 posters"?

    Mr. Eddster
    Mr. Eddster
    Forumember


    Male Posts : 382
    Reputation : 7
    Language : English

    Solved Way to make "top 20 posters" to "top 15 posters"?

    Post by Mr. Eddster June 25th 2012, 6:47 am

    Hi I was wondering if it was possible if was possible to change "Overall top 20 posters", and "Today's top 20 posters" down to 15? SO when people click on the link, it only shows top 15 instead of 15? Our site isnt very big, and we only have on average 13 users post per day. Wink

    Thanks!


    Last edited by Mr. Eddster on June 30th 2012, 12:31 pm; edited 1 time in total
    Mr. Eddster
    Mr. Eddster
    Forumember


    Male Posts : 382
    Reputation : 7
    Language : English

    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Mr. Eddster June 26th 2012, 5:13 am

    Bump!
    Mr. Eddster
    Mr. Eddster
    Forumember


    Male Posts : 382
    Reputation : 7
    Language : English

    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Mr. Eddster June 27th 2012, 9:31 am

    bumppp. :/
    Mr. Eddster
    Mr. Eddster
    Forumember


    Male Posts : 382
    Reputation : 7
    Language : English

    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Mr. Eddster June 28th 2012, 12:11 pm

    Still nothin on this haha? Bump!
    avatar
    Danieeel
    New Member


    Male Posts : 1
    Reputation : 1
    Language : Spanish
    Location : Santa Cruz - Argentina

    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Danieeel June 29th 2012, 4:15 am

    Hello!

    What you want is that the "Top posteadores" exit 15 users instead of 20?

    Bye thumright
    avatar
    Guest
    Guest


    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Guest June 29th 2012, 4:33 pm

    Hey!

    Add to Javascript codes management:
    Code:
    $(function(){
    $('form[action="/memberlist"] .frm-form .table tbody tr').eq('19').remove();
    $('form[action="/memberlist"] .frm-form .table tbody tr').eq('18').remove();
    $('form[action="/memberlist"] .frm-form .table tbody tr').eq('17').remove();
    $('form[action="/memberlist"] .frm-form .table tbody tr').eq('16').remove();
    $('form[action="/memberlist"] .frm-form .table tbody tr').eq('15').remove();
    });
    If not working, replace the .remove() function to .hide(). Wink

    Also add this, for replacing 20 posters to 15 texts..:
    Code:
    $(function(){
    $('.pun-crumbs p.crumbs strong').text('Overall top 15 posters');
    $('.main-box a[href="/memberlist?mode=overall_posters"]').text('Overall top 15 posters');
    });
    Mr. Eddster
    Mr. Eddster
    Forumember


    Male Posts : 382
    Reputation : 7
    Language : English

    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Mr. Eddster June 29th 2012, 11:33 pm

    L! wrote:Hey!

    Add to Javascript codes management:
    Code:
    $(function(){
    $('form[action="/memberlist"] .frm-form .table tbody tr').eq('19').remove();
    $('form[action="/memberlist"] .frm-form .table tbody tr').eq('18').remove();
    $('form[action="/memberlist"] .frm-form .table tbody tr').eq('17').remove();
    $('form[action="/memberlist"] .frm-form .table tbody tr').eq('16').remove();
    $('form[action="/memberlist"] .frm-form .table tbody tr').eq('15').remove();
    });
    If not working, replace the .remove() function to .hide(). Wink

    Also add this, for replacing 20 posters to 15 texts..:
    Code:
    $(function(){
    $('.pun-crumbs p.crumbs strong').text('Overall top 15 posters');
    $('.main-box a[href="/memberlist?mode=overall_posters"]').text('Overall top 15 posters');
    });
    Hi!
    The text worked, but the top one did not. I did remove first, that didnt work, it was still top 20, and then I switched it ti .hide, and it still didnt work! :/
    avatar
    Guest
    Guest


    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Guest June 29th 2012, 11:52 pm

    Can you provide your forum url?
    Mr. Eddster
    Mr. Eddster
    Forumember


    Male Posts : 382
    Reputation : 7
    Language : English

    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Mr. Eddster June 30th 2012, 1:18 am

    L! wrote:Can you provide your forum url?
    http://sports-forumbuzz.canadian-forum.com/

    I deleted the javascript BTW...
    avatar
    Guest
    Guest


    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Guest June 30th 2012, 7:43 am

    Add again the second code, and also:
    Code:
    $(function(){
    $('#main-content').has('p.crumbs strong:contains("Overall top 20 posters")').addClass('topposters');
    $('.topposters .frm-form .table tbody tr').eq('19').remove();
    $('.topposters .frm-form .table tbody tr').eq('18').remove();
    $('.topposters .frm-form .table tbody tr').eq('17').remove();
    $('.topposters .frm-form .table tbody tr').eq('16').remove();
    $('.topposters .frm-form .table tbody tr').eq('15').remove();
    });
    Mr. Eddster
    Mr. Eddster
    Forumember


    Male Posts : 382
    Reputation : 7
    Language : English

    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Mr. Eddster June 30th 2012, 12:09 pm

    L! wrote:Add again the second code, and also:
    Code:
    $(function(){
    $('#main-content').has('p.crumbs strong:contains("Overall top 20 posters")').addClass('topposters');
    $('.topposters .frm-form .table tbody tr').eq('19').remove();
    $('.topposters .frm-form .table tbody tr').eq('18').remove();
    $('.topposters .frm-form .table tbody tr').eq('17').remove();
    $('.topposters .frm-form .table tbody tr').eq('16').remove();
    $('.topposters .frm-form .table tbody tr').eq('15').remove();
    });
    Thank you very much! Very Happy

    One other question: When I click on "Statistics", is it possible that I would be able to see the top 15 posters for the following:
    top 10 posters this week (want this changed to top 15), top 10 posters this month, and top posters. I want all 3 of those to show the top 15 posters, instead of top 10. Is this possible? Thanks!
    avatar
    Guest
    Guest


    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Guest June 30th 2012, 12:24 pm

    Nope, I don't think. Very Happy
    Mr. Eddster
    Mr. Eddster
    Forumember


    Male Posts : 382
    Reputation : 7
    Language : English

    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Mr. Eddster June 30th 2012, 12:29 pm

    L! wrote:Nope, I don't think. Very Happy
    ALright, well thanks for your help. Smile

    I'll give you a thanks, and this is solved!
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Way to make "top 20 posters" to "top 15 posters"?

    Post by Sanket June 30th 2012, 1:32 pm

    Topic Solved & Locked

      Current date/time is September 23rd 2024, 4:19 pm