Glücksrad Joomla Modul
PC-DIDI Magic Fortune Wheel Pro
Seasonal Deluxe • Version 2.1.2 • Joomla 6
Installation, premium designs, seasonal campaigns, prize configuration, server-side prize selection, MP3 audio and troubleshooting.
PC-DIDI Magic Fortune Wheel Pro is an interactive promotional module designed for Joomla 6 websites.
Visitors can spin a luxurious animated fortune wheel to discover exclusive discounts, promotional vouchers, free gifts and special offers.
Eight premium designs, seasonal graphics, configurable prizes, dynamic lighting, animated confetti and integrated sound effects create an engaging marketing experience.
The actual prize is selected on the server through Joomla AJAX. The corresponding reward is revealed in a separate winner popup after the wheel stops spinning.
01. System Requirements
- Joomla 6 website
- Hosting environment meeting Joomla 6 requirements
- Modern browser with JavaScript enabled
- Working Joomla AJAX functionality
- Working Joomla session management
- Permission to install Joomla extensions
- No additional JavaScript framework required
- HTTPS recommended for clipboard functionality
02. Installation
- Download the Magic Fortune Wheel ZIP package.
- Log in to your Joomla administrator panel.
- Navigate to System → Install → Extensions.
-
Upload the installation package:
mod_pcdidi_fortunewheel_v2.1.2_SEASONAL_Joomla6.zip - Complete the Joomla installation process.
- Navigate to Content → Site Modules.
- Create or open the PC-DIDI Magic Fortune Wheel module.
- Select an available module position.
- Set Show Title to Hide.
- Set the module status to Published.
- Configure the desired menu assignments.
- Select your preferred design and prize configuration.
- Save the module and test your website.
Install the new ZIP package directly over the previous version. The extension uses the same module identifier.
Back up your website before updating. Review your module settings and clear the Joomla and browser caches afterwards.
Existing saved prize settings are retained. Default examples are available for new module instances.
03. Eight Integrated Premium Designs
Choose your preferred design directly in the General settings tab.
Burgundy and luxurious gold.
Elegant emerald green.
Modern metallic elegance.
Festive green, red and gold.
Exclusive dark sale design.
Romantic rose-colored elegance.
Sophisticated blue tones.
Modern futuristic colors.
Illustrative color previews of the integrated design themes.
04. General Module Settings
| Setting | Description |
|---|---|
| Design | Select one of the eight integrated premium color themes. |
| Seasonal example prizes | Use custom prizes, automatically match the selected design, or select the Black Friday or Christmas preset. |
| Show seasonal example texts | Enable automatically generated Black Friday and Christmas headings. |
| Opening mode | Automatic opening or manual activation using the launcher button. |
| Frequency | Once per session or every page load. |
| Position | Left, center or right. |
| Delay | Automatic opening delay from 0 to 60 seconds. Default: 2 seconds. |
| Desktop width | Adjustable from 300 to 1000 px. Default: 620 px. |
| Mobile width | Adjustable from 220 to 650 px. Default: 340 px. |
| Background dimming | Adjust the darkness of the website behind the fortune wheel popup. |
| Show launcher | Enable or disable the manual opening button. |
| Participation limit | Restrict participation according to the selected frequency. |
| Retry after no prize | Allow visitors to spin again after landing on a losing segment. |
| Spin duration | Adjustable from 2 to 12 seconds. Default: 5 seconds. |
| Confetti | Enable animated celebration effects after a successful spin. |
| Animated rim lights | Enable the decorative illuminated fortune wheel rim. |
05. Automatic Opening and Participation
Automatic popup activation and participation restrictions are handled separately. This allows the wheel to open according to the selected display frequency.
| Configuration | Behaviour |
|---|---|
| Automatic + Once per session | Automatically open during the first eligible visit of a browser session. |
| Automatic + Every page load | Automatically open on each new page load. |
| Manual | Open when the visitor clicks the launcher button. |
| Participation limit enabled | Restrict successful participation per session or page load, depending on the frequency. |
| Participation limit disabled | Allow repeated participation. |
| Retry enabled | A losing result allows another spin. |
For automatic opening tests, use a private browser window to avoid existing session restrictions. In manual mode, keep the launcher available.
06. Configure Your Own Prizes
Magic Fortune Wheel supports up to 16 individually configurable prize segments in custom prize mode. Eight standard example prizes are included.
| Prize setting | Description |
|---|---|
| Prize label | Text displayed on the wheel segment. Example: 25% OFF. |
| Coupon code | Promotional code revealed after a successful spin. |
| Weight | Relative probability of selecting this prize. Range: 0 to 1000. |
| Description | Individual information displayed in the winner popup. |
| No prize | Mark the segment as a losing result. |
| Redeem URL | Optional destination for the reward redemption button. |
Included standard prize examples
| Prize | Coupon | Weight |
|---|---|---|
| 5% OFF | MAGIC5 | 30 |
| 10% OFF | MAGIC10 | 25 |
| 15% OFF | MAGIC15 | 15 |
| Free gift | GIFT | 5 |
| 20% OFF | MAGIC20 | 10 |
| Try again | – | 10 |
| Free shipping | SHIPPING | 4 |
| 25% OFF | MAGIC25 | 1 |
How to add more prize segments
- Select Custom prizes in the General tab.
- Configure the first eight prize groups.
- Open the additional Prize 9 to Prize 16 tabs.
- Enter a prize label and description.
- Enter a valid coupon code if required.
- Set the desired prize weight.
- Configure an optional redemption URL.
- Save and test the wheel.
Empty prize labels are excluded from the wheel. At least two non-empty prize segments and a positive total weight are required.
A prize with a weight of zero can remain visible on the wheel but cannot be selected. For transparent promotional campaigns, remove unavailable prizes instead.
07. Understanding Prize Probabilities
Prize probabilities are calculated using relative numerical weights.
Prize probability = individual prize weight divided by the total weight of all prizes, multiplied by 100.
Example: A prize weight of 25 with a total weight of 100 corresponds to a 25% chance per spin.
| Prize example | Weight | Probability |
|---|---|---|
| Small discount | 60 | 60% |
| Medium discount | 25 | 25% |
| Premium reward | 5 | 5% |
| No prize | 10 | 10% |
| Total | 100 | 100% |
Weights do not have to add up to 100. The server automatically calculates their relative probabilities.
Equal-sized visual wheel segments do not necessarily represent equal winning probabilities. If retries are enabled, the eventual chance of receiving a reward differs from the chance per spin.
08. Seasonal Deluxe Campaigns
Version 2.1.2 includes dedicated Christmas and Black Friday graphics, seasonal example headlines and ready-to-use prize presets.
EXCLUSIVE SHOPPING EVENT
BLACK FRIDAY
Spin & win exclusive deals!
Static campaign design preview
Black Friday prize preset
| Prize | Coupon | Chance per spin |
|---|---|---|
| 10% OFF | BLACK10 | 30% |
| 20% OFF | BLACK20 | 25% |
| 30% OFF | BLACK30 | 15% |
| VIP Deal | BLACKVIP | 5% |
| 50% OFF | BLACK50 | 1% |
| Try again | – | 14% |
| Free gift | BLACKGIFT | 5% |
| Free shipping | BLACKSHIP | 5% |
FESTIVE REWARDS
CHRISTMAS
Your magical Christmas gift!
Discover your festive reward.
Static campaign design preview
Christmas prize preset
| Prize | Coupon | Chance per spin |
|---|---|---|
| 5% OFF | XMAS5 | 25% |
| 10% OFF | XMAS10 | 25% |
| 15% OFF | XMAS15 | 20% |
| Christmas gift | XMASGIFT | 8% |
| 25% OFF | XMAS25 | 2% |
| Try again | – | 10% |
| Free shipping | XMASSHIP | 5% |
| Voucher | XMASVIP | 5% |
How to activate a seasonal campaign
- Open the Magic Fortune Wheel module.
- Select Black Friday or Christmas under Design.
- Set Seasonal example prizes to Automatically match selected design.
- Enable Show seasonal example texts.
- Configure automatic opening and sound settings.
- Save and test the campaign.
You can keep the Christmas or Black Friday visual theme while using your own prize list.
Select Custom prizes and configure the individual prize groups. Disable seasonal example texts if you prefer to use your own headings.
Seasonal presets are fixed built-in examples. Selecting a preset does not overwrite your saved custom prize settings.
09. Luxury Winner Popup
The actual reward is displayed in a separate animated popup after the fortune wheel stops. No additional prize overview is displayed below the wheel.
Enjoy your exclusive reward!
Static winner popup preview
Display the selected prize in a dedicated luxury popup.
Reveal the configured promotional code with a copy function.
Animated confetti and optional sound effects celebrate the result.
Allow another spin after a losing result when retries are enabled.
Reward redemption
Enter an optional Redeem URL in the individual prize configuration to direct the visitor to your online shop, booking page or special offer.
Example destination:
/special-offers
Magic Fortune Wheel reveals promotional codes. It does not create discounts in an online shop, automatically redeem coupons or verify their validity.
Configure all advertised rewards and corresponding codes in your e-commerce or booking system before publishing the campaign.
10. Customize All Popup Texts
Open the Popup texts tab to personalize the presentation and translate the visible controls.
| Text field | Example |
|---|---|
| Top badge | EXCLUSIVE SURPRISE |
| Headline | Your exclusive chance! |
| Description | Spin the wheel and discover your special offer. |
| Spin button | Spin the wheel |
| Result label | Your result: |
| Winner headline | Congratulations! |
| No-prize headline | Better luck next time! |
| Spinning text | Good luck! |
| Coupon headline | Your exclusive code |
| Copy button | Copy code |
| Copied message | Copied! |
| Redeem button | Redeem offer |
| Retry button | Try again |
| Already played message | You have already spun the wheel. |
| Launcher text | Spin & win |
| Close label | Close |
| Play sound | Play sound |
| Stop sound | Stop sound |
When seasonal example texts are enabled, the Christmas and Black Friday themes automatically provide their own headings, descriptions and winner titles.
Disable this option to use your custom promotional texts instead.
11. MP3 Audio and Sound Effects
Included magical sound effect.
Included festive celebration sound.
Mechanical-style ticking during the animated wheel rotation.
Automatically play a celebration sound after a successful result.
| Audio setting | Description |
|---|---|
| Audio | Off, Magic Chime, Celebration or Custom MP3. Default: Off. |
| Automatic playback | Yes: attempt playback when opening. No: manual playback using the sound button. Default: No. |
| Custom MP3 | Enter your own audio file location. |
| Volume | Adjustable from 0% to 100%. Default: 35%. |
| Loop sound | Repeat the selected audio track. Default: No. |
| Winner sound | Enable or disable automatic reward audio. Default: Yes. |
| Winner sound volume | Adjustable from 0% to 100%. Default: 65%. |
| Wheel tick sound | Enable or disable the mechanical spinning sound. Default: Yes. |
| Tick sound volume | Adjustable from 0% to 100%. Default: 45%. |
How to use your own MP3 file
- Prepare an MP3 file you are authorized to publish.
- Upload the file using FTP or your hosting file manager.
-
Create a directory such as
images/audio/. -
Upload your audio file,
for example
wheel.mp3. - Open the Sound settings tab.
- Select Custom MP3 under Audio.
- Enter the audio path or HTTPS URL.
- Configure volume and automatic playback.
- Save the module and test the sound.
Relative file path:
images/audio/wheel.mp3
Alternative local directory:
media/audio/celebration.mp3
Complete HTTPS URL:
https://your-domain.com/images/audio/wheel.mp3
Replace these examples with your actual audio file location. Local files must be located under images/ or media/ and use the MP3 extension.
Direct MP3 uploads through the module settings are not included.
Background audio, winner sounds and wheel ticking are separate settings.
To make the complete experience silent, disable the main audio selection, winner sound and wheel tick sound.
The Christmas theme uses the included Chime audio for winning results. Other themes use the included Celebration audio.
Modern browsers may prevent automatic sound playback until the visitor interacts with the website.
Visitors can activate the main audio manually using the Play sound button. Browser restrictions may also affect other automatic sound effects.
12. Server-Side Prize Selection
Magic Fortune Wheel uses Joomla AJAX to select the actual reward on the server.
The server selects a prize using a weighted random integer.
Joomla session tokens are checked before processing spin requests.
The selected coupon is returned after the server processes the draw.
Joomla session data is used to restrict repeated participation.
Prize selection process
- The visitor opens the fortune wheel.
- The visitor clicks the spin button.
- JavaScript sends a request to Joomla AJAX.
- The server validates the request and module.
- The server checks participation restrictions.
- A prize is selected according to its weight.
- The selected prize is returned to the frontend.
- The wheel animates towards the selected result.
- The reward is displayed after the wheel stops.
Session-based participation limits are not a complete fraud-prevention system. Visitors may participate again using a new browser session or another browser.
Version 2.1.2 does not include persistent winner records, individual single-use coupon generation, prize inventory management, email registration or CAPTCHA verification.
Fixed coupon codes can be reused or shared unless your shop system restricts them. The server-side draw does not guarantee that a visitor can redeem a reward only once.
For high-value rewards, use independently validated coupons, appropriate participation rules and a suitable redemption system.
13. SP Page Builder Integration
- Create and configure the Joomla site module.
- Set the module status to Published.
- Open the desired page in SP Page Builder.
- Add a Joomla Module addon.
- Select PC-DIDI Magic Fortune Wheel.
- Hide the module title if necessary.
- Save the page and clear relevant caches.
- Test automatic opening and prize selection.
- Test the presentation on desktop and mobile devices.
The extension uses Joomla's Web Asset Manager to load its CSS and JavaScript files.
Avoid rendering the same module instance multiple times on one page.
Full-page caching can interfere with session-specific AJAX tokens and participation identifiers. If necessary, exclude pages containing the fortune wheel from full-page caching.
14. Recommended Deluxe Configuration
| Setting | Recommended value |
|---|---|
| Design | Royal Gold or seasonal theme |
| Opening mode | Automatic |
| Frequency | Once per session |
| Position | Center |
| Delay | 2 seconds |
| Desktop width | 600 px |
| Mobile width | 340 px |
| Background dimming | 85% |
| Spin duration | 5 seconds |
| Participation limit | Enabled |
| Retry after no prize | Yes |
| Animated rim lights | Yes |
| Confetti | Yes |
| Show launcher | No |
| Main audio | Magic Chime or Off |
| Automatic audio | No |
| Volume | 35% |
| Winner sound | Yes |
| Winner sound volume | 65% |
| Wheel tick sound | Yes |
| Tick sound volume | 45% |
15. Ideal Applications
Reveal promotional discounts, gifts and free shipping codes.
Present special booking discounts and exclusive holiday offers.
Promote menu offers, complimentary desserts and restaurant vouchers.
Reveal exclusive treatment discounts and wellness promotions.
Create festive promotional experiences using the dedicated Christmas theme.
Present exclusive shopping discounts using the seasonal Black Friday design.
16. Troubleshooting and FAQ
Why does the fortune wheel not appear?
Verify that the module is published, assigned to the correct menu items and placed in a rendered module position. Check the opening mode and clear your caches.
Make sure at least two valid prize labels are configured and the total prize weight is greater than zero.
Why does automatic opening not work?
Set Opening mode to Automatic. Check the configured delay and frequency. Test the page in a new private browser session.
Version 2.1.2 includes improvements to automatic popup initialization.
Why does the module display Already played?
The configured participation limit may have been reached.
Select Every page load and reload the page, or temporarily disable the participation limit for testing purposes.
Why does the module display Wheel unavailable?
The AJAX request may not be able to access the published module.
Verify the module publication status, access level, publishing dates and Joomla AJAX configuration.
Why does the module request a page reload?
A session-specific page identifier may no longer be valid. Reload the page and try again.
This can occur when multiple browser tabs contain the same module or when cached pages contain outdated session identifiers.
Why does Try again not allow another spin?
Check that the selected prize is marked as No prize and that retry after no prize is enabled in the module settings.
How can I change the position?
Select Left, Center or Right in the General settings tab.
How can I make the fortune wheel smaller?
Reduce Desktop width or Mobile width. The final displayed size also depends on the available browser viewport.
Can I hide the opening button?
Yes. Use automatic opening mode and disable Show launcher.
Where are the Christmas example prizes?
Select Christmas under Seasonal example prizes, or select the Christmas theme and use Automatically match selected design.
Why are my custom prizes not displayed?
A seasonal prize preset may be active. Select Custom prizes to use your individually configured prize groups.
Why are my custom Christmas texts ignored?
Disable Show seasonal example texts. The module will then use the custom texts configured in the Popup texts tab.
Why does the wheel not display a prize list below it?
This is intentional. The actual reward is presented in a separate winner popup after the wheel stops.
How can I change the winning probabilities?
Select Custom prizes and edit the individual prize weights. The actual probability is calculated relative to the total weight.
Does the module generate unique coupon codes?
No. The module reveals the fixed coupon codes configured in the prize settings. Your shop must handle code validation and redemption restrictions.
Why does the winner sound not play?
Enable Winner sound and check its volume. Browser autoplay policies can also affect audio playback.
How can I disable the mechanical ticking sound?
Open the Sound tab and set Wheel tick sound to No.
Where can I enter my own MP3 file?
Select Custom MP3 under Audio. Enter your MP3 path or HTTPS URL in the displayed audio field.
Can I disable all sounds?
Yes. Set Audio to Off and disable both Winner sound and Wheel tick sound.
Are the included sounds original recordings?
The included MP3 files are synthesized sound effects. The mechanical wheel ticking is generated using browser audio technology.
Can I schedule a Black Friday or Christmas campaign?
Use Joomla's module publishing start and finish dates to control when the campaign is available.
How can I stop a seasonal campaign?
Unpublish the module or configure its publishing finish date.
Remember to deactivate expired coupon codes separately in your online shop.
Why does the design look incorrect after updating?
Clear the Joomla cache, browser cache and any CSS or JavaScript optimization caches.
Reload the website and verify that the latest module version is installed.
17. Technical Information
| Extension type | Joomla Site Module |
| Module identifier | mod_pcdidi_fortunewheel |
| Version | 2.1.2 Seasonal Deluxe |
| Compatibility target | Joomla 6 |
| Languages | English and German language files |
| Premium themes | Eight integrated designs |
| Seasonal graphics | Christmas and Black Friday SVG graphics |
| Custom prize segments | Up to 16 |
| Technologies | PHP, CSS, JavaScript, SVG and Web Audio |
| Prize selection | Server-side weighted random selection |
| AJAX integration | Joomla com_ajax |
| Audio | Two included MP3 files and custom MP3 support |
| Asset integration | Joomla Web Asset Manager |
| License | GNU General Public License v2 or later |
| Developer | PC-DIDI |
18. Joomla Update System
Magic Fortune Wheel includes a Joomla Update Server configuration in its installation manifest.
Automatic update notifications depend on the availability and current release information of the published update server.
New versions can also be installed directly through the Joomla Extension Manager.
Always back up your website before installing extension updates.
19. Responsible Promotional Campaigns
Magic Fortune Wheel is designed for promotional marketing campaigns with configurable rewards.
Before publishing a campaign, ensure that all advertised prizes are available and that the participation conditions, probabilities, coupon restrictions and promotional deadlines are communicated accurately.
The website operator is responsible for compliance with applicable promotional, consumer protection and privacy requirements.
