FgsuportPowered by ForumotionLog in
Breaking News
test

Bug reports

Share

descriptionBug reports EmptyBug reports

more_horiz
Top right (for profile) is bugged, shows nothing:
Bug reports Scree145


Icons for quote, edit and stuff are not being shown:

Bug reports Scree146

descriptionBug reports EmptyRe: Bug reports

more_horiz
System32 wrote:
Top right (for profile) is bugged, shows nothing:
Bug reports Scree145


Icons for quote, edit and stuff are not being shown:

Bug reports Scree146

Hello,

Thanks for reporting but looks like even the moderation tables are not working, and idk why... :-? any ideeas, can you help/contribute?

Okay... i noticed the problem, its from a setting from administration panel, but idk which one... i have putted the theme on my testing forum: https://allprojects.forumotion.com/

descriptionBug reports EmptyRe: Bug reports

more_horiz
Hello @System32,

We found the error, and we hide it until we found a fix for it (maybe you can help)

Code:

        if(_userdata['session_logged_in']) {
            if (!FA.Notification.registered()) {
                FA.Notification.register();
            }

            Toolbar.init;
            var timeout = setInterval(reloadNotif, 1000);
            };

descriptionBug reports EmptyRe: Bug reports

more_horiz
Admin wrote:
Hello @System32,

We found the error, and we hide it until we found a fix for it (maybe you can help)

Code:

        if(_userdata['session_logged_in']) {
            if (!FA.Notification.registered()) {
                FA.Notification.register();
            }

            Toolbar.init;
            var timeout = setInterval(reloadNotif, 1000);
            };



I know where the issue is, I saw in the console but it is clear that FA.Notification.registered() function returns undefined value which causes the issue here. I don't know where is the class named FA and it's objects. So I can't help you without that.

descriptionBug reports EmptyRe: Bug reports

more_horiz
System32 wrote:
I know where the issue is, I saw in the console but it is clear that FA.Notification.registered() function returns undefined value which causes the issue here. I don't know where is the class named FA and it's objects. So I can't help you without that.

Here is the full script:

Code:

<script type="text/javascript">
    //<![CDATA[
    $(document).ready(function() {
        function headerAdjust() {
            var banner_headline = $('#header-banner h1, #header-banner h2'),
                banner_headline_height = banner_headline.height();

            if (banner_headline_height > 90) {
                banner_headline.css('font-size', parseInt(banner_headline.css('font-size')) - 1 + 'px');

                requestAnimationFrame(headerAdjust);
            } else {
                banner_headline.css('opacity', 1);
            }
        }

        requestAnimationFrame(headerAdjust);

          /* BUG found - hiding until we found a fix for it
            if(_userdata['session_logged_in']) {
            if (!FA.Notification.registered()) {
                FA.Notification.register();
                } /*

            Toolbar.init;
            var timeout = setInterval(reloadNotif, 1000);
            };

        function reloadNotif() {
            if (_toolbar.notifications.unread > 0) {
                if (!$("#unread_notif").length) {
                    $("#header-notif > i").before('<span id="unread_notif">' + _toolbar.notifications.unread + '</span>');
                    $('#menu_notifications > span').before('<span id="unread_notif_menu">' + _toolbar.notifications.unread + '</span>');
                }

                var unread_notif = $("#unread_notif");
                var unread_notif_menu = $("#unread_notif_menu");

                unread_notif.html(_toolbar.notifications.unread);
                unread_notif_menu.html(_toolbar.notifications.unread);
                if(! unread_notif.hasClass("notification-new")) {
                    unread_notif.addClass('notification-new');
                    unread_notif_menu.addClass('notification-new');
                    $("#mNotificationBtn").addClass('notification-new');
                }
            } else if ($("#unread_notif").length) {
                $("#unread_notif, #unread_notif_menu").remove();
            }
        };

        var scroll_top = $('html').scrollTop();
        $('#main-menu-btn').on('click', function () {
            scroll_top = $('html').scrollTop();

            $('body').css({
                overflow: 'hidden',
                maxHeight: '100%'
            }).scrollTop(scroll_top);
        });
        $('#header-user').on('click', function () {
            scroll_top = $('html').scrollTop();

            $('body').css({
                overflow: 'hidden',
                maxHeight: '100%'
            }).scrollTop(scroll_top);
        });
        $('#header-notif').on('click', function () {
            scroll_top = $('html').scrollTop();

            $('body').css({
                overflow: 'hidden',
                maxHeight: '100%'
            }).scrollTop(scroll_top);
        });
        $('#dimmer').on('click', function () {
            scroll_top = $('body').scrollTop();

            $('body').attr('style', '');
            $('html').scrollTop(scroll_top);
        });
    });
    //]]>
</script>

descriptionBug reports EmptyRe: Bug reports

more_horiz
I really don't understand who wrote this script for you but FA object doesn't have function registered.

Bug reports Scree147

descriptionBug reports EmptyRe: Bug reports

more_horiz
System32 wrote:
I really don't understand who wrote this script for you but FA object doesn't have function registered.

Bug reports Scree147

Well... in that case the mod tables are not working either, idk why...

descriptionBug reports EmptyRe: Bug reports

more_horiz
First of, where did you get the script?
Second of all, you don't just bulk all the scripts from other forums, you need to integrate one by one and fix on the go. Like this you will have an issue knowing things.

descriptionBug reports EmptyRe: Bug reports

more_horiz
System32 wrote:
First of, where did you get the script?
Second of all, you don't just bulk all the scripts from other forums, you need to integrate one by one and fix on the go. Like this you will have an issue knowing things.

Okay... you caught me, i used this AweseomBB from another romanian forum... but the thing is everything works perfectly fine on that romanian forum, and on this forum nope... i putted everything like the same!

Edit: Looks like everything is working fine, the script is showing a good result!

descriptionBug reports EmptyRe: Bug reports

more_horiz
This as well.

Bug reports Scree148

descriptionBug reports EmptyRe: Bug reports

more_horiz
System32 wrote:
This as well.

Bug reports Scree148

Do you have access to the communication section?

descriptionBug reports EmptyRe: Bug reports

more_horiz
What's that?

descriptionBug reports EmptyRe: Bug reports

more_horiz
System32 wrote:
What's that?

You dont receive notifications?

descriptionBug reports EmptyRe: Bug reports

more_horiz
Admin wrote:
System32 wrote:
What's that?

You dont receive notifications?


I do not.

descriptionBug reports EmptyRe: Bug reports

more_horiz
System32 wrote:
I do not.

Did you check your settings from the notifications page?: https://fgsuport.forumotion.com/profile?mode=editprofile&page_profil=notifications

descriptionBug reports EmptyRe: Bug reports

more_horiz
Permissions in this forum:
You cannot reply to topics in this forum