Delete FAQ

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Anti-Spam Guide
Locked
jasontcc0927
Registered User
Posts: 7
Joined: Tue Sep 06, 2016 4:34 am

Delete FAQ

Post by jasontcc0927 » Fri Sep 09, 2016 7:30 am

Currently Im using Metro theme and wish to delete member and FAQ showed in my header. Im using phpbb 3.0.14.

How should I do that? Please teach me step by step as Im not so pro on this.

Thanks.


Image
Last edited by JimA on Fri Sep 09, 2016 8:11 am, edited 1 time in total.
Reason: Moved from 3.0 Support to 3.0 Styles Support & Discussion

User avatar
Lumpy Burgertushie
Registered User
Posts: 64489
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Delete FAQ

Post by Lumpy Burgertushie » Fri Sep 09, 2016 1:58 pm

I don't find that style available here. where did you get it?
a link to your board would help.

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

User avatar
PiperB
Registered User
Posts: 172
Joined: Mon Nov 07, 2016 6:54 pm

Re: Delete FAQ

Post by PiperB » Mon Nov 28, 2016 2:19 pm

I have obtained the un-modded vanilla copy of the metro style on your behalf. I opened the overall header and peered inside to find that this style does not have a FAQ nor a Members list by default.

I did however note that it is based on prosilver default style, and the header info would be the same as far as the links are concerned unless you manually created your own with different code in it.

Here it goes as follows.

Open your /styles/metro_purple/template/overall_header.html (file name in blue)

For the FAQ removal or locking

Find:

Code: Select all

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
To completely remove it, just delete that bit of code.

To just lock it so it doesn't show you can do this after finding it.

Replace with:

Code: Select all

<!-- IF YOU_LOCK_THIS_CODE -->
<!-- Note to your future self: The above if statement and endif are to lock this code to hide it but perhaps still for future possible use. To use, remove the statements and this note. -->
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
<!-- ENDIF -->
To remove or lock the member list..

Find:

Code: Select all

<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
To completely remove it, as above so below, just remove that bit of code.

Again, just to lock it you can...

Replace with:

Code: Select all

<!-- IF YOU_LOCK_THIS_CODE -->
<!-- Note to your future self: The above if statement and endif are to lock this code to hide it but perhaps still for future possible use. To use, remove the statements and this note. -->
<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
<!-- ENDIF -->
You can make the note to self say whatever you want of course but it's useful if you do comment out or lock up some code for later use. I always like to give that as an alternative option because you might think now, "Hey I want this bit out of here", but then later change your mind and wish you had kept it there or locked it.

Though you could always pop open a fresh copy of the prosilver style overall_header.html and take that bit of code and use it to replace the ones you removed if you did change your mind later on.

I hope this helps you. :)
<!-- IF U_LOVE_NOTEPAD++ -->
[td class=statement]I Notepad++ ![/td]
<!-- ENDNEVER --> <!-- tee hee --> :P
Whoa ooo whoa ooo whoa I'm a Lady!

Locked

Return to “[3.0.x] Styles Support & Discussion”

Who is online

Users browsing this forum: No registered users and 13 guests