The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

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

View previous topic View next topic Go down

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

Post by Mr. Eddster on 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
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 on June 26th 2012, 3:13 am

Bump!

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 on June 27th 2012, 7:31 am

bumppp. :/

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 on June 28th 2012, 10:11 am

Still nothin on this haha? Bump!

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 on June 29th 2012, 2:15 am

Hello!

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

Bye thumright

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 on 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');
});

Guest
Guest


Back to top Go down

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

Post by Mr. Eddster on 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
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 on June 29th 2012, 9:52 pm

Can you provide your forum url?

Guest
Guest


Back to top Go down

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

Post by Mr. Eddster on 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
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 on 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();
});

Guest
Guest


Back to top Go down

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

Post by Mr. Eddster on 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
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 on June 30th 2012, 10:24 am

Nope, I don't think. Very Happy

Guest
Guest


Back to top Go down

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

Post by Mr. Eddster on 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
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 on June 30th 2012, 11:32 am

Topic Solved & Locked

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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