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 »

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

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

Re: Hide/Remove FAQ link & icon

Post by janus_zonstraal »

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 »

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: 649
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Hide/Remove FAQ link & icon

Post by Mannix_ »

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 Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Need help with styling or want me to port a style to 3.2.x etc. contact me here or here.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!

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

Re: Hide/Remove FAQ link & icon

Post by bryan23 »

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

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

Re: Hide/Remove FAQ link & icon

Post by janus_zonstraal »

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
Former Team Member
Posts: 14720
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 »

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
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

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

Re: Hide/Remove FAQ link & icon

Post by bryan23 »

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
Former Team Member
Posts: 14720
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 »

See my above post.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21888
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket.

Re: Hide/Remove FAQ link & icon

Post by Mick »

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

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

Re: Hide/Remove FAQ link & icon

Post by Lumpy Burgertushie »

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'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

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

Re: Hide/Remove FAQ link & icon

Post by bryan23 »

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: 67049
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Hide/Remove FAQ link & icon

Post by Lumpy Burgertushie »

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'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

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

Re: Hide/Remove FAQ link & icon

Post by bryan23 »

Thanks. It worked.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21888
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket.

Re: Hide/Remove FAQ link & icon

Post by Mick »

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

Post Reply

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