Jump to content

3 Screenshots

About This File

Disposable Hubs And Statistics Module for phpVMS v7


This module is compatible with the latest dev build as of 12APR2021, there is no need to modify any default files.
Technically all blade files (views/pages or whatever you call them) should work with your template but they are mainly designed for Bootstrap compatible themes (like Disposable Themes, Stisla etc). 

So if something looks weird in your template then you need to edit them.


***** Manual Installation Steps 


  • Upload contents of the package (or pull/clone from GitHub) to your root/modules/DisposableHubs folder
  • Go to admin section and enable the module, that's all
  • After enabling/disabling modules an app cache cleaning process is necessary (check admin/maintenance)


***** Usage


If you want to disable module auto links and add your own according to your template, then dashout 2 frontend link registration commands in the Providers\HubsServiceProvider.php file as shown below;
(Two forward slashes will make them disabled.)


// $this->moduleSvc->addFrontendLink('Hubs', '/dhubs', 'fas fa-calendar', $logged_in=true);
// $this->moduleSvc->addFrontendLink('Stats & Leaderboard', '/dstats', 'fas fa-cog', $logged_in=true);

Then you can add links to your navbar with below examples;


  <a class="nav-link" href="{{ route('DisposableHubs.hindex') }}">
    <i class="fas fa-paper-plane"></i>

  <a class="nav-link" href="{{ route('DisposableHubs.dstats') }}">
    <i class="fas fa-calendar-alt"></i>
    <span>Statistics & LeaderBoards</span>


Also having a direct link to a specific hub is possible with


  <a class="nav-link" href="{{ route('DisposableHubs.hshow', ['LTFM']) }}">
    <i class="fas fa-calendar-day"></i>
    <span>LTFM Hub</span>


(Best way to add links in Laravel structure is to use routes like above, but plain html href="/dhubs/LTFM" is also possible)


You are free to edit any of the files as you wish, but please do not expect help/updates for the code you edited (controllers and providers)
I always try to provide info and support but can not fix things you broke ;) Just share your thoughts about any improvements so we can think together before changing things.



Edited by DisposableHero

What's New in Version v2.0.2   See changelog


  • Added German Translation (thanks @derrobin154)

User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Add a comment...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...