PDA

View Full Version : FAQ Manager


diades
04-18-2004, 09:00 AM
Hi Guys

I am not sure if this would qualify as a hack or not but I would like for the FAQ Edit manager to be available on the Moderators Control panel. Has anyone either done this or does know how to accomplish it please?

Killsparer
07-25-2004, 09:19 AM
Same question. Is there somekind of hack already?

diades
07-25-2004, 12:13 PM
Same question. Is there somekind of hack already?
Hi KilIsparer
I wouldn't hold your breath, I posted last April on this:D

gfxhavenowner
07-25-2004, 12:59 PM
LOL, this feature is built into VB. By default, FAQ is right under Languages in the ACP.

Killsparer
07-25-2004, 02:39 PM
LOL, this feature is built into VB. By default, FAQ is right under Languages in the ACP.

Double-LOL, read the first posting... if you can.

Hint: Notice the word "Moderator".

gfxhavenowner
07-25-2004, 03:12 PM
Sorry, didn't read your post. This *should* work.

Copy faq.php from admincp to modcp folder.

Open modcp/index.php

Find

// *************************************************
if (can_moderate(0, 'canannounce'))
{
construct_nav_option($vbphrase['add_new_announcement'], 'announcement.php?do=add');
construct_nav_option($vbphrase['forum_manager'], 'forum.php?do=modify');
construct_nav_group($vbphrase['announcements']);
construct_nav_spacer();
}


After, add

// *************************************************
{
$printhr = true;
construct_nav_option($vbphrase['faq_manager'], 'faq.php?null=0', '|');
construct_nav_option($vbphrase['add_new_faq_item'], 'faq.php?do=add');
construct_nav_group($vbphrase['faq']);
}


Hope that works for you.