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 Tue 21 May - 15:27

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 Thu 23 May - 7:45; 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 Tue 21 May - 15:44

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 : 8755
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 Tue 21 May - 15:56

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
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara Tue 21 May - 15:58

@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 Tue 21 May - 16:09

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
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Ultron's Vision Tue 21 May - 16:15

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 : 634
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 Tue 21 May - 17:29

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 Tue 21 May - 17:35

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

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara Tue 21 May - 17:40

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 Tue 21 May - 17:48

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 : 634
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 Tue 21 May - 19:24

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 Thu 23 May - 0:59

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 Thu 23 May - 7:11

Hello,

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

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

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara Thu 23 May - 7:17

^ 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 Thu 23 May - 7:21

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 : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara Thu 23 May - 7:44

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 Thu 23 May - 7:46

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 : 51464
Reputation : 3519
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