Adding in the FAQ from 1.4.x Adding in the FAQ from 1.4.x
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Adding in the FAQ from 1.4.x

Started by jenepherre, April 11, 2011, 01:44:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jenepherre

Is it safe to use the FAQ from earlier versions of CPG with my 1.5.12 install? I know it means I need to modify the language file as well as adding in the faq.php and creating a link for it in the menu. Is there any reason this would be a problem? Obviously I'll go through the info and update it to fit anything that's changed since 1.4.x, but I really like the format of that FAQ. (I really wish the FAQ was still a built-in part of CPG.)
=================================
Jen Robertson
=================================
I don't want to explain, I just want to dance.

jenepherre

Since my site isn't officially live yet, I decided to test this out. It works just fine. But I'd still like to know if it poses any security risks or could cause any other problems. I noticed the coding in the 1.4.x english.php file is different from the 1.5.12 version, the former using array( for the FAQ section and the latter using $lang_filename_php[ throughout, but I don't know enough about PHP to convert one to the other and still maintain the format of the FAQ. Am I okay leaving it, or should I not?
=================================
Jen Robertson
=================================
I don't want to explain, I just want to dance.

Αndré

Quote from: jenepherre on April 11, 2011, 03:12:47 AM
I'd still like to know if it poses any security risks or could cause any other problems
I cannot see a security reason not to use the old faq.php file in cpg1.5.x.


Quote from: jenepherre on April 11, 2011, 03:12:47 AM
I noticed the coding in the 1.4.x english.php file is different from the 1.5.12 version, the former using array( for the FAQ section and the latter using $lang_filename_php[ throughout, but I don't know enough about PHP to convert one to the other and still maintain the format of the FAQ. Am I okay leaving it, or should I not?
You don't need to convert it.

jenepherre

Awesome. Thanks so much for your help! I think this thread can be marked closed.
=================================
Jen Robertson
=================================
I don't want to explain, I just want to dance.

Αndré

Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
you can tag your answer as "solved" by clicking on the little image in your initial posting on your thread.