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 : 1586
Reputation : 268
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
» [HELP]Group Legend Effects
» Scrolling Group Legend
» How to make group become legend or show in legend?
» Group not showing up In the legend
» [HELP]Group Legend Effects
» Scrolling Group Legend
» How to make group become legend or show in legend?
» Group not showing up In the legend
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum