[Help]Link Download in Dashboard not show in user account


#1

hello.
why Panel download in dashboard not show in user ?
but in account master this panel show.

Account user


if i click this tab, will reopen / like refresh.

Account master

Please help me. thanks


#2

There shouldn’t be anything specifically preventing a user from accessing the tab. Here is the code snippet – no restrictions based on user, etc

            <li class="nav-parent">
              <a href=""><i class="fa fa-download"></i> <span><?php echo T('DOWNLOADS'); ?></span></a>
              <ul class="children">
                <li><a href="/<?php echo "$username"; ?>.rtorrent.downloads" target="_blank">ruTorrent</a></a></li>
                <?php if (processExists("deluge-web",$username)) { ?>
                  <li><a href="/<?php echo "$username"; ?>.deluge.downloads" target="_blank">Deluge</a></li>
                <?php } ?>
                <?php if (file_exists('/home/'. $username .'/public_html/'. $username .'.zip')) { ?>
                  <li><a href="/~<?php echo "$username"; ?>/<?php echo "$username"; ?>.zip" target="_blank"> <span>OpenVPN Config</span></a></li>
                <?php } ?>
              </ul>
            </li>

Have you tried using another browser, clearing your cache or restarting apache2? Lots of unexplainable problems go away with a fresh start.


#3

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.