Hide/Remove FAQ link & icon

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
TearAByte
Registered User
Posts: 13
Joined: Tue Apr 17, 2018 12:54 am

Hide/Remove FAQ link & icon

Post by TearAByte » Sat Jun 09, 2018 5:22 am

How can i hide or remove the FAQ link and icon in 3.2 ?
I found posts explaining how to do it in 3.0 and 3.1 but not sure if its the same for 3.2.

TIA ..

janus_zonstraal
Registered User
Posts: 2702
Joined: Sat Aug 30, 2014 1:30 pm

Re: Hide/Remove FAQ link & icon

Post by janus_zonstraal » Sat Jun 09, 2018 6:35 am

It is almost the same.

See /styles/yourstyle/template/navbar_header.html

remove

Code: Select all

<li <!-- IF not S_USER_LOGGED_IN -->data-skip-responsive="true"<!-- ELSE -->data-last-responsive="true"<!-- ENDIF -->>
			<a href="{U_FAQ}" rel="help" title="{L_FAQ_EXPLAIN}" role="menuitem">
				<i class="icon fa-question-circle fa-fw" aria-hidden="true"></i><span>{L_FAQ}</span>
			</a>
		</li>
Sorry! My English is bat ;) !!!

bryan23
Registered User
Posts: 102
Joined: Thu Dec 28, 2017 2:16 pm

Re: Hide/Remove FAQ link & icon

Post by bryan23 » Thu Jun 21, 2018 6:13 am

Can I ask if this actually removes the FAQ link or just the button?

If I have the direct link to the FAQ (example.com/app.php/help/faq, I can still access isn't it?

User avatar
Mannix_
Registered User
Posts: 350
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Hide/Remove FAQ link & icon

Post by Mannix_ » Thu Jun 21, 2018 6:26 am

bryan23 wrote:
Thu Jun 21, 2018 6:13 am
Can I ask if this actually removes the FAQ link or just the button?

If I have the direct link to the FAQ (example.com/app.php/help/faq, I can still access isn't it?
It only removes the button/link you can still access the faq if you know the adress
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My CDB contributions . Like my work? Want me to do make a style just for you? PM here or on twitter.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Need some graphics? PM here or on twitter.

bryan23
Registered User
Posts: 102
Joined: Thu Dec 28, 2017 2:16 pm

Re: Hide/Remove FAQ link & icon

Post by bryan23 » Thu Jun 21, 2018 6:58 am

Anyway to block/remove the address? As I want to come up with my own FAQ.

janus_zonstraal
Registered User
Posts: 2702
Joined: Sat Aug 30, 2014 1:30 pm

Re: Hide/Remove FAQ link & icon

Post by janus_zonstraal » Thu Jun 21, 2018 7:14 am

I don't understand your question?
I told you how to remove or change the url in navbar_header.html and make your own FAQ,
So what do you want more?
Sorry! My English is bat ;) !!!

User avatar
3Di
Registered User
Posts: 12998
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Hide/Remove FAQ link & icon

Post by 3Di » Thu Jun 21, 2018 7:26 am

janus_zonstraal wrote:
Thu Jun 21, 2018 7:14 am
I don't understand your question?
I told you how to remove or change the url in navbar_header.html and make your own FAQ,
So what do you want more?
Ern..,
you told him/her ONLY how to remove the link from the HTML, that's quite hack(ish), I can say. :)
janus_zonstraal wrote:
Sat Jun 09, 2018 6:35 am
.. snip ..

See /styles/yourstyle/template/navbar_header.html

remove

Code: Select all

<li <!-- IF not S_USER_LOGGED_IN -->data-skip-responsive="true"<!-- ELSE -->data-last-responsive="true"<!-- ENDIF -->>
			<a href="{U_FAQ}" rel="help" title="{L_FAQ_EXPLAIN}" role="menuitem">
				<i class="icon fa-question-circle fa-fw" aria-hidden="true"></i><span>{L_FAQ}</span>
			</a>
		</li>
See also..
Mannix_ wrote:
Thu Jun 21, 2018 6:26 am
It only removes the button/link you can still access the faq if you know the adress
bryan23 wrote:
Thu Jun 21, 2018 6:58 am
I want to come up with my own FAQ.
Isn't possible without an extension which does not exist at this point in time for 3.2.xx, yet.
You may try to hard-code phpBB, that's not Style's related though.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate

:game_die: The new Dice Roller extension for phpBB 3.2 is out! :game_die:

Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

bryan23
Registered User
Posts: 102
Joined: Thu Dec 28, 2017 2:16 pm

Re: Hide/Remove FAQ link & icon

Post by bryan23 » Thu Jun 21, 2018 7:32 am

Hi janus, removing the code from overall_header only remove the FAQ link.

if you got the address, I believe you still can access the FAQ and google will crawl it for sure.

my qns is how to block out example.com/app.php/help/faq

User avatar
3Di
Registered User
Posts: 12998
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Hide/Remove FAQ link & icon

Post by 3Di » Thu Jun 21, 2018 7:33 am

See my above post.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate

:game_die: The new Dice Roller extension for phpBB 3.2 is out! :game_die:

Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20237
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Hide/Remove FAQ link & icon

Post by Mick » Thu Jun 21, 2018 8:04 am

You could always delete, rename or move faq.php as well as removing the link.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

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

Re: Hide/Remove FAQ link & icon

Post by Lumpy Burgertushie » Thu Jun 21, 2018 7:22 pm

rename faq.php to whatever.
using the pages extension, create your own new faq and name it whatever you want.
edit the link to the faq in the navbar to whatever the name of our new faq is.
done.

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

OK, so what's the speed of dark?

bryan23
Registered User
Posts: 102
Joined: Thu Dec 28, 2017 2:16 pm

Re: Hide/Remove FAQ link & icon

Post by bryan23 » Fri Jun 22, 2018 2:17 am

Hi Lumpy, that's helpful. Yes I intend to create my own FAQ using the official pages extension.

By renaming the faq.php, does it also "remove the address" and make it unaccessible? what are the impacts? Just want to know more.

Thank you.

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

Re: Hide/Remove FAQ link & icon

Post by Lumpy Burgertushie » Fri Jun 22, 2018 3:12 am

if anyone tries to access the url they will get a file not found message. it will cause you no problems. why would anyone try to do it? if someone wanted to read your faq the only way they would know about it is by seeing the link in your navbar or wherever it is. that will take them to whatever faq page you make the link go to.


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

OK, so what's the speed of dark?

bryan23
Registered User
Posts: 102
Joined: Thu Dec 28, 2017 2:16 pm

Re: Hide/Remove FAQ link & icon

Post by bryan23 » Fri Jun 22, 2018 9:56 am

Thanks. It worked.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20237
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Hide/Remove FAQ link & icon

Post by Mick » Fri Jun 22, 2018 11:21 am

bryan23 wrote:
Fri Jun 22, 2018 2:17 am
By renaming the faq.php, does it also "remove the address"
You change the name of the file the address will change - obviously.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

Post Reply

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

Who is online

Users browsing this forum: hubaishan and 72 guests