Jump to content


Member Since 29 Aug 2005
Offline Last Active Yesterday, 07:36 AM

Topics I've Started

POPUPS - Addon

27 September 2018 - 03:12 PM

I have been using the following add on for my leagues since last year and I thought I would share.


If you are using the POPUP script located here: http://forums.myfant...showtopic=35518


you can also include the following addon which will attach the following notifications to the menu if/when they become active: 

  • trade offer icon
  • new message board post icon
  • new private message icon
  • new poll icon to the main menu 
  • trade awaiting review
  • pending trade to approve (commish only)

This can all be placed in a footer message (or header message so long as it appears after the POPUP script)  must be in footer


Here is the relevant CSS:



Here is the javascript/html:

var enableAddonNewPM = true;
var enableAddonNewPost = true;
var enableAddonPoll = true;
var enableAddonTrade = true;

<div id="message_board_check" style="display:none"><module name="MESSAGE_BOARD_SUMMARY"/></div>
<div id="poll_check" style="display:none"><module name="POLL_SUMMARY"/></div>
<div id="poll_check" style="display:none"><module name="POLL"/></div>
<div id="trade_check" style="display:none"><module name="TRADES"/></div>

<script src="//www.nitrografixx.com/MFL-Popups/popup-addon.js"></script> 


It has worked great for our leagues so it has been tested but if you find issues please post and I will try to help you out.

Mini Chat 2

06 September 2018 - 02:48 PM

This chat builds off of MFL's default chat.


It will stick to the bottom right of all pages 


It is completely compatible with MFL's default chat and the 2017 MFL Chat Addon.


It will require jQuery in your header if it is not already installed

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> 


Paste the code below in a home page message and mark it as footer (alternatively if you already have a home page message that is being used as a footer then just include it there)


Edit the style as needed.

#minichat2_wrapper {background-color:#fff;border:1px solid #555;}
#minichat2_caption {background-color:#000;}
#minichat2_container tr {background-color:#000}
#minichat2_container tr.oddtablerow {background-color:#000}
.minichat2_blink {color:white;background-color:red!important}
.minichat2_blinkText {}
#minichat2_chatTable tr.oddtablerow {background-color:#1c1c1c!important}
#minichat2_chatTable img {height:20px; width:auto;}
#minichat2_chatTable .minichat2_icon {}
#minichat2_chatTable .minichat2_logo {}

#minichat2_privateMessageWrapper span {font-size:smaller;}
#minichat2_privateMessageWrapper select {font-size:smaller;}

#minichat2_onlineTitle {font-size:smaller}
#minichat2_onlineList {font-size:smaller}
var minichat2_displayMessages = 8;

var minichat2_useIcon = true; //If all options set to false then Franchise Name will be displayed
var minichat2_useLogo = true; //otherwise any of the options which are set to true and are not empty
var minichat2_useNick = true; //will be used with priority of Icon, Logo and lastly Nick.

var minichat2_bottomUp = true;

var minichat2_includeTime = true;
var minichat2_includePrivateMessage = true;
var minichat2_includeUsersOnline = true;

var minichat2_enableSmartRead = true; //Since chat will be on every page this, if enabled, will reduce xml requests if there is no chat activity

<script src="//www.habman.com/mfl/apps/js/minichat2.js"></script>



I will repost a link TOS's site for the js file when available.


Here is a working example (see bottom right of page) http://www81.myfanta...2018/home/40006