The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

ModernBB Favorited Background change

View previous topic View next topic Go down

In progress ModernBB Favorited Background change

Post by SpyroDragon on November 11th 2017, 4:35 am

Hello, I'm trying to create a new forum, and I was wondering how you would go on about changing the favorited background..
like when you favorite someones post, the background changes, how do we customize that background??

Forum version ModernBB

avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SLGray on November 11th 2017, 5:39 am

AP > Display > Pictures & Colors > Colors
Colors Tab
Backgrounds Section
Thanked message background color:


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 41472
Reputation : 2850
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 11th 2017, 5:49 am

I want to add a picture tho, I don't want to just change the color, is that possible?
like in this case I want there to be something at the bottom right saying " Dream Interpretation Favorited "
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SLGray on November 11th 2017, 6:18 am



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 41472
Reputation : 2850
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 11th 2017, 4:05 pm

Yes , I followed the instructions for that, but apparently its not working.. I saw the forum versions in the code but I did not see ModernBB
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by Luffy on November 11th 2017, 4:06 pm

Hello,

Can you post here your forum link and possibly a message where guests can see the thanked message please?

Thanks.





avatar
Luffy
Manager
Manager

Male Posts : 4947
Reputation : 508
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 11th 2017, 4:14 pm

avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by Luffy on November 11th 2017, 4:52 pm

Okay. This is one easy way to do what you want to accomplish.
Simply add in your CSS this code:
Code:
.post[style*="#bbe6fc"] {
    background: url(IMAGE URL HERE) transparent;
}
But be aware: This code, relies on what's the background-color. For example, if you use this code now, it will work because the "Thank you" background color at this moment is #bbe6fc. So what i'm trying to aware you of, is that, whenever you decide to change the color from the Admin Panel, you need to change the color in the code as well. The two colors must be the same, in order for this code to work. Wink





avatar
Luffy
Manager
Manager

Male Posts : 4947
Reputation : 508
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 11th 2017, 5:40 pm

doesn't seem to change anything
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by Luffy on November 11th 2017, 6:16 pm

I don't see the code in your CSS. Did you add it? Also, have you tried adding
Code:
!important
to it?





avatar
Luffy
Manager
Manager

Male Posts : 4947
Reputation : 508
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 11th 2017, 6:24 pm



I tried moving it to the top, and it still doesn't work, and I wouldent kno where to add !important at
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by Luffy on November 11th 2017, 6:31 pm

You add
Code:
!important
to the rule, just before the
Code:
;
or if the ";" doesn't exist at the end of the rule. Something like this:
Code:
.post[style*="#bbe6fc"] {
    background: url(IMAGE URL HERE) transparent!important;
}





avatar
Luffy
Manager
Manager

Male Posts : 4947
Reputation : 508
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 11th 2017, 7:46 pm

Still no quano
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 13th 2017, 12:55 am

Bump
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SLGray on November 13th 2017, 1:08 am

This modification is for any version so long as you meet the following conditions :


   Your templates are not heavily modified
   - You can contact the support for help with modifying the script for your templates if it does not work

   The thanks system is enabled
   - Administration Panel > Modules > Reputation > Activate "Thanks" button

   You have a thanks color selected
   - Administration Panel > Display > Colors > Thanked message background color


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 41472
Reputation : 2850
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 13th 2017, 6:03 am

Yes I have all that enabled and it still does not work


I think its a version issue with modernbb because when I changed the thanks button picture in advanced settings, the default wasnt even a heart icon, and when I changed the picture to a custom one , it remained the heart icon
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by APE on November 13th 2017, 11:10 am

I think the problem comes from the code is old and when this was made the new ModernBB system was not made so maybe the code needs some little change to work with the ModernBB system



avatar
APE
Manager
Manager

Male Posts : 11445
Reputation : 1103
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 14th 2017, 6:07 am

so is this not possible with modernbb?
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 17th 2017, 6:17 am

Bump
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by APE on November 17th 2017, 2:48 pm

I'm sure it can be done with some small changes but I'm not really the one to ask as i Don't know a lot about Javascript



avatar
APE
Manager
Manager

Male Posts : 11445
Reputation : 1103
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 20th 2017, 3:24 am

Bump
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 21st 2017, 4:06 am

bump
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 22nd 2017, 11:54 am

Bump
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on November 30th 2017, 6:11 pm

Bump
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SarkZKalie on November 30th 2017, 10:34 pm

Try this
Code:
div.post[style="background-color:#bbe6fc;"] {
    background: url('IMAGE URL') center no-repeat #HEXCOLOR!important;
}
avatar
SarkZKalie
Forumember

Male Posts : 629
Reputation : 91
Language : English

http://rotavn.nstars.org/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on December 1st 2017, 6:29 pm

Doesn't seem to be working either.
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SarkZKalie on December 2nd 2017, 4:57 am

Have you added it yet? I dun see it in your CSS
avatar
SarkZKalie
Forumember

Male Posts : 629
Reputation : 91
Language : English

http://rotavn.nstars.org/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on December 12th 2017, 5:03 am

yes ive added it, I'm trying to change
DreamArchive.org not the one that's set in my profile, if that helps at all
avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SLGray on December 12th 2017, 5:18 am

Please post a link to a thanked post that guests can see.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 41472
Reputation : 2850
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon on December 12th 2017, 4:29 pm

avatar
SpyroDragon
Forumember

Posts : 364
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

View previous topic View next topic Back to top


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