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.

Add options, appearing at the top of topics to change the background color, text, and codes

+4
YoshiGM
Ape
poesia-verses
كونان2000
8 posters

Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Add options, appearing at the top of topics to change the background color, text, and codes

Post by كونان2000 May 1st 2024, 10:35 am

Hello everyone!
Add options, appearing at the top of topics to change the background color, text, and codes,
12 colors + transparent color + return button to default mode

Add options, appearing at the top of topics to change the background color, text, and codes Y3iBdr2
https://i.postimg.cc/G3B9J7Dt/Animation.gif
-----------------------------------

I find that in many forums there is a choice of colors
The user can choose his favorite color.
Therefore, there is no point in writing a new color program

That's why I wanted to create a special color program for posts and not for the entire forum Add options, appearing at the top of topics to change the background color, text, and codes Icon_biggrin
-----



Find the next part in viewtopic_body template
Code:
{POLL_DISPLAY}
replace it with
Code:
{POLL_DISPLAY}
<div class="page-color"></div>
Save and publish Add options, appearing at the top of topics to change the background color, text, and codes 644535217


Installing the JavaScript
__________________________________________________________________________

Title * : as you like
Placement : In topics
AwesomeBB:

PunBB:
----------------------------------------------------


You can add, remove, or change a specific color
Through the following line in JavaScript
text color
Code:
<div class="konan2000" data-color="#F44336"><div class="konan2000-content" style="background:#F44336"></div></div>

posts background
Code:
 <div class="conan2000" data-color="#F44336"><div class="conan2000-post" style="background:#F44336"></div></div>

code background
Code:
 <div class="conan20000" data-color="#F44336"><div class="conan20000-post" style="background:#F44336"></div></div>


I hope you like it Shake

This tutorial is applicable to the following forum version : AwesomeBB - punbb
I will work on other versions upon request

_____________________________________________________________________
banana
 Add options, appearing at the top of topics to change the background color, text, and codes 26ab  Add options, appearing at the top of topics to change the background color, text, and codes 1f534  Add options, appearing at the top of topics to change the background color, text, and codes 1f535


Last edited by كونان2000 on May 2nd 2024, 6:16 am; edited 5 times in total
كونان2000
كونان2000
Forumember

Male Posts : 205
Reputation : 93
Language : Arabic

https://anime.forumperso.com/

skouliki, SarkZKalie, TonnyKamper, poesia-verses and King Baldwing IV like this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by poesia-verses May 1st 2024, 12:32 pm

does this color apply to all topics at once? or to one topic

good job
poesia-verses
poesia-verses
Forumember

Male Posts : 529
Reputation : 21
Language : and small english

https://stihi-podval.forumotion.com/

كونان2000 likes this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by Ape May 1st 2024, 2:36 pm

poesia-verses wrote:does this color apply to all topics at once? or to one topic

good job

@poesia-verses
Please don't use bold or color and keep to the default text. This is reserved for the staff for moderation.
I will not warn you again. 2 days ban now in-place.
Please read our forum rules: ESF General Rules


Add options, appearing at the top of topics to change the background color, text, and codes Left1212Add options, appearing at the top of topics to change the background color, text, and codes Center11Add options, appearing at the top of topics to change the background color, text, and codes Right112
Add options, appearing at the top of topics to change the background color, text, and codes Ape_b110
Add options, appearing at the top of topics to change the background color, text, and codes Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19160
Reputation : 1995
Language : fluent in dork / mumbojumbo & English haha

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

كونان2000 likes this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by YoshiGM May 1st 2024, 4:18 pm

This can be useful, if a member wants to read the topic in any other color that is not the defult by the administrator.

Good job :p
YoshiGM
YoshiGM
Active Poster

Male Posts : 1502
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

كونان2000 likes this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by TonnyKamper May 1st 2024, 7:27 pm

Very nice job !
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1050
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

كونان2000 likes this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by skouliki May 1st 2024, 8:38 pm

Very nice
If you have time i would like to apply it in the punbb version
Thank you for your time
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

TonnyKamper and كونان2000 like this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by كونان2000 May 2nd 2024, 6:01 am

@poesia-verses @YoshiGM @TonnyKamper @skouliki @Ape
I am very happy with all your kind comments
thank you all Add options, appearing at the top of topics to change the background color, text, and codes 45133
------

poesia-verses wrote:does this color apply to all topics at once? or to one topic
good job
hi @poesia-verses
The code contains cookies and works on all posts Dawa

skouliki wrote: Very nice
If you have time i would like to apply it in the punbb version
Thank you for your time
hi @skouliki
My first post has been edited

Now it works on punbb version Very good

