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.

Change top posters bar

View previous topic View next topic Go down

Solved Change top posters bar

Post by FIB on February 11th 2015, 3:20 pm

Can I change the bar on the top posters widget to the number of posts ? ie a numerical value



Last edited by FIB on February 15th 2015, 11:23 pm; edited 2 times in total

FIB
Forumember

Male Posts : 482
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Change top posters bar

Post by FIB on February 12th 2015, 9:53 pm

Anyone help with this ?

FIB
Forumember

Male Posts : 482
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Change top posters bar

Post by Ange Tuteur on February 12th 2015, 9:55 pm

Hi @FIB,

Could you provide the URL of your forum ?

Thanks Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Change top posters bar

Post by FIB on February 12th 2015, 10:00 pm


FIB
Forumember

Male Posts : 482
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Change top posters bar

Post by Ange Tuteur on February 12th 2015, 10:08 pm

Go to Administration Panel > Modules > JavaScript codes managment > Create a new script

Placement : In the portal
Code:
$(function(){
  for (var i=0,t=$('table[title*="Posts - "]'),j=t.length; i<j; i++) t[i].innerHTML = '<tr><td>'+t[i].title.match(/^(\d+)\s/)[1]+'</td></tr>';
});

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Change top posters bar

Post by FIB on February 12th 2015, 11:10 pm

Thank you Wink

FIB
Forumember

Male Posts : 482
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Change top posters bar

Post by APE on February 13th 2015, 1:21 am

Topic solved and archived





APE
Manager
Manager

Male Posts : 8314
Reputation : 716
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Change top posters bar

Post by SLGray on February 15th 2015, 5:13 pm

Unlocked as Requested


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Change top posters bar

Post by FIB on February 15th 2015, 5:21 pm

Thank you for opening it Wink 

Although the mod works well I would now prefer it to look like this? and is it also possible to possible show 20 intead of 10?



Instead of this


FIB
Forumember

Male Posts : 482
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Change top posters bar

Post by _Twisted_Mods_ on February 15th 2015, 8:53 pm

try this

Code:

$(function(){
  for (var i=0,t=$('table[title*="Posts - "]'),j=t.length; i<j; i++) t[i].innerHTML = '';
});

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Change top posters bar

Post by FIB on February 15th 2015, 10:08 pm

That worked but I still have a double row unless I could show the Top 20?


FIB
Forumember

Male Posts : 482
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Change top posters bar

Post by _Twisted_Mods_ on February 15th 2015, 10:15 pm

replace other script with this one
Code:

$(function(){
$('table[title*="Posts - "]').parent().remove();
});

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Change top posters bar

Post by FIB on February 15th 2015, 10:19 pm

Thank you that worked fine salut one more question ...is it possible to show 20 instead of 10

FIB
Forumember

Male Posts : 482
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Change top posters bar

Post by _Twisted_Mods_ on February 15th 2015, 10:36 pm

no sorry that's server sided

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Change top posters bar

Post by FIB on February 15th 2015, 11:22 pm

Ok thank you again for your help. salut

FIB
Forumember

Male Posts : 482
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Change top posters bar

Post by _Twisted_Mods_ on February 15th 2015, 11:43 pm

Topic solved and archived

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.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