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.

Remove certain parts of the navigation

+2
Derri
Sandara
6 posters

Go down

Solved Remove certain parts of the navigation

Post by Sandara May 21st 2013, 2:27 pm

Hi! I want to remove / make the following navigation menu inaccessible:

Home
Portal
Members
Usergroup
Calendar
Gallery


So what will remain / can only be seen in the navigation menu are Profile, Messages, Login/Out/Register

I believe it is possible, but i don't know how to do it. Please help. My forum version is phpbb3. Thank you!


Last edited by Sandara on May 23rd 2013, 6:45 am; edited 1 time in total
Sandara
Sandara
Forumember

Female Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Derri May 21st 2013, 2:44 pm

All that you need to do is just remove the images ACP --> Display --> Pics Management --> Advanced --> Then Scroll down and you'll see the navigation buttons.

Note: I'd copy and pate the image urls into a notepad or something encase something goes wrong or you change your mind as this way you can get the images back easily.
Derri
Derri
Helper
Helper

Male Posts : 8711
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Mati May 21st 2013, 2:56 pm

Sandara wrote:Hi! I want to remove / make the following navigation menu inaccessible:

Home
Portal
Members
Usergroup
Calendar
Gallery


So what will remain / can only be seen in the navigation menu are Profile, Messages, Login/Out/Register

I believe it is possible, but i don't know how to do it. Please help. My forum version is phpbb3. Thank you!

Do you wish to hide them using css?
Mati
Mati
Active Poster

Posts : 1933
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara May 21st 2013, 2:58 pm

@Derri: Nope, I don't have images as navi. I have text navi. Here's the screenshot:

Remove certain parts of the navigation Untitl15

@Matti: sure please. Thank you.
Sandara
Sandara
Forumember

Female Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Mati May 21st 2013, 3:09 pm

Use this

Code:
a[href="/forum"],a[href="/Portal"],a[href="/memberlist"],a[href="/groups"],a[href="/calendar"],a[href="/gallery"] {
    display: none;
}
Mati
Mati
Active Poster

Posts : 1933
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Ultron's Vision May 21st 2013, 3:15 pm

If you also want to be sure that no one access the memberlist, groups, etc., go to Administration Panel -> Users & Groups -> Special Rights and set the permissions as you need them Wink
Ultron's Vision
Ultron's Vision
Forumember

Male Posts : 631
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara May 21st 2013, 4:29 pm

Thank you for your replies, Matti_7 and Ultra Vision!

@Matti: Thank you, the code work, but for some reason it has an ugly space between the remaining links, plus the "home" is not invisible. Here's the screenie:

Remove certain parts of the navigation Untitl16

@UltraVision: i just wanted the menu to be disabled / invisible, but member can still access it through some other ways. But the tip you gave might help me in some other time. Thanks for the reply.
Sandara
Sandara
Forumember

Female Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Mati May 21st 2013, 4:35 pm

remove this a[href="/forum"] and for the space Please provide your forum URL
Mati
Mati
Active Poster

Posts : 1933
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara May 21st 2013, 4:40 pm

I removed the one you said, sadly it just returned to normal (home, portal, gallery, etc. are shown). So I just brought pasted the whole code you gave earlier back.

By the way, here's my forum URL: http://isolationrpg.one-forum.net/

Thank you so much Matti!
Sandara
Sandara
Forumember

Female Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Ultron's Vision May 21st 2013, 4:48 pm

I don't get why people think it's Ultra Vision, it's Ultron's Vision lol

Anyway, you're welcome Wink
For now, just follow what Matti suggests.
Ultron's Vision
Ultron's Vision
Forumember

Male Posts : 631
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara May 21st 2013, 6:24 pm

Okay, I tried this https://help.forumotion.com/t121308-how-to-hide-some-text-navbars#800698 but it doesn't seem to work. Any help?

Edit: if this helps, i dunno. most of JS i install don't work, such as the Staff Online widget for Phpbb3, new latest topics for certain forums for phpbb3, etc. The JS in the link I stated above does not work too...is it because that the layout i have is imported from Invision?
Sandara
Sandara
Forumember

Female Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara May 22nd 2013, 11:59 pm

bumpity.
Sandara
Sandara
Forumember

Female Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Jophy May 23rd 2013, 6:11 am

Hello,

Use this code to remove the home link:
Code:
a[href="/"] {
  display: none !important;
}
Jophy
Jophy
ForumGuru

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara May 23rd 2013, 6:17 am

^ Thank you for your reply. for some reason, whenever i put that code in CSS, it erases all codes i placed (total wipe out, good thing i have a backup! whew!). I did it like 3x.
Sandara
Sandara
Forumember

Female Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Jophy May 23rd 2013, 6:21 am

I think it's because of the "!important"

You can use this code instead:
Code:
a[href="/"] {
  display: none;
}

Along with the codes provided by Matti_7 to remove the link you wanted, is this solved? Smile
Jophy
Jophy
ForumGuru

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara May 23rd 2013, 6:44 am

Yay! Solved! Thank you so much!
Sandara
Sandara
Forumember

Female Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by SLGray May 23rd 2013, 6:46 am

Topic Solved & Locked


Remove certain parts of the navigation Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51567
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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