How to Install Sngine Zodiac
How to Install Sngine Zodiac
Upload the files to your sngine following the files structure
The Zodiac Addon for Sngine displays a user's zodiac sign, daily horoscope, birthstones, and Chinese zodiac based on their birthday. This tutorial will guide you through the installation process to ensure the addon works correctly.
π Step 1: Upload the Addon Files
- Download the Zodiac Addon zip file.
- Extract the contents and upload the
zodiac
folder to:/modules/zodiac/ /content/themes/default/templates/zodiac
- Ensure the folder structure is correct:
/modules/zodiac/zodiac.php /modules/zodiac/dailyhoroscope.php /content/themes/default/templates/zodiac/zodiac.tpl /content/themes/default/templates/zodiac/dailyhoroscope.tpl
πStep 2: Include the Addon in profile.php
open root/profile.php and look for (Around line 456)
page_header($profile['name'], $profile['user_biography'], $profile['user_picture']);
After that addΒ
//Zodiac Module for Sngine Start
require_once('modules/zodiac/zodiac.php');
require_once('modules/zodiac/dailyhoroscope.php');
//Zodiac Module for Sngine End
π Step 3: Add the Zodiac Display to profile.tpl
Open content/themes/default/templates/profile.tpl
<!-- panel [profile completion] -->
and after that add
Β {include file='zodiac/zodiac.tpl'}
Β {include file='zodiac/dailyhoroscope.tpl'}
πStep 4: Verify the Installation
- Go to a user profile page.
- If the user has set a birthday, their zodiac sign, horoscope, and birthstones should now be visible.
- If nothing appears, ensure:
- The user has a valid birthday set in their profile.
- The profile.php and profile.tpl files were correctly updated.
π’ Thatβs It! Your Zodiac Addon is Installed!
Your Sngine profiles will now display personalized zodiac signs, horoscopes, and birthstones. π
β Β User profilesΒ must have a birthday set for the addon to work show.
Enjoy your new Zodiac Addon in Sngine! πββββββββββββ