The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Posting background

3 posters

Go down

In progress Posting background

Post by Iration July 7th 2020, 11:54 am

Hello guys,

I would like to ask how to have a posting background for each and every forum staffs/moderators?
Thank you in advance.
My forum version: AwesomeBB

Ex.
background staff - Posting background XbnWCsK
Pic credits to Tankers Gaming Community
Iration
Iration
Forumember

Male Posts : 62
Reputation : 1
Language : Bisaya
Location : Cagayan de Oro City

Back to top Go down

In progress Re: Posting background

Post by tikky July 8th 2020, 6:42 pm

Hey @Iration,

Create a new JavaScript page with investment in the topics with the following code:
Code:
(function($) {
    'use strict';

    $(function() {
        $('.post-wrap').each(function() {

            var $this = $(this);
            var $color = $this.find('.post-author-name span[style]');

            if (!$color.length) return;

            $this.find('.post').css({
                background: 'linear-gradient(' + $color.css('color') + ' 0%, rgba(255, 255, 255, 0) 25%)'
            });

        });
    });
}(jQuery));
tikky
tikky
Forumember

Posts : 897
Reputation : 157
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

skouliki, SLGray, SarkZKalie and Iration like this post

Back to top Go down

In progress Re: Posting background

Post by Iration July 9th 2020, 4:36 am

ive tried it bro but it seems it didnt fit on my forum theme. Do you have any idea what other designs? or is it possible to add on a image background on it bro @pedxz? thanks btw
Iration
Iration
Forumember

Male Posts : 62
Reputation : 1
Language : Bisaya
Location : Cagayan de Oro City

Back to top Go down

In progress Re: Posting background

Post by skouliki July 9th 2020, 11:17 am

Iration wrote:ive tried it bro but it seems it didnt fit on my forum theme. Do you have any idea what other designs? or is it possible to add on a image background on it bro @pedxz? thanks btw

to add a background image ( it is working with your version )
add this code ..change this .....https://yourimageurl.png.... to the image url you want to add

Code:

.quick-reply .textarea , .sceditor-container textarea {
    background:url(https://yourimageurl.png) !important;
    background-position : center!important;
    background-repeat: no-repeat!important;
}
skouliki
skouliki
Manager
Manager

Female Posts : 15153
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Iration likes this post

Back to top Go down

In progress Re: Posting background

Post by tikky July 9th 2020, 11:34 am

Iration wrote:ive tried it bro but it seems it didnt fit on my forum theme. Do you have any idea what other designs? or is it possible to add on a image background on it bro @pedxz? thanks btw
Change to:
Code:
(function ($) {
  'use strict';
 
  $(function () {
    $('.post-wrap').each(function () {
 
      var $this = $(this);
      var $color = $this.find('.post-author-name span[style]');
 
      if (!$color.length) return;
 
      $this.find('.post').css({
        'transition': 'all 0.6s linear',
        'border-top': '2px solid ' + $color.css('color'),
        '-webkit-box-shadow': 'inset 0 20px 20px -20px ' + $color.css('color'),
        '-moz-box-shadow': 'inset 0 20px 20px -20px ' + $color.css('color'),
        'box-shadow': 'inset 0 20px 20px -20px ' + $color.css('color')
      });
 
    });
  });
}(jQuery));
tikky
tikky
Forumember

Posts : 897
Reputation : 157
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

Iration likes this post

Back to top Go down

In progress Re: Posting background

Post by Iration July 9th 2020, 12:19 pm

skouliki wrote:
Iration wrote:ive tried it bro but it seems it didnt fit on my forum theme. Do you have any idea what other designs? or is it possible to add on a image background on it bro @pedxz? thanks btw

to add a background image ( it is working with your version )
add this code ..change this .....https://yourimageurl.png.... to the image url you want to add

Code:

.quick-reply .textarea , .sceditor-container textarea {
    background:url(https://yourimageurl.png) !important;
    background-position : center!important;
    background-repeat: no-repeat!important;
}

Should I add this on my java?
Iration
Iration
Forumember

Male Posts : 62
Reputation : 1
Language : Bisaya
Location : Cagayan de Oro City

Back to top Go down

In progress Re: Posting background

Post by skouliki July 9th 2020, 12:28 pm

no you must add it in your css sheet
skouliki
skouliki
Manager
Manager

Female Posts : 15153
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Posting background

Post by Iration July 9th 2020, 1:06 pm

Was it in the quick reply field maam/sir? What I mean is in the post profile field
Iration
Iration
Forumember

Male Posts : 62
Reputation : 1
Language : Bisaya
Location : Cagayan de Oro City

Back to top Go down

In progress Re: Posting background

Post by skouliki July 9th 2020, 2:01 pm

Edit

Sorry I thought you meant the editor

@Iration please post your forum url for appearance problems
Your forum needs to be open to the public so we can see part of it.
skouliki
skouliki
Manager
Manager

Female Posts : 15153
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Iration likes this post

Back to top Go down

In progress Re: Posting background

Post by Iration July 18th 2020, 2:53 pm

Was this code possible in adding a background on it?
Iration
Iration
Forumember

Male Posts : 62
Reputation : 1
Language : Bisaya
Location : Cagayan de Oro City

Back to top Go down

In progress Re: Posting background

Post by skouliki July 18th 2020, 2:54 pm

@Iration please post your forum url for appearance problems
Your forum needs to be open to the public so we can see part of it.
skouliki
skouliki
Manager
Manager

Female Posts : 15153
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

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