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.

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

3 posters

Go down

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

Post by Mr. Eddster June 25th 2012, 4: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, 10:31 am; edited 1 time in total
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

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

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

Bump!
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

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

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

bumppp. :/
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

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

Post by Mr. Eddster June 28th 2012, 10:11 am

Still nothin on this haha? Bump!
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

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

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

Hello!

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

Bye thumright
avatar
Danieeel
New Member

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

Back to top Go down

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

Post by Guest June 29th 2012, 2: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');
});
avatar
Guest
Guest


Back to top Go down

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

Post by Mr. Eddster June 29th 2012, 9: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! :/
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

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

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

Can you provide your forum url?
avatar
Guest
Guest


Back to top Go down

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

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

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

I deleted the javascript BTW...
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

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

Post by Guest June 30th 2012, 5: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();
});
avatar
Guest
Guest


Back to top Go down

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

Post by Mr. Eddster June 30th 2012, 10:09 am

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!
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

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

Post by Guest June 30th 2012, 10:24 am

Nope, I don't think. Very Happy
avatar
Guest
Guest


Back to top Go down

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

Post by Mr. Eddster June 30th 2012, 10:29 am

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!
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

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

Post by Sanket June 30th 2012, 11:32 am

Topic Solved & Locked
Sanket
Sanket
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum