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
Jr. Extension Validator
Posts: 14913
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Change a little in FAQ?

Post by david63 » Sun Dec 10, 2017 6:51 pm

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 49638
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Change a little in FAQ?

Post by stevemaury » Sun Dec 10, 2017 6:57 pm

If it unnecessarily answers a question no one has, no one will click on that question. Problem solved.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me.

All unsolicited PMs will be ignored.

User avatar
Elias
Registered User
Posts: 4616
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: Change a little in FAQ?

Post by Elias » Sun Dec 10, 2017 9:33 pm

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
Jr. Extension Validator
Posts: 14913
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Change a little in FAQ?

Post by david63 » Sun Dec 10, 2017 9:48 pm

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

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

Re: Change a little in FAQ?

Post by janus_zonstraal » Mon Dec 11, 2017 6:55 am

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: 20237
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Change a little in FAQ?

Post by Mick » 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.
"The more connected we get the more alone we become" - Kyle Broflovski

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

User avatar
Elias
Registered User
Posts: 4616
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: Change a little in FAQ?

Post by Elias » Wed Dec 13, 2017 8:52 pm

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

(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
Jr. Extension Validator
Posts: 14913
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Change a little in FAQ?

Post by david63 » 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.
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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Selective
Registered User
Posts: 213
Joined: Sat Apr 19, 2014 10:30 am

Re: Change a little in FAQ?

Post by Selective » Mon Jan 15, 2018 9:21 pm

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: 1651
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Change a little in FAQ?

Post by canonknipser » Mon Jan 15, 2018 10:14 pm

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

Re: Change a little in FAQ?

Post by Lumpy Burgertushie » Mon Jan 15, 2018 10:24 pm

in the past you could simply escape the apostrophe like this: can\'t
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?

User avatar
canonknipser
Registered User
Posts: 1651
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Change a little in FAQ?

Post by canonknipser » Mon Jan 15, 2018 10:37 pm

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
Jr. Extension Validator
Posts: 14913
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Change a little in FAQ?

Post by david63 » Mon Jan 15, 2018 10:46 pm

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Post Reply

Return to “phpBB Custom Coding”

Who is online

Users browsing this forum: Toxyy and 2 guests