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
  1. Download the Zodiac Addon zip file.
  2. Extract the contents and upload the zodiac folder to:



    /modules/zodiac/
    /content/themes/default/templates/zodiac

  3. 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

  1. Go to a user profile page.
  2. If the user has set a birthday, their zodiac sign, horoscope, and birthstones should now be visible.
  3. 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! πŸŒŸβ™ˆβ™‰β™Šβ™‹β™Œβ™β™Žβ™β™β™‘β™’β™“