Glowcode/shadowcode for a username group, not working
3 posters
Page 1 of 1
Glowcode/shadowcode for a username group, not working
Halloooo everyone ^^
I have tried to follow this turtorial
https://help.forumotion.com/t96136-group-s-style-on-legend-glitter-icon-glow
But I cannot get it to work.
My code is
Where I want to have a white glow behind this Group's usernames.
So I do not know what I have done wrongly since it is not working
I have tried to follow this turtorial
https://help.forumotion.com/t96136-group-s-style-on-legend-glitter-icon-glow
But I cannot get it to work.
My code is
- Code:
a[href="/g16-first-class"] {
text-shadow:3px -1px 10px #ebe2eb;
}
Where I want to have a white glow behind this Group's usernames.
So I do not know what I have done wrongly since it is not working
Re: Glowcode/shadowcode for a username group, not working
Do you mean the group name or the usernames of the members in the group? The tutorial is for the group's name only.
Group Member Usernames: https://help.forumotion.com/t131443-customize-usernames-according-to-group#881088
Group Member Usernames: https://help.forumotion.com/t131443-customize-usernames-according-to-group#881088
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Glowcode/shadowcode for a username group, not working
Oohh I see. Silly me
Well I got it to work The main problem is, and I do not know what the solution is for my plan.
My forum is a RPG forum where people are divided in different colored groups which represents their race like werewolf, human and such. Then I have groups for people who have a special rank, where the rank group do not color the users because the group is places lowest on the grouplist.
Is there a way where I can give a gloweffect to all users in a group which isn't their maincolor?
Here is my "mixed" lowest listed group
http://newworld.danskforum.net/g16-first-class
As you can see one of the users has a shadoweffect but that is only because that person isn't in any other groups. I want to be able to give all of these users the gloweffect.
And if that cannot be done, is there anyone who knows a code, just like the floating rainbowcode for username, where you have to manually write which users are going to have this effect or not?
because I do not know java that well to be able to write a targeted username effect.
Is there a way of my targeting a group which users are in but , so even though the maincolor of the leaders are different because of their races(their other groups)
Well I got it to work The main problem is, and I do not know what the solution is for my plan.
My forum is a RPG forum where people are divided in different colored groups which represents their race like werewolf, human and such. Then I have groups for people who have a special rank, where the rank group do not color the users because the group is places lowest on the grouplist.
Is there a way where I can give a gloweffect to all users in a group which isn't their maincolor?
Here is my "mixed" lowest listed group
http://newworld.danskforum.net/g16-first-class
As you can see one of the users has a shadoweffect but that is only because that person isn't in any other groups. I want to be able to give all of these users the gloweffect.
And if that cannot be done, is there anyone who knows a code, just like the floating rainbowcode for username, where you have to manually write which users are going to have this effect or not?
because I do not know java that well to be able to write a targeted username effect.
Is there a way of my targeting a group which users are in but , so even though the maincolor of the leaders are different because of their races(their other groups)
Re: Glowcode/shadowcode for a username group, not working
You could create an array with the user Ids of the members who are in the group. Here's a quick example I wrote up with the usergroup you linked :
( Apply this in JavaScript codes management; in all the pages )
There's two things you should modify :
1. groupClass this is a string of text which represents the CSS classname added to the users of the group. You can use this class in CSS to style the users. Here's an example for the script above :
( This will go in the CSS stylesheet )
2. user is an array that contains the user ids of the members. As you can see, multiple ids are separated by a comma.
( Apply this in JavaScript codes management; in all the pages )
- Code:
$(function() {
var groupClass = 'usergroup_first-class',
user = ['u1', 'u3', 'u4', 'u5', 'u11', 'u12', 'u22', 'u25', 'u43', 'u55', 'u63', 'u67', 'u75', 'u86', 'u88', 'u94', 'u101', 'u167', 'u289', 'u298'],
a = document.getElementsByTagName('A'),
i = 0,
j = a.length,
k,
l = user.length;
for (; i < j; i++) for (k = 0; k < l; k++) if (a[i].href.replace(/.*?\/(u\d+)/, '$1') == user[k]) a[i].className += ' ' + groupClass;
});
There's two things you should modify :
1. groupClass this is a string of text which represents the CSS classname added to the users of the group. You can use this class in CSS to style the users. Here's an example for the script above :
( This will go in the CSS stylesheet )
- Code:
.usergroup_first-class {
text-shadow:0 0 2px #FF0;
}
2. user is an array that contains the user ids of the members. As you can see, multiple ids are separated by a comma.
Re: Glowcode/shadowcode for a username group, not working
Many thanks, the code works perfectly ^^
but... yes there is always a but XD sorry for that!.... (I know it is now a little bit different from my early request)
me and my admin team have found out that we need a username effect system which is more complicated than this and no longer only affecting groups.
what is the java code for targeting specific users just like your code, just without the grouppart?
I'm totally noob at java but I can see that the floating rainbowcode uses this to target users
So is there a way to rewrite that to only target specific users or?
but... yes there is always a but XD sorry for that!.... (I know it is now a little bit different from my early request)
me and my admin team have found out that we need a username effect system which is more complicated than this and no longer only affecting groups.
what is the java code for targeting specific users just like your code, just without the grouppart?
I'm totally noob at java but I can see that the floating rainbowcode uses this to target users
- Code:
var selectMe= ["u1","u25","u10","u167"];
- Code:
var groupClass = 'usergroup_first-class',
user = ['u1',
'u3', 'u4', 'u5', 'u11', 'u12', 'u22', 'u25', 'u43', 'u55', 'u63',
'u67', 'u75', 'u86', 'u88', 'u94', 'u101', 'u167', 'u289', 'u298'],
So is there a way to rewrite that to only target specific users or?
Re: Glowcode/shadowcode for a username group, not working
This should be what you're looking for, if you're wanting to modify individual members.
https://help.forumotion.com/t140463-script-to-change-several-usernames-color#955045
https://help.forumotion.com/t140463-script-to-change-several-usernames-color#955045
Similar topics
» Changing the Username's Color As Well As Multicolored Username and Glow
» Group design, group description pop up and add gif in the groups that can see in the main menu page
» Census group don't working
» Changing username option not working
» "Find a Username" from messages active for 1 group only.
» Group design, group description pop up and add gif in the groups that can see in the main menu page
» Census group don't working
» Changing username option not working
» "Find a Username" from messages active for 1 group only.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum