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.

ModernBB Favorited Background change

5 posters

Go down

In progress ModernBB Favorited Background change

Post by SpyroDragon 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

ModernBB Favorited Background change Favori10
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

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


ModernBB Favorited Background change Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon 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 "
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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



ModernBB Favorited Background change Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon 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
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by TheCrow 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.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6896
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by TheCrow 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
TheCrow
TheCrow
Manager
Manager

Male Posts : 6896
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

doesn't seem to change anything
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by TheCrow 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?
TheCrow
TheCrow
Manager
Manager

Male Posts : 6896
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

ModernBB Favorited Background change Help110

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

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by TheCrow 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;
}
TheCrow
TheCrow
Manager
Manager

Male Posts : 6896
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

Still no quano
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

Bump
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SLGray 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


ModernBB Favorited Background change Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon 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
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by Ape 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 ModernBB Favorited Background change Mouais


ModernBB Favorited Background change Left1212ModernBB Favorited Background change Center11ModernBB Favorited Background change Right112
ModernBB Favorited Background change Ape_b110
ModernBB Favorited Background change Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19075
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

so is this not possible with modernbb?
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

Bump
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by Ape 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


ModernBB Favorited Background change Left1212ModernBB Favorited Background change Center11ModernBB Favorited Background change Right112
ModernBB Favorited Background change Ape_b110
ModernBB Favorited Background change Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19075
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

Bump
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

bump
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

Bump
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

Bump
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

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


ModernBB Favorited Background change Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1407
Reputation : 218
Language : English

https://rotavn.forumotion.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

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

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

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


ModernBB Favorited Background change Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1407
Reputation : 218
Language : English

https://rotavn.forumotion.com/

Back to top Go down

In progress Re: ModernBB Favorited Background change

Post by SpyroDragon 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
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

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


ModernBB Favorited Background change Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: ModernBB Favorited Background change

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

SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

Back to top

- Similar topics

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