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.
The forum of the forums
+2
Derri
Sandara
6 posters

    Remove certain parts of the navigation

    Sandara
    Sandara
    Forumember


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

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


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

    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.
    Mati
    Mati
    Active Poster


    Posts : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

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


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

    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.
    Mati
    Mati
    Active Poster


    Posts : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    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;
    }
    Ultron's Vision
    Ultron's Vision
    Forumember


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

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


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

    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.
    Mati
    Mati
    Active Poster


    Posts : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

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


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

    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!
    Ultron's Vision
    Ultron's Vision
    Forumember


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

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


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

    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

    Solved Re: Remove certain parts of the navigation

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

    bumpity.
    Jophy
    Jophy
    ForumGuru


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

    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;
    }
    Sandara
    Sandara
    Forumember


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

    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.
    Jophy
    Jophy
    ForumGuru


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

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


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

    Solved Re: Remove certain parts of the navigation

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

    Yay! Solved! Thank you so much!
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    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.

      Current date/time is September 23rd 2024, 11:13 am