The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Hiding /some/ groups on my forum legend?

3 posters

Go down

Hiding /some/ groups on my forum legend? Empty Hiding /some/ groups on my forum legend?

Post by TR March 1st 2011, 3:31 pm

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!
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

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

Post by Guest March 1st 2011, 3:40 pm

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


Back to top Go down

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

Post by TR March 1st 2011, 4:26 pm

Hi,

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

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

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

Post by Guest March 1st 2011, 4:34 pm

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


Back to top Go down

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

Post by TR March 1st 2011, 5:17 pm

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.
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

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

Post by Bla125 March 1st 2011, 6: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.
avatar
Bla125
New Member

Posts : 16
Reputation : 0
Language : English

http://verusgaming.forumotion.com/

Back to top Go down

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

Post by Guest March 1st 2011, 8: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
avatar
Guest
Guest


Back to top Go down

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

Post by Saxaca March 1st 2011, 8:43 pm

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

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

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

Post by Guest March 1st 2011, 8:46 pm

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


Back to top Go down

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

Post by TR March 1st 2011, 9: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).
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

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

Post by Guest March 1st 2011, 9:10 pm

i said only the ID not the user..
avatar
Guest
Guest


Back to top Go down

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

Post by TR March 1st 2011, 10:12 pm

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

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

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

Post by Guest March 1st 2011, 10:17 pm

Try open the link i gave above (:
avatar
Guest
Guest


Back to top Go down

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

Post by Saxaca March 1st 2011, 10:28 pm

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

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

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

Post by Guest March 1st 2011, 10:42 pm

I will PM you Very Happy
avatar
Guest
Guest


Back to top Go down

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

Post by TR March 2nd 2011, 12:16 am

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?
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum