collapse collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 188
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: Shout box User name font color  (Read 9355 times)

0 Members and 1 Guest are viewing this topic.

Offline Ozzy Mozzy

  • Semi Newbie
  • *
  • Posts: 33
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Shout box User name font color
« on: June 12, 2012, 08:19:38 PM »
I have a lot of member that use the shout box, there user name font color is green and it can be hard to read the shout box. It’s hard to work out who wrote what etc.

Is there any way to change the user font color only for the shout box?

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shout box User name font color
« Reply #1 on: June 13, 2012, 10:55:33 PM »
You need to edit your css...

Offline Ozzy Mozzy

  • Semi Newbie
  • *
  • Posts: 33
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Shout box User name font color
« Reply #2 on: June 14, 2012, 12:04:35 AM »
If only i knew how.....

Has it been done before? i was hoping there was an edit already done or maybe someone could do one if it's not to hard to do of course.

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shout box User name font color
« Reply #3 on: June 14, 2012, 12:37:50 AM »
It's not as hard as you think...

Do you use a C-Panel?

Offline phantomm

  • Translator
  • *
  • Posts: 406
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: None
  • Elkarte Version: 1.0.5
Re: Shout box User name font color
« Reply #4 on: June 14, 2012, 02:07:55 AM »
If he edits CSS file then he changes all username colors. and if i understand correctly, he wants to change color for specific user/group.

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shout box User name font color
« Reply #5 on: June 14, 2012, 02:25:27 AM »
If he edits CSS file then he changes all username colors. and if i understand correctly, he wants to change color for specific user/group.

True, Do you know if there is a CSS code for the BG of the shoutbox if so one chould change that instead of trying to change the text color.

Offline phantomm

  • Translator
  • *
  • Posts: 406
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: None
  • Elkarte Version: 1.0.5
Re: Shout box User name font color
« Reply #6 on: June 14, 2012, 02:42:15 AM »
right... didn't think about it :)

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shout box User name font color
« Reply #7 on: June 14, 2012, 10:32:16 AM »
You use firebug for firefox, or else IE F12 Developers tools to explore for facts about CSS on the page, right?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Ozzy Mozzy

  • Semi Newbie
  • *
  • Posts: 33
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Shout box User name font color
« Reply #8 on: June 14, 2012, 05:06:36 PM »
If he edits CSS file then he changes all username colors. and if i understand correctly, he wants to change color for specific user/group.

True, Do you know if there is a CSS code for the BG of the shoutbox if so one chould change that instead of trying to change the text color.

Even if i found the CSS your talking about i wouldnt know what to change. Has anyone done this Mod before?

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shout box User name font color
« Reply #9 on: June 14, 2012, 10:10:51 PM »

Even if i found the CSS your talking about i wouldnt know what to change. Has anyone done this Mod before?

I was messing around with my Shoutbox and you can change it a bit differently than logging into your C-Panel.

Go to Admin and click on blocks and then click on modify your shoutbox block.

From there go down to where it says  "Style Options"

and where it says body class you can change the color of you shoutbox.

I'd click on the box that says no body and see what that does first and foremost.

after you click on the type of body you want your shoutbox to have then make sure you save it by clicking on the EDIT Button.

If you don't get the results you want from there let us know and we'll help you on the CSS part.

Offline Ozzy Mozzy

  • Semi Newbie
  • *
  • Posts: 33
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Shout box User name font color
« Reply #10 on: June 14, 2012, 10:16:09 PM »

Even if i found the CSS your talking about i wouldnt know what to change. Has anyone done this Mod before?

I was messing around with my Shoutbox and you can change it a bit differently than logging into your C-Panel.

Go to Admin and click on blocks and then click on modify your shoutbox block.

From there go down to where it says  "Style Options"

and where it says body class you can change the color of you shoutbox.

I'd click on the box that says no body and see what that does first and foremost.

after you click on the type of body you want your shoutbox to have then make sure you save it by clicking on the EDIT Button.

If you don't get the results you want from there let us know and we'll help you on the CSS part.

How does doing this change the color of the user names?

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shout box User name font color
« Reply #11 on: June 14, 2012, 10:19:56 PM »
it doesn't

It changes the back ground so you can see the user color better.

Offline Ozzy Mozzy

  • Semi Newbie
  • *
  • Posts: 33
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Shout box User name font color
« Reply #12 on: June 14, 2012, 10:27:34 PM »
I thought there might have been a trick in that somewhere.....i know how to change that color.

What i want to be able to do is change the members user name in the shout box only, so that it helps seperate each comment, at the moment it's hard because everyone has the same color user name.

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shout box User name font color
« Reply #13 on: June 14, 2012, 10:45:23 PM »
OK..I see what you're getting at.

I'm sure it can be done...

alternating CSS comes to mind right away like you have on the index CSS.

Anyone know of a way to alternate the shoutbox?

Not a bad idea...OZZY

Alternating the USER Color might be tricking but would you settle for different colored text and bg that alternates?

Offline Ozzy Mozzy

  • Semi Newbie
  • *
  • Posts: 33
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Shout box User name font color
« Reply #14 on: June 14, 2012, 11:09:13 PM »
I thought it would be tricky….

Yes even if the text was different that would work, if the user can pick a color and the shout box can remember that color for that person that would work, they of course would have to choose the color again if they closed the page and re-opened it.

The only possible issue is the color’s themselves, if the shout box background is white then only dark colors would be readable etc.

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shout box User name font color
« Reply #15 on: June 14, 2012, 11:23:27 PM »
Ozzy see how the color changes from post to post but the text color stays the same...

That would do the trick as well I bet.

What if you could use both
 
Code: [Select]
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body
{
color: gold;
background-color: #444444;
}
.windowbg2
{
color: gold;
background-color: #333333;
}

Offline Ozzy Mozzy

  • Semi Newbie
  • *
  • Posts: 33
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Shout box User name font color
« Reply #16 on: June 14, 2012, 11:43:22 PM »
That looks good, where do I put that code?

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shout box User name font color
« Reply #17 on: June 14, 2012, 11:53:26 PM »
Ozzy...in the mean time lets find some SB's that one can download on SMF thats not part of a portal.

Then we can look how to install in manually...

That way we can see what files are changed and understand more on how to change the features you're looking for.

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shout box User name font color
« Reply #18 on: June 14, 2012, 11:59:56 PM »
That looks good, where do I put that code?

Thats the part I don't know and would like to see where we could apply this to the SB.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shout box User name font color
« Reply #19 on: June 15, 2012, 10:40:16 AM »
If you want to, you can change the php code that outputs the shoutbox html.
then, you can use alternating backgrounds.  instead of windowbg and windowbg2, you could even invent new classes -- sp_shoutboxbg and sp_shoutboxbg2.  You would then stick the special styling features into the portal.css (and remember to save it elsewhere because it would disappear the next time you installed simpleportal).
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

 

SimplePortal 2.3.7 © 2008-2021, SimplePortal