المنتديات

The great place to discuss topics with other users

WoWonder Help Center Add-on Intallation Guide

'
Join the Conversation إضافة رد
Jane Marcia
Admin
Joined: 2025-05-17 02:14:16
2025-05-21 22:27:31

Adding a Help Center to your WoWonder website is essential for providing users with a structured FAQ system, categories, and support resources. This tutorial will guide you through installing the Help Center Module, ensuring that users can easily find answers to their questions.

Step 1: Upload All Files

Make sure to upload all necessary files to your server, including install_helpcenter.php.

Upload Files

Step 2: Run the Installation Script

Visit yoursite.com/install_helpcenter.php and click the button to install the necessary database tables.

Install Script

Step 3: Update the Admin Panel

1. Open admin-cp/autoload.php

Find this section:

$pages = array(
  'general-settings',
  'dashboard',

After that, add:

  'add-help-post',
  'add-help-category',
  'manage-help-post',
  'manage-help-category',
  'insert-help-post',
  'insert-help-category',
  'update-help-category',
  'update-help-post',
  'insert-update-help-post',
  'edit-help-category',
  'helpcenter-settings',

2. Add Admin Menu Links

Look for this section in your sidebar menu:

<?php if ($is_admin || ($is_moderoter && ($wo['user']['permission']['post-settings'] == 1 ... ))) { ?>

Then add:

<!-- ADD HELP CENTER START -->
<li>
  <a <?php echo ($page == 'add-help-post' || $page == 'delete-faq' || $page == 'manage-reactions') ? 'class="open"' : ''; ?> href="javascript:void(0);">Help Center Settings</a>
  <ul class="ml-menu">
    <?php if ($is_admin || ($is_moderoter && $wo['user']['permission']['add-help-post'] == 1)) { ?>
      <li><a <?php echo ($page == 'add-help-post') ? 'class="active"' : ''; ?> href="<?php echo Wo_LoadAdminLinkSettings('add-help-post'); ?>" data-ajax="?path=add-help-post"> <span>Add Help Post</span></a></li>
      <li><a <?php echo ($page == 'manage-help-post') ? 'class="active"' : ''; ?> href="<?php echo Wo_LoadAdminLinkSettings('manage-help-post'); ?>" data-ajax="?path=manage-help-post"><span>Manage Help Post</span></a></li>
      <li><a <?php echo ($page == 'add-help-category') ? 'class="active"' : ''; ?> href="<?php echo Wo_LoadAdminLinkSettings('add-help-category'); ?>" data-ajax="?path=add-help-category"> <span>Add Help Category</span></a></li>
      <li><a <?php echo ($page == 'manage-help-category') ? 'class="active"' : ''; ?> href="<?php echo Wo_LoadAdminLinkSettings('manage-help-category'); ?>" data-ajax="?path=manage-help-category"><span>Manage Help Category</span></a></li>
      <li><a <?php echo ($page == 'edit-help-category') ? 'class="active"' : ''; ?> href="<?php echo Wo_LoadAdminLinkSettings('helpcenter-settings'); ?>" data-ajax="?path=helpcenter-settings"><span>Help Center Settings</span></a></li>
    <?php } ?>
  </ul>
</li>
<!-- ADD HELP CENTER END -->

Step 4: Update index.php

Open your index.php file (around the large switch ($page) block) and add:

case 'helpcenter':
  include('sources/helpcenter/helpcenter.php');
  break;
case 'search':
  include('sources/helpcenter/search.php');
  break;
case 'read':
  include('sources/helpcenter/read.php');
  break;
case 'category':
  include('sources/helpcenter/category.php');
  break;

Step 5: Add .htaccess Rewrites

Open .htaccess and add:

# **** HELP CENTER ****
RewriteRule ^helpcenter(/?|)$ index.php?link1=helpcenter [QSA]
RewriteRule ^helpcenter/read/(.*)$ index.php?link1=read&id=$1 [NC,QSA]
RewriteRule ^helpcenter/category/([0-9]+)(/?|)$ index.php?link1=category&id=$1 [NC,QSA,L]

Step 6: Configure Help Center Settings

Log into:

yoursite.com/admin-cp/helpcenter-settings

Customize your Help Center’s display, colors, and sorting logic.

Step 7: Explore & Manage

Use the new menu options to add categories, articles, and manage your help posts and layout preferences.

Support

If you get stuck, open a ticket at the Send me a email to support@scriptstribe.com.

You’re now ready to launch a powerful FAQ & Help Desk system inside your WoWonder site!