Current date/time is August 11th 2020, 6:22 am

Search found 7 matches for AwesomeBB

How to add on latest topic/top poster?

Hey @Iration,

It won't' look the same but the #awesomebb is more elegant and modern Topics tagged under awesomebb on The forum of the forums 1f60a see the demo:

Topics tagged under awesomebb on The forum of the forums Awtopw10

To installing create a new JavaScript page with investment in all pages with the following code:
Code:
/*globals jQuery*/

(function($) {
    'use strict';

    var widgets = [{
        name: 'Latest topics'
    }, {
        name: 'Top posters'
    }];

    $(function() {

        var $top = $('<div>', {
            'class': 'top-widgets'
        }).css({
            'display': 'flex',
            'width': '90%',
            'margin-left': 'auto',
            'margin-right': 'auto',
            'justify-content': 'space-around',
            'flex-flow': 'row wrap',
            'align-items': 'stretch'
        }).insertAfter('#site_widgets');


        $.each(widgets, function(index, box) {

            if (!box.name) return;

            var $widget = $('.box').find('.box-head span:contains(' + box.name + ')');

            if (!$widget.length) return;

            $widget.parent().parent().css('flex', 'auto').appendTo($top);

        });

        $top.find('.box:not(:last)').css('margin-right', '.2rem');

    });
})(jQuery);


You can add more widgets just add the name of the widget here:
Code:
var widgets = [{
        name: 'Latest topics'
    }, {
        name: 'Top posters'
    }];


Important: to work properly the widget needs to be active:

Topics tagged under awesomebb on The forum of the forums Awwid10
by pedxz
on June 30th 2020, 12:22 pm
 
Search in: Forum Design & Appearance Help
Topic: How to add on latest topic/top poster?
Replies: 29
Views: 666

Theme for AwesomeBB Forum Version

Hey @Iration,

Welcome to Forumotion Support Forum! See this theme to #awesomebb midnightAWE i can help to change the colors if you want!
by pedxz
on June 28th 2020, 1:02 pm
 
Search in: Hitskin.com Support
Topic: Theme for AwesomeBB Forum Version
Replies: 20
Views: 682

Changing specific sub-forum style

Changing specific sub-forum style


Hello everyone,

In this tutorial we will show you how to style a specific sub-forum instead of having all subforums styled the same way.


Preview Result

This will be the result after finishing this tutorial:
Topics tagged under awesomebb on The forum of the forums Screen29


Installation

To install this and have the specific subforums of your choice styled, you have to follow the below information.

Template Editing

Go to Administration Panel > Display > Templates : General > index_box and edit the template. Once you are there, follow the edit information below based on your forum version:

#PhpBB2, #PunBB, #Invision
Find:
Code:
  <!-- BEGIN forumrow -->
  <tr>

and replace it with this:
Code:
  <!-- BEGIN forumrow -->
  <tr class="forum_each" data-forum="{catrow.forumrow.U_VIEWFORUM}">


#PhpBB3, #ModernBB
Find:
Code:
  <!-- BEGIN forumrow -->
            <li class="row">

and replace it with this:
Code:
  <!-- BEGIN forumrow -->
            <li class="row forum_each" data-forum="{catrow.forumrow.U_VIEWFORUM}">


#AwesomeBB
Find:
Code:
  <!-- BEGIN forumrow -->
  <div class="forum-section {catrow.forumrow.FOLDER_CLASSNAME} {catrow.forumrow.TYPE_SECTION}">

and replace it with this:
Code:
  <!-- BEGIN forumrow -->
  <div class="forum-section {catrow.forumrow.FOLDER_CLASSNAME} {catrow.forumrow.TYPE_SECTION} forum_each" data-forum="{catrow.forumrow.U_VIEWFORUM}">


After you do the change in the template, save it and press the green cross to publish the template.


CSS code addition

Go to Administration Panel > Display > Pictures and Colors : Colors > CSS Stylesheet and add the code based on your forum version:
#PhpBB2, #PunBB, #Invision
Code:
.forum_each[data-forum*="fXX-"] .row1.over {
background-color: darkred;
font-size: 16px;
}


#PhpBB3, #ModernBB, #AwesomeBB
Code:
.forum_each[data-forum*="fXX-"] {
background-color: darkred;
font-size: 16px;
}


and once you finish adding the code in your CSS click the Save button to save your CSS.


Explanations

In the CSS codes above you see this part:
Code:
[data-forum*="fXX-"]
. What you need to change in that part is the XX based on the category you want to change. In order to find the one category you want to change you simple click on the category and check the link above.

If the category you want to change has a link
Code:
https://{FORUMNAME}.com/f1-your-first-category
then the only thing you need to get is the number after the first slash.
Code:
/f1-
is the one to get from this example. Here it's /f1 so the number you have to add is 1.

In other words, you simply change XX from the above code with 1 and so on. You can do this to as many categories as you wish.


Hope you like this tutorial and you find it useful!
Best of luck to all.

by TheCrow
on May 26th 2020, 8:00 am
 
Search in: Tips & Tricks
Topic: Changing specific sub-forum style
Replies: 0
Views: 938

[AwesomeBB] MidnightAwe

Theme Name : MidnightAwe
Forum Version : #awesomebb
Main Colors : Midnight Blue and Plum
Template Usage : None
Javascript Usage : None
Difficulty to Install : 1/9
Time taken to create : Maybe 1 hour or less
Custom Images : Yes, All images are available with the skin.
Theme Description : The AwesomeBB version just came out, is still in beta, for many Administrators who like to use it. Then i create the MidnightAwe - it's the default theme for AwesomeBB, but with some edits, "dark mode", it's great for game forums, technology, programming, support or others.
The predominant color is Midnight Blue and PLUM Purple. Fully edited by CSS.
Theme Author : Pedxz






OBS: The theme was created long time away it needs css changes, so after install change the CSS to:
Code:
@media (max-width: 750px) {
  .forum-lastpost,
  .posts-lastpost {
    background-color: #2c3e50!important;
    border-color: #2c3e50!important;
  }
  #forum-statistics {
    display: block!important;
  }
  .notification-row,
  .EV_Item {
    background-color: #34495e!important;
  }
}
:focus {
  outline: 0;
}
#tabs ul, .tabs ul,
.box-body,
.block .block-content,
.block-subtle,
.post,
.post-aside,
.panel,
.post-section,
.fb-or-text,
.mod-news,
.mod-news-footer,
.social_login_group .fb-or-text,
#chatbox_contextmenu,
#help-button,
.fontbutton,
#header-user img, .avatar-big img, .avatar-default img, .avatar-mini img, .cb-avatar img, .mod-login-avatar img,
input,
.forumline tbody tr, .table1 tbody tr,
.calendar-cell,
.notification-row,
.EV_Item {
  background-color: #34495E;
}
.dropdown-box {
    background-color: rgba(0,0,0,0.1);
}
#block-online i {
    color: #a892d9;
}
.block-topics .block-topics-posts i,
.block-topics .block-topics-views i,
.forum-lastpost-header i,
.forum-statistics-header i,
.posts-lastpost-header i,
.posts-statistics-header i,
.posts-lastpost i,
.forum-lastpost-author i,
.forum-lastpost-location i,
.forum-lastpost-time i,
.posts-lastpost-author i,
.posts-lastpost-time i,
select,
.input,
input,
.sceditor-container iframe, .sceditor-container textarea,
.inputbox {
  color: white!important;
}
.forum-description p,
.posts-description p,
.forum-statistics-posts span,
.forum-statistics-topics span,
.posts-statistics-replies span,
.posts-statistics-views span,
.profile-advanced-stats dt span[style*="536482"] {
    color: #e0d6d6!important;
}
.block-market .market-item-price,
.block .block-secondary-content,
.block .sub-head,
.block .block-footer,
.post-aside,
.attachbox,
.box-foot,
.sceditor-group,
.posts-lastpost,
.quick-reply .textarea,
.jumpbox-wrap select,
.quickmod-wrap select,
.select-wrap select,
#divcolor, #divsmilies, #help-button, #submit_button, .format-message+label,
#tabs li:hover, .tabs li:hover,
select,
.post-footer {
    background-color: #2c3e50!important;
    border-color: #2c3e50;
    color: white;
}
#header-banner .wrap,
#forum-statistics {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
#header-banner h2 {
    white-space: nowrap;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
}
#forum-statistics > div,
.block-topics .block-topics-lastpost,
div.sceditor-group,
.forumline td, .forumline th, .table1 td, .table1 th {
    border-color: transparent!important;
}
#chatbox > :nth-child(even), .chat-row:nth-child(even) {
    background-color: #2c3e50;
}
#chatbox > p {
    border-color: #2c3e50!important;
}
#chatbox .msg span[style*="green"] {
    color: #93ee38!important;
}
#chatbox .msg span[style*="red"] {
    color: #fa4c4c!important;
}
.radio-check:after,
.forumline thead th, .table1 thead th,
.catHead {
    background-color: rgb(128, 103, 183);
}
.radio {
    border-color: rgb(128, 103, 183);
}
.sceditor-button div, div.sceditor-grip {
    background-image: url(https://i.imgur.com/LyI9qEV.png)!important;
}
.stat-bar img {
    background-color: #8f1ce7;
}
by pedxz
on April 21st 2020, 6:42 pm
 
Search in: Special Themes Proposals
Topic: [AwesomeBB] MidnightAwe
Replies: 3
Views: 196

Mention Button Script for awesomebb?

Hey @OngBak,

Use this update to #AwesomeBB.
@ before the username in the profile
Code:
/* FORUM VERSIONS
 * 0 = PHPBB2
 * 1 = PHPBB3
 * 2 = PUNBB
 * 3 = INVISION
 * 4 = AWESOMEBB
 */
$(function() {
  var version = 4;
 
  if (/mode=reply/.test(window.location.search) && my_getcookie('fa_mention')) {
    document.post.message.value += '@"' + my_getcookie('fa_mention') + '" ';
    my_setcookie('fa_mention',''); 
  } if (!/\/t\d+/.test(window.location.pathname)) return;
 
  for (var a = $(['.name strong a', '.postprofile dt strong a', '.username a', '.postprofile dt a ~ a', '.post-author .post-author-name a'][version]), b, i = 0, j = a.length, t = document.getElementById('text_editor_textarea'); i<j; i++) {
    b = document.createElement('A');
    b.title = 'Mention ' + $(a[i]).text();
    b.style.marginRight = '3px';
    b.className = 'fa-mention';
    b.innerHTML = '@';
    b.href = '#';
    b.onclick = function() {
      var n = this.title.replace(/^.*?\s/,'');
     
      if ($.sceditor) t.insertText('@"' + n + '" ');
      else {
        my_setcookie('fa_mention', n);
        window.location.href = '/post?t=' + window.location.pathname.replace(/\/t(\d+)-.*/,'$1') + '&mode=reply';
      }
     
      return false;
    };
 
    a[i].parentNode.insertBefore(b, a[i]);
  }
 
  $(function(){
    if (!$.sceditor) return;
    t=$(t).sceditor('instance');
  });
});



- pedxz
by pedxz
on April 5th 2020, 10:12 am
 
Search in: Scripts Problems Archives
Topic: Mention Button Script for awesomebb?
Replies: 8
Views: 595

[Tutorial] CKEditor

Create CKEditor in #awesomebb version
Code:
/*
 *  Application: CKEditor
 *  Version: Only AwesomeBB
 *  Date: 30/04/2018
 *  Version: 1.030042018
 *  Copyright (c) CKSource and Adapted to forumotion by Daemon <help.forumotion.com>
 *  This work is free. You can redistribute it and/or modify it
 */
$(function() {
 
  if (_board.tpl_version !== 'awesomebb') return;
 
    $.ajax({
        type: 'GET',
        url: 'https://cdn.ckeditor.com/4.13.0/standard-all/ckeditor.js',
        dataType: 'script',
        success: function() {
            CKEDITOR.replace('quick-reply-textarea', {
                extraPlugins: 'bbcode'
            });
        },
        error: function(jqXHR, textStatus, errorThrown) {
            if(jqXHR.status == 500) {
                console.log('Internal error: ' + jqXHR.responseText);
            } else {
                console.log('Unexpected error.');
            }
        }
    });
    $(function() {
        $('#quick-reply-textarea').sceditor('instance').destroy();
    });
});
by pedxz
on October 12th 2019, 10:21 am
 
Search in: Community Coding and Analysis Zone
Topic: [Tutorial] CKEditor
Replies: 35
Views: 4311

Forum versions

#ModernBB and #AwesomeBB has been added to the tutorial.
by SLGray
on September 18th 2018, 1:49 am
 
Search in: Tips & Tricks
Topic: Forum versions
Replies: 1
Views: 6575

Back to top

Jump to: