Change a little in FAQ?

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Change a little in FAQ?

Post by david63 »

To change anything in the FAQ of 3.2 will require editing core files.
dansk wrote: Sun Dec 10, 2017 6:48 pm Or remove it completely?
Only you can answer that - some will say yes, others will say no.
dansk wrote: Sun Dec 10, 2017 6:48 pm Does it contain a lot of unnecessary things
Probably
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Change a little in FAQ?

Post by stevemaury »

If it unnecessarily answers a question no one has, no one will click on that question. Problem solved.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
Elias
Registered User
Posts: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

Re: Change a little in FAQ?

Post by Elias »

You can always remove the link from your header.

There was an extension for phpBB 3.1 that allowed you to edit the FAQ page but I am not sure if it works with phpBB 3.2. You can always give it a try or you can ask David if it works:
https://www.phpbb.com/customise/db/exte ... manager_2/

Thanks
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Change a little in FAQ?

Post by david63 »

dansk wrote: Sun Dec 10, 2017 7:21 pm But now I'm wondering if there will be problems in the database or not
FAQ does not touch the database
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
janus_zonstraal
Registered User
Posts: 6418
Joined: Sat Aug 30, 2014 1:30 pm

Re: Change a little in FAQ?

Post by janus_zonstraal »

folder /styles/prosilver/template
File 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>
After that purge the cache

And you have to do that after every update!
Sorry! My English is bat ;) !!!
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26504
Joined: Fri Aug 29, 2008 9:49 am

Re: Change a little in FAQ?

Post by Mick »

My question would be why? If you or your users don’t want to look at the FAQ don’t look at it. It does no harm and adds no overhead.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
Elias
Registered User
Posts: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

Re: Change a little in FAQ?

Post by Elias »

dansk wrote: Wed Dec 13, 2017 8:29 pm
Mick wrote: Mon Dec 11, 2017 8:17 am My question would be why? If you or your users don’t want to look at the FAQ don’t look at it. It does no harm and adds no overhead.
I do not understand what your problem is quite honest? One asks for VPS solution you answer this while other moderators try to help: The people to ask would be the hosts, we only supply the software.
That’s because for hosting questions and suggestions, we users are told to go to: http://www.webhostingtalk.com

Thanks
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|
Selective
Registered User
Posts: 213
Joined: Sat Apr 19, 2014 10:30 am

Re: Change a little in FAQ?

Post by Selective »

The FAQ is the easiest thing to modify. If you can recite the ABC's and know how to read and write/type, then really just about anyone can modify the FAQ.

(These Don't Need To be Touched)
faq.php
/styles/prosilver/template/faq_body.html

(EDIT Blocks Here)
/phpbb/help/controller/faq.php

(EDIT Text Titles, Text Sentences/Paragraphs, And Links Here)
/language/en_us/help/faq.php

Now when you do edit the titles and sentences, you cannot use apostrophes, so instead of typing words like "can't, won't, don't" you instead have to type them as "cannot, would not, do not". So if you get errors after you edit your titles and text, then simply go back and check your spelling, because certain characters will trigger error codes.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Change a little in FAQ?

Post by david63 »

Selective wrote: Mon Jan 15, 2018 8:54 pm The FAQ is the easiest thing to modify. If you can recite the ABC's and know how to read and write/type, then really just about anyone can modify the FAQ.
Following that runs the risk of having to reapply any changes whenever there is an update/upgrade.
Selective wrote: Mon Jan 15, 2018 8:54 pm Now when you do edit the titles and sentences, you cannot use apostrophes, so instead of typing words like "can't, won't, don't" you instead have to type them as "cannot, would not, do not".
That is not true - you should use the UTF8 equivalent.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
Selective
Registered User
Posts: 213
Joined: Sat Apr 19, 2014 10:30 am

Re: Change a little in FAQ?

Post by Selective »

david63 wrote: Mon Jan 15, 2018 9:03 pm
Selective wrote: Mon Jan 15, 2018 8:54 pm The FAQ is the easiest thing to modify. If you can recite the ABC's and know how to read and write/type, then really just about anyone can modify the FAQ.
Following that runs the risk of having to reapply any changes whenever there is an update/upgrade.
You can download and save the files to a PC. It's only 2 pages! Even when doing an update, you should back up the forum to your PC first, then use that to reapply any self made changes.
david63 wrote: Mon Jan 15, 2018 9:03 pm
Selective wrote: Mon Jan 15, 2018 8:54 pm Now when you do edit the titles and sentences, you cannot use apostrophes, so instead of typing words like "can't, won't, don't" you instead have to type them as "cannot, would not, do not".
That is not true - you should use the UTF8 equivalent.
What are you disagreeing to? The apostrophes don't work because they are in php script, not because of the page format for the code.
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Change a little in FAQ?

Post by canonknipser »

Selective wrote: Mon Jan 15, 2018 9:21 pm The apostrophes don't work because they are in php script, not because of the page format for the code.
So, David tells you NOT to use the "native" apostrophe, but their lexical or typographical version.

Those character are normally at the very beginning of every language file in a comment:

Code: Select all

// Some characters you may want to copy&paste:
// ’ » “ ” …
So instead of

Code: Select all

'can't, won't, don't'
use

Code: Select all

'can’t, won’t, don’t'
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Change a little in FAQ?

Post by Lumpy Burgertushie »

in the past you could simply escape the apostrophe like this: can\'t
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Change a little in FAQ?

Post by canonknipser »

You still can (when you know the "secrets" of php), but all you need is already in the file - just read the documentation at the beginning ;)
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Change a little in FAQ?

Post by david63 »

Lumpy Burgertushie wrote: Mon Jan 15, 2018 10:24 pm in the past you could simply escape the apostrophe like this: can\'t
That is not considered as being "best practice" these days.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
Post Reply

Return to “phpBB Custom Coding”