Link to the mod (https://custom.simplemachines.org/index.php?mod=3587)
Yandex Garland
mamavrn.ru (http://mamavrn.ru/index.php)
Musical Christmas garland for SMF.
You can hear the sound when you touch balls by your mouse or when you press some keys. For example for play Jingle Bells press t-t-t-t-t-t-t-i-q-e-t-y-y-y-y-y-t-t-t-t-t-e-e-q-e-i
Should work with any modern browsers like Edge, Chrome, Firefox, Opera. Doesn't work with IE11 and older.
Languages: - English
- Russian
Github repo: https://github.com/realdigger/SMF-Yandex-Garland (https://github.com/realdigger/SMF-Yandex-Garland)
Change Logv1.3.3
- add option to enable/disable sound
v1.3.2
- small fix
v1.3.1
- add SMF 2.1 support
v1.3
- flash and jQuery dependency removed (thanks to https://github.com/bybelov/new-year-garland)
- some code improvements
- add option to enable/disable garland on mobile devices
v1.2
- added mod on/off setting
- added keyboard sound on/off setting
v1.1
- rewrote with using hooks and layers
v1.0
- first release
This mod is licensed under Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) (http://creativecommons.org/licenses/by-sa/3.0/)
Is there any actual music or no?
If yes is there a setting so it can be muted?
You can hear the sound when you touch balls by your mouse or when you press any key. For example for play Jingle Bells press
t-t-t-t-t-t-t-i-q-e-t-y-y-y-y-y-t-t-t-t-t-e-e-q-e-i
No sound at all.
:)
Thank you for mod testing. I have fixed it and uploaded.
The sounds are now there.
Long wait until December though
:D
Awesome! My only request would be to add a switch to turn it on/off...
Quote from: FrizzleFried on June 29, 2013, 09:34:06 PM
Awesome! My only request would be to add a switch to turn it on/off...
Also I request thanks
Quote from: yutcu on June 30, 2013, 12:37:58 PM
Quote from: FrizzleFried on June 29, 2013, 09:34:06 PM
Awesome! My only request would be to add a switch to turn it on/off...
Also I request thanks
IMHO
I see no point in this. Why have moving baubles with no sound?
Quote from: Old Fossil on June 30, 2013, 12:39:36 PM
Quote from: yutcu on June 30, 2013, 12:37:58 PM
Quote from: FrizzleFried on June 29, 2013, 09:34:06 PM
Awesome! My only request would be to add a switch to turn it on/off...
Also I request thanks
IMHO
I see no point in this. Why have moving baubles with no sound?
CLARIFICATION: A switch to turn the "whole mod" on and off... so it doesn't have to be installed / uninstalled every holiday season...
Also... I just realized that we DO need a "SOUND" on/off... or at least a "KEYBOARD SOUNDS ON/OFF" try typing a message with the mod installed. I think my users would go freakin' crazy.
FrizzleFried :), ok, I will try to do it
Quote from: mamavrn on July 20, 2013, 04:04:46 PM
FrizzleFried :), ok, I will try to do it
Awesome. I currently only have it installed on my test site... I went there and was testing another mod which required I type up some reviews and ... ding! DING! ding!... hehehe... didn't even think about that when I installed it.
:D
If I could suggest something visitble for users to know how/where to turn it off at their convenience (if possible)... otherwise if you must, admin only... and then only the mouse clicks would cause the noise...
:)
Quote from: FrizzleFried on July 20, 2013, 11:19:57 AM
Also... I just realized that we DO need a "SOUND" on/off... or at least a "KEYBOARD SOUNDS ON/OFF" try typing a message with the mod installed. I think my users would go freakin' crazy.
FrizzleFried, I have uploaded version 1.2 of this modification where I added mod on/off and keyboard sound on/off settings
Just installed 1.2, no sounds here... But it does look nice!
Quote from: Scrooge on June 29, 2013, 02:14:43 PM
The sounds are now there.
Long wait until December though
:D
Well, feel better now because it's already December.
great garland, looks great sounds are fine, but can i stop the bells ringing when wrting posts
thanks
Quote from: pickwizard on December 13, 2014, 10:32:55 AM
great garland, looks great sounds are fine, but can i stop the bells ringing when wrting posts
thanks
Yes, of course. You can do it in the mod settings area.
Very good mod. Can you add scheduled tasks for example time to start and time to stop...
any chance that sound constantly jingle bells instead of sounds?
Since Christmas is getting closer I reactivated the mod again.
Surprise that the sounds are no longer being played. They where last year when I switched the mod off.
This seams to be the same in any browser.
Uninstalling and reinstalling the mod does nog change the behaviour.
Now I have seen that the mod uses Javascript and a shockwave flash (.swf) file to play the sounds and in 2015 at least Chrome stopped supporting some flash animations. Could it be that the mod is outdated for the latest browsers?
Still have the mod activated ( www.fjr-club.nl ), but some users are missing the tingling sounds the bells used to make when hovering a mouse over the christmas balls...
I just installed the mod, and can hear the sound ok with Edge, Firefox and Chrome which are all the latest versions. ???
What forum url is it? Maybe it is my pc?
Just installed a clean smf version on my laptop, and installed the mod again, and you are right, it works now!
So there must be something conflicting in my forum...
I tried replacing various files with the original ones (sources / themes / css / script) but no luck... >:(
The balls move, but NO SOUND... any idea where to look?
Sorry @rjen I haven't a clue, hopefully someone with knowledge will be along soon.
Hello! And anyone know how to install IPS 4.x?
Hello, @rjen.
Could you show the full list of installed mods on your forum, please?
Quote from: Manius on December 13, 2015, 06:23:22 AM
Hello! And anyone know how to install IPS 4.x?
This mod for SMF only. But you can copy and some code for install it manually.
Quote from: mamavrn on December 15, 2015, 03:01:59 AM
Hello, @rjen.
Could you show the full list of installed mods on your forum, please?
Sure, below the mods.
Most of them were already active last year...
1. Optimus Brave 1.8.7
2. Responsive Curve 1.0 Beta 5
3. TinyPortal 1.2
4. Google Analytics Code 1.4
5. Group Attachment Limits 1.1.0
6. EU Cookie FJR 1.3fjr
7. Users Online Today 2.1
8. Order Custom Profile Fields 1.1.1
9. Downloads System 2.5
10. Previous and Next Links for Page Index 2.1.204
11. AJAX Recent Topics 1.1
12. Alternate User Posting 1.0.1
13. Custom Board Sort 1.0.2
14. View Only Boards 1.2c
15. Force Topic Read On Login Mod 2.1
16. Voter Visibility 2.0 FJR
17. Simple Audio Video Embedder 3.5a
18. YandexGarland 1.2
19. Ignore Topics 2.3
20. Auto Lock Old Topics 2.0
21. Float BBCODE 1.0.2
22. Tapatalk SMF 2.0 Plugin 4.3.3
23. Users Online Today 2.0.3
24. SMF Theme Changer 1.0.1
25. Remove "Last edit" mod 0.2.5
26. SMFPacks Shoutbox 1.0.5
27. Add Social Media Icons To Profiles FJR 1.2.0
28. SMF 2.0.11 Update 1.0
29. Enhanced PM System 3.1
It seems I am geting closer to finding the cause. On my local forum version I have one by one installed the latest additions to my mods and I think I have found the cause: Tinyportal 1.2
Yandex works ok (with sound) then I install TP version 1.2 and the sound stops working. Uninstalling tinyportal: and the sound works again... Last year I was still on version 1.0 of TP: it worked ok then...
I did a check in the code changes TP makes but I cannot see the cause of the conflict. Maybe someone more knowledgable can help here?
TP install affects the follwing files:
1. Extract Tree ./Themes
2. Extract Tree ./Sources
3. Extract Tree ./tp-downloads
4. Extract Tree ./tp-images
5. Extract Tree ./tp-files
6. Execute Modification ./index.php
7. Execute Modification ./Sources/Load.php
8. Execute Modification ./Sources/Subs.php
9. Execute Modification ./SSI.php
10. Execute Modification ./Sources/QueryString.php
11. Execute Modification ./Sources/Subs-Editor.php
12. Adapt Database install.php
13. Execute Code do_hooks.php
Fixed!
I found the conflict: in TPortal.php.
As a result jquery is loaded twice: once by Yandex, once by TP...
// Load JQuery if it's not set (anticipated for SMF2.1)
if (!isset($modSettings['jquery_source']))
$context['html_headers'] .= '
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>';
Since it suggests it is there for SMF 2.1 I commented out the code: and now it works again. I see no direct downside on Tinyportal...
Quote from: @rjen on December 15, 2015, 03:40:14 PM
Fixed!
I found the conflict: in TPortal.php.
As a result jquery is loaded twice: once by Yandex, once by TP...
// Load JQuery if it's not set (anticipated for SMF2.1)
if (!isset($modSettings['jquery_source']))
$context['html_headers'] .= '
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>';
Since it suggests it is there for SMF 2.1 I commented out the code: and now it works again. I see no direct downside on Tinyportal...
Good morning! :)
Thank you for your investigation! It will be helpfull for another TP users.
Also a note to Yandexgarland mod developer, for future reference:
come SMF 2.1 you will need to remove the jquery call from the yandexgarland mod as SMF 2.1 calls jquery by default.
I know it's almost 3 years ago, but anyone still using this?
Last year in Firefox the bells and sounds worked.
I did not add any new mods, but now I only see the bells, no sound in Chrome and Firefox, which did some major changes the past year.
With Internet Explorer 11 the sound still works.
These are my mods:
1. Contact Page 3.2
2. SMF 2.0.15 Update 1.0
3. YandexGarland 1.2
4. SimplePortal 2.3.7
5. Remove "Last edit" mod 0.2.5
6. Tapatalk SMF 2.0 Plugin 4.4.1
7. Redirection Topics 1.0.3
8. Downloads System 2.5
9. Image Upload 1.0.0 [ Install Mod ] [ List Files ] [ Delete ]
10. Optimus 1.9.6
11. Birthday On Register 1.0
12. My Posts SMF2 1.2
But they were present end 2016 too, only versions are updated.
Anyone else having the sound issue this year with FF or Chrome?
Seems YandexGarland is not 100% SSL compatible, it formerly also worked without issues with Dziners's Xmas-20a theme. But not if you scroll to the end of the page it will keep giving white space and keeps loading when Yandex is enabled.
For example I had to change this code:
http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
to
https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
for the bells to move in Chrome and Firefox. Sound still did not work and we got that sudden conflict with the Dziners theme.
If disabled, problem is gone, now so this mod really needs some updating. :)
Thanks for the tip on the SSL. I had the same issue: now the balls move again.
I am still missing the sounds (fix I did two years ago still in place) ... any idea where to look for that one ?
You'll have to install/enable Adobe Flash to get sound
Flash is installed and enabled.
@Arjan: nope, sorry, don't know where too look for that. Maybe it has something to do with the fact that the code is not to be found on that http://code.google.com/p/swfobject/ url in swfobject.min.js? That's redirecting to https://github.com/swfobject/swfobject nowadays.
I tried changing that to the github url, but that did not have any effect.
Any clue on why it suddenly conflicts with that x-mas theme so it keeps scrolling when getting to the bottom?
Updated version 1.3 https://github.com/realdigger/SMF-Yandex-Garland
- Some code improvements.
- Flash and jQuery dependency removed.
- Add option to enable/disable garland on mobile devices.
Quote from: digger on December 27, 2017, 03:47:40 PM
Updated version 1.3 https://github.com/realdigger/SMF-Yandex-Garland
- Some code improvements.
- Flash and jQuery dependency removed.
- Add option to enable/disable garland on mobile devices.
Thanks!
just updated (3rd day of Christmas, still possible I guess) and it works again!
Just tried the 1.3.2 (release 2 minutes ago on Github it said).
However that one is giving an error notice:
Package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable.
I used the zip, which does have some content. I don't have this issue with other zips or with the YandexGarland 1.3.2.tar.gz file so something must be wrong with the .zip release.
As for the mod itself, still having the same issues as before, no sound and end of forum page keeps scrolling.
I had the same error with the .zip file, but the .tar_gz installed fine...
Since you are adding 'switches' digger, would it possible to include a switch to enable / disable the bell sound as well?
Yep I wrote the tar.gz was fine too. It's just so Digger can fix the zip file. The tar.gz contains some pax_global_header which the zip has not, don't know where it's for.
Isn't the keyboard switch for enabling/disabling the bell sound?
Quote from: @rjen on December 27, 2017, 06:33:08 PM
Since you are adding 'switches' digger, would it possible to include a switch to enable / disable the bell sound as well?
Done
Quote from: digger on December 29, 2017, 09:41:36 PM
Quote from: @rjen on December 27, 2017, 06:33:08 PM
Since you are adding 'switches' digger, would it possible to include a switch to enable / disable the bell sound as well?
Done
Wonderful, works like a charm. :)
Now there would be only one thing left to shut up the last complainers on my forum: the ability to set the sounds on and off in the user profile, so that those who feel bothered can switch the sound off in their profile...
Quote from: @rjen on December 30, 2017, 06:03:44 AMNow there would be only one thing left to shut up the last complainers on my forum: the ability to set the sounds on and off in the user profile, so that those who feel bothered can switch the sound off in their profile...
+1
Why don't you post a picture that shows the final result of the mod?
Quote from: Ricsca on December 24, 2024, 08:17:39 AMWhy don't you post a picture that shows the final result of the mod?
There seems to be one in the repository:
https://github.com/realdigger/SMF-Yandex-Garland
very nice, why don't you insert it for the motorbike so everyone can see it and it will surely be used more
Mmm fair request, I attached the preview in the MOD page.
you have not updated that is compatible with the latest version 2.1.4 :D