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.

Remove certain parts of the navigation

View previous topic View next topic Go down

Solved Remove certain parts of the navigation

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


Forum Rules: :Forumotion Staff: :Appeal A Warning: :FAQ: :Tips & Tricks: :Forgotten Password/Login Issues
You need one post to send a PM
When your topic has been solved, ensure you mark the topic solved
Never post your email in public


Derri
Administrator
Administrator

Male Posts : 8385
Reputation : 576
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Mati on 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
Active Poster

Posts : 1882
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: Remove certain parts of the navigation

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

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



@Matti: sure please. Thank you.

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 on 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
Active Poster

Posts : 1882
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Ultron's Vision on 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
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 on 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:



@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
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 on May 21st 2013, 4:35 pm

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

Mati
Active Poster

Posts : 1882
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara on 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
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 on 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
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 on May 21st 2013, 6:24 pm

Okay, I tried this http://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
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 on May 22nd 2013, 11:59 pm

bumpity.

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 on May 23rd 2013, 6:11 am

Hello,

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

Jophy
ForumGuru

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

Back to top Go down

Solved Re: Remove certain parts of the navigation

Post by Sandara on 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
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 on 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
ForumGuru

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

Back to top Go down

Solved Re: Remove certain parts of the navigation

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

Yay! Solved! Thank you so much!

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 on May 23rd 2013, 6:46 am

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

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