number of group members in legend.
3 posters
Page 1 of 1
number of group members in legend.
hi.
i have a quick question.
can it be done with phpbb2 version?
https://help.forumotion.com/t161939-number-of-group-members-in-legend
thanks in advance.
i have a quick question.
can it be done with phpbb2 version?
https://help.forumotion.com/t161939-number-of-group-members-in-legend
thanks in advance.
Last edited by MissLikeICare on January 17th 2023, 3:33 pm; edited 1 time in total
MissLikeICare- Forumember
- Posts : 28
Reputation : 0
Language : en
Re: number of group members in legend.
Good afternoon!
Quick answer:
Result:
Quick answer:
- Code:
$(document).ready(function() {
var numberOfGroups = $(".gensmall b a").length;
for (i = 0; i < numberOfGroups; i++) {
var titleValue = $(".gensmall b a")[i].getAttribute("title");
var numberOfUsers = titleValue.slice(titleValue.indexOf(":"));
var originalText = $(".gensmall b a")[i].innerHTML;
$(".gensmall b a")[i].innerHTML = originalText + numberOfUsers;
}
});
Result:
Razor12345- Support Moderator
- Posts : 1594
Reputation : 270
Language : Ukr, Rus, Eng
Location : Ukraine
SarkZKalie, TonnyKamper and كونان2000 like this post
Re: number of group members in legend.
strange... for me it's not working. will try to find, what changes causing it.
thank you @Razor12345
thank you @Razor12345
MissLikeICare- Forumember
- Posts : 28
Reputation : 0
Language : en
Similar topics
» Number of group members in legend
» display the current number of members in each group along with the images of the Group Moderator
» [HELP]Group Legend Effects
» How to make group become legend or show in legend?
» Scrolling Group Legend
» display the current number of members in each group along with the images of the Group Moderator
» [HELP]Group Legend Effects
» How to make group become legend or show in legend?
» Scrolling Group Legend
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum