FgsuportPowered by ForumotionLog in

Share

descriptionhow to make group legend look like this Emptyhow to make group legend look like this

more_horiz
Hello,

can you help me with explaining how to make group legends appear like this
how to make group legend look like this 171188086412662

descriptionhow to make group legend look like this EmptyRe: how to make group legend look like this

more_horiz
Mc Nabulsy wrote:
Hello,

can you help me with explaining how to make group legends appear like this
how to make group legend look like this 171188086412662


Hello @Mc Nabulsy,

First we need to know your forum address url, and if your forum is AwesomeBB and also if your forum is created via the forumotion platform - of course!

Let us know,
Fgsuport team

descriptionhow to make group legend look like this EmptyRe: how to make group legend look like this

more_horiz
Yes,
its for this forum
https://ahla-t.yoo7.com/

descriptionhow to make group legend look like this EmptyRe: how to make group legend look like this

more_horiz
Mc Nabulsy wrote:
Yes,
its for this forum
https://ahla-t.yoo7.com/

can you post index_box via code tags please?

descriptionhow to make group legend look like this EmptyRe: how to make group legend look like this

more_horiz
index_box or index_body? box is for catigories

descriptionhow to make group legend look like this EmptyRe: how to make group legend look like this

more_horiz
Mc Nabulsy wrote:
index_box or index_body? box is for catigories

on our end, we use index_box Very Happy

descriptionhow to make group legend look like this EmptyRe: how to make group legend look like this

more_horiz
its normal incex_box 
didn't edit it

Code:

<ul class="action-bar action-bar-top">
   <!-- BEGIN switch_user_logged_in -->
   <li>
      <a href="{U_SEARCH_NEW}">
         <i class="material-icons">new_releases</i> {L_SEARCH_NEW}
      </a>
   </li>
   <li>
      <a href="{U_SEARCH_SELF}">
         <i class="material-icons">account_box</i> {L_SEARCH_SELF}
      </a>
   </li>
   <!-- END switch_user_logged_in -->
   <li>
      <a href="{U_SEARCH_UNANSWERED}">
         <i class="material-icons">chat_bubble_outline</i> {L_SEARCH_UNANSWERED}
      </a>
   </li>
   <!-- BEGIN switch_user_logged_in -->
   <li class="rightside">
      <a href="{U_MARK_READ}" accesskey="m">
         <i class="material-icons">done_all</i> {L_MARK_FORUMS_READ}
      </a>
   </li>
   <!-- END switch_user_logged_in -->
</ul>

<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="forum {catrow.tablehead.TYPE_TABLE_SECTION}">
   <div class="forum-header">
      <div class="category-title">
         <i class="material-icons">description</i>
         <span>{catrow.tablehead.L_FORUM}</span>
      </div>
      <div class="forum-statistics-header">
               <span class="forum-statistics-header-topics">
                  <i class="material-icons" data-tooltip="{L_TOPICS}">chat_bubble</i>
               </span>
         <span class="forum-statistics-header-posts">
                  <i class="material-icons" data-tooltip="{L_POSTS}">forum</i>
               </span>
      </div>
      <div class="forum-lastpost-header">
         <i class="material-icons" data-tooltip="{L_LASTPOST}">watch_later</i>
         <span>{L_LASTPOST}</span>
      </div>
   </div>
   <!-- END tablehead -->

   <!-- BEGIN forumrow -->
   <div class="forum-section {catrow.forumrow.FOLDER_CLASSNAME} {catrow.forumrow.TYPE_SECTION}">
      <div class="forum-icon" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}">
         <i class="material-icons">forum</i>
      </div>
      <div class="forum-content">
         <div class="forum-description">
            <h3><a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a></h3>
            <p>{catrow.forumrow.FORUM_DESC}</p>
            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
         </div>
         <div class="forum-statistics">
            <span class="forum-statistics-topics">{catrow.forumrow.TOPICS} <span>{L_TOPICS}</span></span>
            <span class="forum-statistics-posts">{catrow.forumrow.POSTS} <span>{L_POSTS}</span></span>
         </div>
         <div class="forum-lastpost">
            <div class="avatar-default">
               <!-- BEGIN avatar -->
               {catrow.forumrow.avatar.LAST_POST_AVATAR}
               <!-- END avatar -->
               <!-- BEGIN ads -->
               <img src="{catrow.forumrow.ads.IMG}" alt="{catrow.forumrow.ads.TITLE}"/>
               <!-- END ads -->
            </div>
            <div class="forum-lastpost-inner">
               <!-- BEGIN switch_topic_title -->
               <a class="topic-title" href="{catrow.forumrow.U_LATEST_TOPIC}"
                 title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a>
               <!-- END switch_topic_title -->
               <!-- BEGIN ads -->
               <a class="topic-title" href="{catrow.forumrow.ads.LINK}"
                 title="{catrow.forumrow.ads.TITLE}">{catrow.forumrow.ads.TITLE}</a>
               <!-- END ads -->
               <span>
                     <!-- BEGIN ads -->
                        <span class="forum-lastpost-location">
                           <i class="material-icons">place</i>{catrow.forumrow.ads.LOCATION}
                        </span>
                  <!-- END ads -->
                     <span class="forum-lastpost-author">
                        <i class="material-icons">person</i>{catrow.forumrow.USER_LAST_POST}
                                <!-- BEGIN ads -->
                                {catrow.forumrow.ads.ALIAS}
                                <!-- END ads -->
                     </span>
                     <span class="forum-lastpost-time">
                        <i class="material-icons">access_time</i><a href="{catrow.forumrow.U_LATEST_TOPIC_POST}">{catrow.forumrow.LAST_POST_HOUR}</a>
                        <!-- BEGIN ads -->
                                {catrow.forumrow.ads.DATE}
                                <!-- END ads -->
                     </span>
                  </span>
            </div>
         </div>
      </div>
   </div>
   <!-- END forumrow -->

   <!-- BEGIN tablefoot -->
</div><!-- <div class="forum" /> -->
<!-- END tablefoot -->
<!-- END catrow -->

<!-- BEGIN switch_forum_images -->
<div class="forum">
   <div class="forum-header">
      <div class="category-title">
         <i class="material-icons">mms</i>
         <span>{switch_forum_images.TITLE}</span>
      </div>
   </div>
   <div class="container-imgs-list" style="max-height: 500px; margin-top: 8px" id="imageList">
        {switch_forum_images.SCRIPTS}
   </div>
</div>
<!-- END switch_forum_images -->

<!-- BEGIN switch_on_index -->
<ul class="action-bar action-bar-bottom">
   <li>
      <a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a>
   </li>
   <li>
      <a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a>
   </li>
   <li class="last">
      <a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a>
   </li>
   <!-- BEGIN switch_delete_cookies -->
   <li class="rightside">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" rel="nofollow">
         <i class="material-icons">delete</i> {switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}
      </a>
   </li>
   <!-- END switch_delete_cookies -->
</ul>
<!-- END switch_on_index -->

<script type="text/javascript">
   //<![CDATA[
   $(document).ready(function () {
      var curid = '{CUR_ID}';

      var btn_collapse = $('<div/>', {
         class: 'forum-hide',
         html: '<div class="forum-hide-icon-a"></div><div class="forum-hide-icon-b"></div>',
      });

      var collapsed = [];

      if (readCookie('collapsed') != null && readCookie('collapsed') != '') {
         collapsed = readCookie('collapsed').split(',');
      }

      $(document).on('click', '.forum-hide', function () {
         $(this).toggleClass('forum-show');
         $(this).parents('.forum').toggleClass('forum-hidden');

         if (readCookie('collapsed') != null && readCookie('collapsed') != '') {
            collapsed = readCookie('collapsed').split(',');
         }

         if (!$(this).parents('.forum').hasClass('forum-hidden')) {
            removeFromArray(curid + '.' + $(this).parents('.forum').data('cindex'), collapsed);

            createCookie('collapsed', collapsed);
         } else {
            collapsed.push(curid + '.' + $(this).parents('.forum').data('cindex'));

            createCookie('collapsed', collapsed);
         }
      });

      $('.forum').each(function (i) {
         $(this).data('cindex', '' + i);

         $(btn_collapse)
            .clone()
            .attr('id', 'forum' + i)
            .appendTo($(this).find('.forum-header'));

         if ($.inArray(curid + '.' + i, collapsed) > -1) {
            $(this).find('.forum-hide').toggleClass('forum-show');
            $(this).toggleClass('forum-hidden');
         }

         if ($(this).find('.type-classified').length) {
            $(this)
               .addClass('type-table-classified')
               .find('.type-classified')
               .find('.forum-statistics-posts').remove();
         }
      });
   });

   function removeFromArray(item, array) {
      var i = array.indexOf(item);

      if (i > -1) {
         array = array.splice(i, 1);
      }
   }

   function createCookie(name, value, days) {
      var expires;

      if (days) {
         var date = new Date();
         date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
         expires = "; expires=" + date.toGMTString();
      } else {
         expires = "";
      }
      document.cookie = encodeURIComponent(name) + "=" + encodeURIComponent(value) + expires + "; path=/";
   }

   function readCookie(name) {
      var nameEQ = encodeURIComponent(name) + "=";
      var ca = document.cookie.split(';');
      for (var i = 0; i < ca.length; i++) {
         var c = ca[i];
         while (c.charAt(0) === ' ') c = c.substring(1, c.length);
         if (c.indexOf(nameEQ) === 0) return decodeURIComponent(c.substring(nameEQ.length, c.length));
      }
      return null;
   }

   //]]>
