Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

one modul of my file dosent work anymore with newest versions

Asked Modified Viewed 1,344 times
C
Catzenjaeger
C
  • Senior Member, joined since
  • Contributed 408 posts on the community forums.
  • Started 137 threads in the forums
  • Started this discussions
asked
Senior Member

Hello,
i have writen for a year a big Infusion (figure database)
now i have update to newest core files and some smal parts of some files doent work anymore. Guess here was some core changes what i dont have notive.

--> as guest i dont see anmore of this module
--> when i log in i see the Buttons only but no locales

this here dosent wor and i dont know why
sorce code:
<!-- Open Module -->
            <h4><br><div class='well clearfix text-uppercase text-bold'></div></h4>
<div class='list-group-item'>

            <!-- Display Own Collection Buttons -->
                        <hr/>

            <!-- Display Message, if no Users have this Figure in Collection -->
                            <div class="text-center"></div>

           
            <!-- Close Module -->
            </div>


link to site: view-source:http://aliencollectors.com/site/infusions/figurelib/figures.php?figure_id=838

// Render User Collection
if (!function_exists("renderFigurelibFigureDetailsUsers")) {
    function renderFigurelibFigureDetailsUsers($info) {
        // Locale
        $locale = fusion_get_locale("", FIGURELIB_LOCALE);

        // Display User Gallery if Module active
        if ($info['figure']['settings']['show-collection'] && $info['settings']['figure_show_collection_global']) { ?>

            <!-- Open Module -->
            <?php openside("<br><div class='well clearfix text-uppercase text-bold'>".$locale['userfigure_007']."</div>"); ?>

            <!-- Display Own Collection Buttons -->
            <?= figures_displayMyCollectionForm($info['figure']['general']['id'], FUSION_REQUEST, "big"); ?>
            <hr/>

            <!-- Display Message, if no Users have this Figure in Collection -->
            <?php if (empty($info['users'])) { ?>
                <div class="text-center"><?= $locale['userfigure_004']; ?></div>

            <?php } else { ?>
                <!-- Otherwise display all Users -->
                <div class="text-center side-small">
                    <?php $i = 1;
                    $all = count($info['users']);
                    foreach ($info['users'] AS $user) { ?>
                        <?= profile_link($user['user-id'], trimlink($user['user-name'], 15), $user['user-status']).($i != $all ? ", " : "");
                        $i++; ?>
                    <?php } ?>
                </div>
            <?php } ?>

            <!-- Close Module -->
            <?php closeside(); ?>

            <?php

            // Message for Admins if Module is Off
        } else if ((iADMIN || iSUPERADMIN) && checkrights("FI")) { ?>

            <!-- Display Message -->
            <?php openside("<br><div class='alert alert-danger'><div class='well clearfix'><strong>".$locale['userfigure_007']."</strong></div>"); ?>
            <i class="fa fa-fw fa-vtop fa-bolt"></i>
            <?= $locale['figure_1825']; ?>
            <a href="<?= $info['figure']['general']['adminlink-settings']; ?>" title="<?= $locale['mc_0012']; ?>"><?= $locale['mc_0012']; ?></a>

            <?php closeside(); ?>

            <?php
        }
    }
}
Edited by Catzenjaeger on 01-11-2017 12:39,
0 replies
There are no post found.

Labels

None yet

Statistics

  • Views 0 views
  • Posts 0 posts
  • Votes 0 votes
  • Topic users 1 member

1 participant

C
C
  • Senior Member, joined since
  • Contributed 408 posts on the community forums.
  • Started 137 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet