Page 1 of 1

Make a new faq

PostPosted: Tue Jul 10, 2007 12:32 am
Author: cutegothpirate
And this post is fast because I don't care about making its all pretty with the php tags. Admins can edit this for it if they want.

I will use faq2 for this.
Make a txt file and put in it
<php>
save it as lang_faq2.php
Put it in
language/language_xxx/

get file admin/admin_faq_editor.php
open it and add in
$module['Faq_manager']['New_faq'] = "$file?file=faq2";
right below one of the other ones. Doesn't matter which one.

get file admin/modules/admin_faq_editor.php
again open it and add in
$module['Faq_manager']['New_faq'] = "$file?file=faq2";
right below one of the other ones. Doesn't matter which one.

get file faq.php
open it and add
case 'faq2':
$lang_file = 'lang_faq2';
$l_title = $lang['Extra_FAQ'];
break;
after
case 'bbcode':
$lang_file = 'lang_bbcode';
$l_title = $lang['BBCode_guide'];
break;

Close, save, and upload back where they go.
Now open your admin control panel and use the faq admin and you will see 'New faq' in there. Now you can edit it. Using the faq admin you just delete all the questions and answers in there and then create your own.
To add it to your qbar!!
Go to qbar through general admin and add a new field. Fill in like this
field name
"New faq"
select
"yes"
shortcut
"what you want to name it"
display icon
"whatever you want"
default icon is
"nav_menu"
phpbb prog
"yes"
new window
"whatever you want"
program url ( why you needed the file faq.php!)
"faq.php?mode=faq2"
And then of course other settings are up to you.
ok SUBMIT!
YAY new faq of your making!
And you didn't have to delete or rename any!