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 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
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 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 (:

Guest
Guest


Back to top Go down

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

Post by TR on 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
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 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 (:

Guest
Guest


Back to top Go down

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

Post by TR on 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
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 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.

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 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

Guest
Guest


Back to top Go down

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

Post by Saxaca on 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
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 March 1st 2011, 8: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 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
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 March 1st 2011, 9: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 March 1st 2011, 10:12 pm

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

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 March 1st 2011, 10: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 March 1st 2011, 10:28 pm

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

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 March 1st 2011, 10: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 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
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