Add options, appearing at the top of topics to change the background color, text, and codes JYbzAfw
https://i.imgur.com/jYbzAfw.gif
كونان2000
كونان2000
Forumember

Male Posts : 205
Reputation : 93
Language : Arabic

https://anime.forumperso.com/

skouliki and TonnyKamper like this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by skouliki May 2nd 2024, 9:17 am

much appreciated

since i can not send you a pm i will post it here
the code works ok.. in my forum https://iconskouliki.forumgreek.com/ the text change includes also these areas  ) rank title, personal rank and others as you see in my image below
can the code exclude these areas ? obviously, the issue is not your code is the modifications my theme has 



Last edited by skouliki on May 16th 2024, 1:11 pm; edited 1 time in total
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

TonnyKamper likes this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by كونان2000 May 2nd 2024, 8:44 pm

hello @skouliki

Your forum is a little difficult because it is not visible to guests Razz


I'm not sure it will work well blackeye

Find the next part in JavaScript
Code:
font

replace it with
Code:
.pun .entry-content font,font:not(.user-basic-info font, strong font)

Add options, appearing at the top of topics to change the background color, text, and codes 30398916
https://i.servimg.com/u/f30/20/35/61/89/30398916.png
كونان2000
كونان2000
Forumember

Male Posts : 205
Reputation : 93
Language : Arabic

https://anime.forumperso.com/

TonnyKamper and poesia-verses like this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by skouliki May 2nd 2024, 10:35 pm

Thank you 🙏 i will try it when i will return from vacation
Have a nice day
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

TonnyKamper likes this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by Obscure May 2nd 2024, 11:14 pm

I really like this idea! I may try this out! Thank you for sharing!
Obscure
Obscure
Forumember

Female Posts : 48
Reputation : 10
Language : English
Location : USA

http://imgtest.forumotion.com/

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by كونان2000 May 3rd 2024, 6:23 pm

skouliki wrote:Thank you 🙏 i will try it when i will return from vacation
Have a nice day
You're welcome! Wishing you safe travels and a wonderful vacation Add options, appearing at the top of topics to change the background color, text, and codes 1f60a

Obscure wrote:I really like this idea! I may try this out! Thank you for sharing!
That's great to hear! Thanks ^^

كونان2000
كونان2000
Forumember

Male Posts : 205
Reputation : 93
Language : Arabic

https://anime.forumperso.com/

skouliki likes this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by poesia-verses May 3rd 2024, 8:14 pm

@كونان2000

Thank you. Now, if you could choose a color separately for each theme, then I would consider putting it on. and one more thing: so that when choosing a background color, the text color I need will be substituted. fabulous



-------------------------------------------------------------------------


oh, I guessed it! other user will have default colors


To make it visible to all users, you need to “throw” some code into the first post. I have a code on the forum, a background for messages with a picture. there's the code in the first post. well, in general, it’s labor-intensive and probably not that necessary
poesia-verses
poesia-verses
Forumember

Male Posts : 529
Reputation : 21
Language : and small english

https://stihi-podval.forumotion.com/

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by كونان2000 May 6th 2024, 7:11 pm

hi @poesia-verses ,

Humm
I didn't understand your mwii message
But if you want each topic to have its own color
You can do this by deleting code cookies

Shake


Last edited by كونان2000 on May 7th 2024, 4:38 am; edited 1 time in total
كونان2000
كونان2000
Forumember

Male Posts : 205
Reputation : 93
Language : Arabic

https://anime.forumperso.com/

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by Mihai May 6th 2024, 9:35 pm

كونان2000 wrote:hi @poesia-verses ,

Humm
je n'ai pas compris ton message mwii
Mais si vous voulez que chaque topic ait sa propre couleur
Vous pouvez le faire en supprimant les cookies de code

Shake
Where is the english language?
Mihai
Mihai
Forumember

Male Posts : 857
Reputation : 37
Language : Romanian, English
Location : Bucharest, Romania

https://allprojects.forumotion.com/

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by كونان2000 May 7th 2024, 4:46 am

Oops,   I was just talking to Pinguino In the French support forum  Add options, appearing at the top of topics to change the background color, text, and codes 1-56
----
I forgot that I am in the English support forum  Laughing
Sorry, it has been corrected  


Thank you, Mihai
كونان2000
كونان2000
Forumember

Male Posts : 205
Reputation : 93
Language : Arabic

https://anime.forumperso.com/

TonnyKamper and poesia-verses like this post

Back to top Go down

Add options, appearing at the top of topics to change the background color, text, and codes Empty Re: Add options, appearing at the top of topics to change the background color, text, and codes

Post by skouliki Yesterday at 1:16 pm

@كونان2000 it worked very well thank you and sorry for the late reply
skouliki
skouliki
Manager
Manager

Female Posts : 15180
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