Forums
The great place to discuss topics with other users
đ BugTrack Sngine Add-On Installation Guide
'Let your users report bugs and get rewarded with points! Here's how to install the BugTrack add-on for Sngine:
1. đ Upload the Addon Files
Place the files exactly like this:
/modules/
âââ bugtrack/
âââ bugtrack.php
âââ view.php
âââ admin.php
âââ installer.php
âââ init.php
âââ bugtrack_hooks.php
/content/themes/default/templates/bugtrack/
âââ index.tpl
âââ view.tpl
âââ admin.tpl
âââ sidebar.tpl
âââ leaderboard.tpl
âââ installer.tpl
2. âïž Update Your .htaccess File
Add these lines to your root .htaccess file to enable clean URLs:
# Bugtrack URLs
RewriteRule ^bugtrack/view/([0-9]+)$ modules/bugtrack/view.php?id=$1 [L,QSA]
RewriteRule ^bugtrack/?$ modules/bugtrack/bugtrack.php [L,QSA]
RewriteRule ^bugtrack/admin?$ modules/bugtrack/admin.php [L,QSA]
RewriteRule ^bugtrack/installer?$ modules/bugtrack/installer.php [L,QSA]
3. đ ïž Run the Installer
Go to:
https://yoursite.com/bugtrack
Click the Install Bug Tracker Table button. This will:
- Install the
bug_reportstable - Install the
bugtrack_settingstable - Insert demo bug reports
4. đ§ Admin Configuration
Visit the admin panel at:
https://yoursite.com/bugtrack/admin
From there, you can:
- Update bug statuses (open, in-progress, fixed)
- Write admin notes on bug reports
- Set how many points users get per report
5. đ€ Add Link to User Menu
Edit this file:
content/themes/default/templates/_usermenu.tpl
Add this snippet:
<a class="dropdown-item" href="{$system['system_url']}/bugtrack">
{include file='__svg_icons.tpl' icon="media" class="main-icon mr10" width="20px" height="20px"}
{__("Report a Bug")}
</a>
đ Done!
You're all set! Users can now report bugs, view their status, and earn points for helping improve your platform.
Admin has full control, and everything is nicely integrated into Sngine without touching core files.
Let your users report bugs and get rewarded with points! Here's how to install the BugTrack add-on for Sngine:
1. đ Upload the Addon Files
Place the files exactly like this:
/modules/
âââ bugtrack/
âââ bugtrack.php
âââ view.php
âââ admin.php
âââ installer.php
âââ init.php
âââ bugtrack_hooks.php
/content/themes/default/templates/bugtrack/
âââ index.tpl
âââ view.tpl
âââ admin.tpl
âââ sidebar.tpl
âââ leaderboard.tpl
âââ installer.tpl
2. âïž Update Your .htaccess File
Add these lines to your root .htaccess file to enable clean URLs:
# Bugtrack URLs
RewriteRule ^bugtrack/view/([0-9]+)$ modules/bugtrack/view.php?id=$1 [L,QSA]
RewriteRule ^bugtrack/?$ modules/bugtrack/bugtrack.php [L,QSA]
RewriteRule ^bugtrack/admin?$ modules/bugtrack/admin.php [L,QSA]
RewriteRule ^bugtrack/installer?$ modules/bugtrack/installer.php [L,QSA]
3. đ ïž Run the Installer
Go to:
https://yoursite.com/bugtrack
Click the Install Bug Tracker Table button. This will:
- Install the
bug_reportstable - Install the
bugtrack_settingstable - Insert demo bug reports
4. đ§ Admin Configuration
Visit the admin panel at:
https://yoursite.com/bugtrack/admin
From there, you can:
- Update bug statuses (open, in-progress, fixed)
- Write admin notes on bug reports
- Set how many points users get per report
5. đ€ Add Link to User Menu
Edit this file:
content/themes/default/templates/_usermenu.tpl
Add this snippet:
<a class="dropdown-item" href="{$system['system_url']}/bugtrack">
{include file='__svg_icons.tpl' icon="media" class="main-icon mr10" width="20px" height="20px"}
{__("Report a Bug")}
</a>
đ Done!
You're all set! Users can now report bugs, view their status, and earn points for helping improve your platform.
Admin has full control, and everything is nicely integrated into Sngine without touching core files.