</script>

descriptionhow to make group legend look like this EmptyRe: how to make group legend look like this

more_horiz
Mc Nabulsy wrote:
its normal incex_box 
didn't edit it

Code:

<ul class="action-bar action-bar-top">
 <!-- BEGIN switch_user_logged_in -->
 <li>
 <a href="{U_SEARCH_NEW}">
 <i class="material-icons">new_releases</i> {L_SEARCH_NEW}
 </a>
 </li>
 <li>
 <a href="{U_SEARCH_SELF}">
 <i class="material-icons">account_box</i> {L_SEARCH_SELF}
 </a>
 </li>
 <!-- END switch_user_logged_in -->
 <li>
 <a href="{U_SEARCH_UNANSWERED}">
 <i class="material-icons">chat_bubble_outline</i> {L_SEARCH_UNANSWERED}
 </a>
 </li>
 <!-- BEGIN switch_user_logged_in -->
 <li class="rightside">
 <a href="{U_MARK_READ}" accesskey="m">
 <i class="material-icons">done_all</i> {L_MARK_FORUMS_READ}
 </a>
 </li>
 <!-- END switch_user_logged_in -->
</ul>

<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="forum {catrow.tablehead.TYPE_TABLE_SECTION}">
 <div class="forum-header">
 <div class="category-title">
 <i class="material-icons">description</i>
 <span>{catrow.tablehead.L_FORUM}</span>
 </div>
 <div class="forum-statistics-header">
 <span class="forum-statistics-header-topics">
 <i class="material-icons" data-tooltip="{L_TOPICS}">chat_bubble</i>
 </span>
 <span class="forum-statistics-header-posts">
 <i class="material-icons" data-tooltip="{L_POSTS}">forum</i>
 </span>
 </div>
 <div class="forum-lastpost-header">
 <i class="material-icons" data-tooltip="{L_LASTPOST}">watch_later</i>
 <span>{L_LASTPOST}</span>
 </div>
 </div>
 <!-- END tablehead -->

 <!-- BEGIN forumrow -->
 <div class="forum-section {catrow.forumrow.FOLDER_CLASSNAME} {catrow.forumrow.TYPE_SECTION}">
 <div class="forum-icon" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}">
 <i class="material-icons">forum</i>
 </div>
 <div class="forum-content">
 <div class="forum-description">
 <h3><a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a></h3>
 <p>{catrow.forumrow.FORUM_DESC}</p>
 {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
 </div>
 <div class="forum-statistics">
 <span class="forum-statistics-topics">{catrow.forumrow.TOPICS} <span>{L_TOPICS}</span></span>
 <span class="forum-statistics-posts">{catrow.forumrow.POSTS} <span>{L_POSTS}</span></span>
 </div>
 <div class="forum-lastpost">
 <div class="avatar-default">
 <!-- BEGIN avatar -->
 {catrow.forumrow.avatar.LAST_POST_AVATAR}
 <!-- END avatar -->
 <!-- BEGIN ads -->
 <img src="{catrow.forumrow.ads.IMG}" alt="{catrow.forumrow.ads.TITLE}"/>
 <!-- END ads -->
 </div>
 <div class="forum-lastpost-inner">
 <!-- BEGIN switch_topic_title -->
 <a class="topic-title" href="{catrow.forumrow.U_LATEST_TOPIC}"
   title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a>
 <!-- END switch_topic_title -->
 <!-- BEGIN ads -->
 <a class="topic-title" href="{catrow.forumrow.ads.LINK}"
   title="{catrow.forumrow.ads.TITLE}">{catrow.forumrow.ads.TITLE}</a>
 <!-- END ads -->
 <span>
 <!-- BEGIN ads -->
 <span class="forum-lastpost-location">
 <i class="material-icons">place</i>{catrow.forumrow.ads.LOCATION}
 </span>
 <!-- END ads -->
 <span class="forum-lastpost-author">
 <i class="material-icons">person</i>{catrow.forumrow.USER_LAST_POST}
                                <!-- BEGIN ads -->
                                {catrow.forumrow.ads.ALIAS}
                                <!-- END ads -->
 </span>
 <span class="forum-lastpost-time">
 <i class="material-icons">access_time</i><a href="{catrow.forumrow.U_LATEST_TOPIC_POST}">{catrow.forumrow.LAST_POST_HOUR}</a>
 <!-- BEGIN ads -->
                                {catrow.forumrow.ads.DATE}
                                <!-- END ads -->
 </span>
 </span>
 </div>
 </div>
 </div>
 </div>
 <!-- END forumrow -->

 <!-- BEGIN tablefoot -->
</div><!-- <div class="forum" /> -->
<!-- END tablefoot -->
<!-- END catrow -->

<!-- BEGIN switch_forum_images -->
<div class="forum">
 <div class="forum-header">
 <div class="category-title">
 <i class="material-icons">mms</i>
 <span>{switch_forum_images.TITLE}</span>
 </div>
 </div>
 <div class="container-imgs-list" style="max-height: 500px; margin-top: 8px" id="imageList">
        {switch_forum_images.SCRIPTS}
 </div>
</div>
<!-- END switch_forum_images -->

<!-- BEGIN switch_on_index -->
<ul class="action-bar action-bar-bottom">
 <li>
 <a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a>
 </li>
 <li>
 <a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a>
 </li>
 <li class="last">
 <a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a>
 </li>
 <!-- BEGIN switch_delete_cookies -->
 <li class="rightside">
 <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" rel="nofollow">
 <i class="material-icons">delete</i> {switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}
 </a>
 </li>
 <!-- END switch_delete_cookies -->
</ul>
<!-- END switch_on_index -->

<script type="text/javascript">
 //<![CDATA[
 $(document).ready(function () {
 var curid = '{CUR_ID}';

 var btn_collapse = $('<div/>', {
 class: 'forum-hide',
 html: '<div class="forum-hide-icon-a"></div><div class="forum-hide-icon-b"></div>',
 });

 var collapsed = [];

 if (readCookie('collapsed') != null && readCookie('collapsed') != '') {
 collapsed = readCookie('collapsed').split(',');
 }

 $(document).on('click', '.forum-hide', function () {
 $(this).toggleClass('forum-show');
 $(this).parents('.forum').toggleClass('forum-hidden');

 if (readCookie('collapsed') != null && readCookie('collapsed') != '') {
 collapsed = readCookie('collapsed').split(',');
 }

 if (!$(this).parents('.forum').hasClass('forum-hidden')) {
 removeFromArray(curid + '.' + $(this).parents('.forum').data('cindex'), collapsed);

 createCookie('collapsed', collapsed);
 } else {
 collapsed.push(curid + '.' + $(this).parents('.forum').data('cindex'));

 createCookie('collapsed', collapsed);
 }
 });

 $('.forum').each(function (i) {
 $(this).data('cindex', '' + i);

 $(btn_collapse)
 .clone()
 .attr('id', 'forum' + i)
 .appendTo($(this).find('.forum-header'));

 if ($.inArray(curid + '.' + i, collapsed) > -1) {
 $(this).find('.forum-hide').toggleClass('forum-show');
 $(this).toggleClass('forum-hidden');
 }

 if ($(this).find('.type-classified').length) {
 $(this)
 .addClass('type-table-classified')
 .find('.type-classified')
 .find('.forum-statistics-posts').remove();
 }
 });
 });

 function removeFromArray(item, array) {
 var i = array.indexOf(item);

 if (i > -1) {
 array = array.splice(i, 1);
 }
 }

 function createCookie(name, value, days) {
 var expires;

 if (days) {
 var date = new Date();
 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
 expires = "; expires=" + date.toGMTString();
 } else {
 expires = "";
 }
 document.cookie = encodeURIComponent(name) + "=" + encodeURIComponent(value) + expires + "; path=/";
 }

 function readCookie(name) {
 var nameEQ = encodeURIComponent(name) + "=";
 var ca = document.cookie.split(';');
 for (var i = 0; i < ca.length; i++) {
 var c = ca[i];
 while (c.charAt(0) === ' ') c = c.substring(1, c.length);
 if (c.indexOf(nameEQ) === 0) return decodeURIComponent(c.substring(nameEQ.length, c.length));
 }
 return null;
 }

 //]]>
</script>


okay... for some reason its not index_box but its index_body - but we have an personalized theme

here is the code:

Code:

        <div class="team"><a href="https://fgsuport.forumotion.com/g6-administrators-fgsuport"><div data-tooltip="Forum Administrators Group" class="administratorfgsuport"><i class="material-icons" style="font-size: 14px;margin-top:-3px;line-height:0px;">
settings
</i> Administrators</div></a> <a href="https://fgsuport.forumotion.com/g6-administrators-fgsuport"><div data-tooltip="Forum moderators group" class="moderatorfgsuport"><i class="material-icons"  style="font-size: 14px;margin-top:-3px;line-height:0px;">
edit
</i> Moderators</div></a> <a href="https://fgsuport.forumotion.com/g2-moderators-fgsuport"><div data-tooltip="Forum helpers group" class="helperfgsuport"><i class="material-icons"  style="font-size: 14px;margin-top:-3px;line-height:0px;">
code
</i> Helpers</div></a> <a href="https://fgsuport.forumotion.com/g3-helper-fgsuport"><div data-tooltip="Forum designers group" class="designerfgsuport"><i class="material-icons"  style="font-size: 14px;margin-top:-3px;line-height:0px;">
brush
</i> Designers</div></a> <a href="https://fgsuport.forumotion.com/g5-analyst-fgsuport"><div data-tooltip="Forum analysts group" class="analystfgsuport"><i class="material-icons" style="font-size: 14px;margin-top:-3px;line-height:0px;">
pie_chart
</i> Analysts</div></a


And the CSS needs to be added in that template only:

Code:

  <style type="text/css" media="screen">
   
    .administratorfgsuport:hover,  .moderatorfgsuport:hover, .helperfgsuport:hover, .designerfgsuport:hover, .analystfgsuport:hover {

    background: #FFF;
 
}
        .analystfgsuport:hover{
    border: 1px solid #4F6FFF;
    color:#4F6FFF;
    }
   
   
      .analystfgsuport{
    padding:10px;
    font-size:13px;
    color:#FFF;
    background-color:#4F6FFF;
 display: inline-block;
border: 1px solid #4F6FFF;
line-height: 10px;

border-radius: 3px;
}
   
    .administratorfgsuport:hover{
    border: 1px solid #FF6600;
    color:#FF6600;
    }
   
      .moderatorfgsuport:hover{
    color:#7CBA2B;
    border: 1px solid #7CBA2B;
    }
      .helperfgsuport:hover{
    color:#960096;
    border: 1px solid #960096;
    }
      .designerfgsuport:hover{
    border: 1px solid #D42F58;
    color:#D42F58;
    }

   
  .moderatorfgsuport{
    padding:10px;
    font-size:13px;
    color:#FFF;
    background-color:#7BA607;
 display: inline-block;
border: 1px solid #7BA607;
line-height: 10px;

border-radius: 3px;
}
    .helperfgsuport{
    padding:10px;
    font-size:13px;
    color:#FFF;
    background-color:#960096;
    display: inline-block;
border: 1px solid #960096;
line-height: 10px;

border-radius: 3px;
}
    .designerfgsuport{
    padding:10px;
    font-size:13px;
    color:#FFF;
    background-color:#D42F58;
  display: inline-block;
border: 1px solid #D42F58;
line-height: 10px;

border-radius: 3px;
}
 
   
   
   
.administratorfgsuport{
    padding:10px;
    font-size:13px;
    color:#FFF;
    background-color:#FF6600;
    display: inline-block;
border: 1px solid #FF6600;
line-height: 10px;

border-radius: 3px;
}
.team {

    margin-left: 30px;
    display: inline-block;
  margin-bottom: 20px;
    margin-top: -35px;

}

descriptionhow to make group legend look like this EmptyRe: how to make group legend look like this

more_horiz
my bad about the template
thank you very much  I love you

descriptionhow to make group legend look like this EmptyRe: how to make group legend look like this

more_horiz
Mc Nabulsy wrote:
my bad about the template
thank you very much  I love you

you are very welcome Very Happy

As the subject is resolved, it will be closed and archived.

descriptionhow to make group legend look like this EmptyRe: how to make group legend look like this

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