(2019-12-04, 06:30 PM)SvePu Wrote: [ -> ]You can set the number 6 in here:
marquee.firstElementChild.style.animationDuration = len/6 +'s';
higher or lower (higher number => faster scroll)
look on this warnings bro and help too fix them
https://community.mybb.com/thread-225594.html
@svepu
I installed a new theme called Clean Pro and the news ticker does not display correctly...I can't figure out why. It is using cawm template from global templates but it looks different than my original theme. See screen shots below:
First is the original...
Second is the new theme with messed up ticker!
Any ideas why this is happening an how can I fix it?
(2020-05-20, 06:39 PM)RocketFoot Wrote: [ -> ]@svepu
I installed a new theme called Clean Pro and the news ticker does not display correctly...I can't figure out why. It is using cawm template from global templates but it looks different than my original theme. See screen shots below:
Second is the new theme with messed up ticker!
Any ideas why this is happening an how can I fix it?
[
attachment=42920] * 1.4 variant: a customized version of my last 1.3 version found here
https://github.com/vintagedaddyo/MyBB_Pl...026b675f00 via repo
https://github.com/vintagedaddyo/MyBB_Plugin-CAWM simply done up for user wanting a news ticker and such to work with clean-pro theme ** note I only included english and englishgb localization in this variant as my time was limited and existing plugin localizations from 1.3 would need to modified for additional settings and text changes I made..., also note clean pro uses font awesome 4.7 so the previous edits shared here would have to compensate for the diff between fa4 and fa5, but alas, this lil plugin edit is specific for installation on clean-pro with the additions you sought
Previews:
[
attachment=42921] *1.4.1 variant: this is simply the same 1.4 variant as above but simply further edited to add scroll amount inputs in settings rather than still having to edit the plugin file for scroll amounts as one would have to do previously if desired...
Settings preview:
Both variant can be found here also:
https://github.com/vintagedaddyo/MyBB_Pl...themeusage
While the previous plugin edits are simply edits of my 1.3 plugin version and focused say on working in these
https://community.mybb.com/thread-225581...pid1339574 &
https://community.mybb.com/thread-225581...pid1339579 along with other edits and additions the two plugin variants above do not focus on your last shared snippet that you were using...., so since I had a little bit of free time let us do that in a plugin of its own to use what you were talking about via
https://community.mybb.com/thread-225581...pid1339584 &
https://community.mybb.com/thread-225581...pid1339652
Mkay, as I did not want to keep making variants of the existing plugin here is a separate plugin specifically focused on those snippets and the usage of clean-pro as you were mentioning such
New separate plugin:
[
attachment=42924] * use this plugin instead to use your latest snippet as a plugin of it's own for your own usage with clean-pro theme ** as I did not have much free time I only provided english and englishgb localization files currently for this one *** repo for this is found at:
https://github.com/vintagedaddyo/MyBB_Plugin-CACSSM
Previews: