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.

Hiding /some/ groups on my forum legend?

View previous topic View next topic Go down

Hiding /some/ groups on my forum legend?

Post by TR on Tue Mar 01, 2011 9:31 am

Hi,

Is there some way to only hide certain groups at the bottom of my forum (above the legend?) I have users with color custom usernames who shouldn't really have their groups shown, but Moderators and Admins that should.

Thanks!
avatar
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by Guest on Tue Mar 01, 2011 9:40 am

add this to your CSS:
Code:
a[href="/gID-"]{display: none;}
replace the ID with the the group ID (:

Guest
Guest


Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by TR on Tue Mar 01, 2011 10:26 am

Hi,

Is the group ID the name of the group, and do I put anything in after href?
avatar
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by Guest on Tue Mar 01, 2011 10:34 am

nope its a number (:
when u open the group look for the link of it in the browser (:
put only the number (:

Guest
Guest


Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by TR on Tue Mar 01, 2011 11:17 am

Okay, I entered the code as such:
Code:
a[href="/g49-"]{display: none;}

a[href="/g27-"]{display: none;}

a[href="/g28-"]{display: none;}

a[href="/g35-"]{display: none;}

a[href="/g66-"]{display: none;}

a[href="/g62-"]{display: none;}

a[href="/g52-"]{display: none;}

a[href="/g67-"]{display: none;}

a[href="/g68-"]{display: none;}

a[href="/g18-"]{display: none;}

And it doesn't seem to be changing anything on the homepage.
avatar
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by Bla125 on Tue Mar 01, 2011 12:42 pm

I did this to hide my user group
a[href="/g4-user"]{display: none;}
Because if you click on the group it will show in the address bar g#-nameofgroup. I just found this out, although it doesn't take out the [ ] around the name.

Bla125
New Member

Posts : 16
Reputation : 0
Language : English

http://verusgaming.forumotion.com/

Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by Guest on Tue Mar 01, 2011 2:36 pm

Then you need to look in this topic to replace them with new look (:
http://www.webartzforum.com/t2276-help-me-to-add-2-things-to-this-code

Guest
Guest


Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by Saxaca on Tue Mar 01, 2011 2:43 pm

JUST after posting it, that code was spreaded, lol.
Instead of posting the id, try posting the whole link.
avatar
Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by Guest on Tue Mar 01, 2011 2:46 pm

Who you are talking to Very Happy and what are you talking about ? Wink

Guest
Guest


Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by TR on Tue Mar 01, 2011 3:04 pm

Wait what? I'm confused now Very Happy What code should I be using to remove group links from the legend, then? (I tried adding -user after gID and nothing changed).
avatar
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by Guest on Tue Mar 01, 2011 3:10 pm

i said only the ID not the user..

Guest
Guest


Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by TR on Tue Mar 01, 2011 4:12 pm

I know, I tried it with both and neither worked.
avatar
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by Guest on Tue Mar 01, 2011 4:17 pm

Try open the link i gave above (:

Guest
Guest


Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by Saxaca on Tue Mar 01, 2011 4:28 pm

@ Gangstar, the code in the webartz topic was made by me ^^
avatar
Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by Guest on Tue Mar 01, 2011 4:42 pm

I will PM you Very Happy

Guest
Guest


Back to top Go down

Re: Hiding /some/ groups on my forum legend?

Post by TR on Tue Mar 01, 2011 6:16 pm

I don't want to change the style of the text, though- I just want to remove the links of certain groups on my forum legend. Is that what that script does, or?
avatar
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

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