* User Info

Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 149
  • Dot Hidden: 1
  • Dot Users: 4
  • Dot Users Online:

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • phantomm: and from what I see only patch is broken, full install package is fine
    Today at 03:44:44 pm
  • phantomm: they say it for over 3 weeks now..
    Today at 03:43:52 pm
  • aegersz: SMF say that bug fix 2.0.13 is coming soon ...
    October 19, 2016, 06:46:12 pm
  • Chen Zhen: check that thread at a later date as that file is not a final fix
    October 10, 2016, 03:09:18 pm
  • [DFg]DJF-1975: Thanks for the shoutbox fix file!
    October 10, 2016, 09:17:19 am
  • * Burke Knight Lurks
    October 02, 2016, 09:17:45 pm
  • [DFg]DJF-1975: Not to shoutbox spam, but I use this portal daily and I wanted to say thank you. It's been too long since I last thanked you all!
    October 02, 2016, 11:52:06 am
  • [DFg]DJF-1975: Is this project or for that matter anyone here still active?
    October 02, 2016, 11:48:04 am
  • ♦ Ninja ZX-10RR ♦: Hey :)
    September 30, 2016, 11:34:37 pm
  • aegersz: Hello SimplePortal people !
    September 30, 2016, 05:10:53 am
  • Jade Elizabeth: It's GREAT to see you too Sinan!! :D
    July 06, 2016, 02:33:26 am
  • [SiNaN]: Hey Jade! It's great to see you around! Jade!
    July 03, 2016, 06:51:31 am
  • Jade Elizabeth: Oops, sorry I mean HEY SINAN! ;)
    July 01, 2016, 11:07:13 am
  • Jade Elizabeth: Hey Sinan!! :D
    July 01, 2016, 11:06:59 am
  • [SiNaN]: But you shouldn't wait for a security issue and drop by more often. :D
    June 27, 2016, 04:32:18 pm
  • [SiNaN]: Hey ディン1031! It's great to see you around!
    June 27, 2016, 04:31:56 pm
  • ディン1031: Uh to long ago that i was last time here xD
    June 27, 2016, 02:03:08 pm
  • Schnuffeltier: :D
    June 24, 2016, 05:22:34 am
    June 24, 2016, 12:57:05 am

* Recent Posts

Re: Re: PHP Time block by emanuele
[Yesterday at 12:49:02 pm]

Code blocks font size by emanuele
[Yesterday at 05:34:29 am]

Re: Re: PHP Time block by FireDitto
[October 19, 2016, 09:48:21 pm]

Re: Re: PHP Time block by emanuele
[October 19, 2016, 02:36:20 pm]

Re: PHP Time block by FireDitto
[October 19, 2016, 12:25:49 pm]

Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Author Topic: SimplePortal Shoutbox Color Selector  (Read 2109 times)

0 Members and 1 Guest are viewing this topic.

Offline jzservices

  • Newbie
  • Posts: 2
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
SimplePortal Shoutbox Color Selector
« on: February 01, 2013, 01:36:13 am »
Hi, I have tried searching through code and the web for something to start with.   I am trying to make a graphical or drop down menu style color selector.

I dont care how it works just something.  Either within the Styling (AA graphic) add 5-10 more graphics for text color that once clicked will automatically insert the code
Code: [Select]
ex. [color=red] curser flashing here for input [/color]
Or make a new javascript drop down button to the right of the Styling graphic.

One of these two options is preferred, but if not, to just create a drop down menu for text color next to the styling graphic.

I really am at loss to where to start as all i can find is something that loads the bbc code into an array and thats the closest I can find.  All the other files seem to only deal with the smileys.  Can anyone point me in the correct direction or help me out with some code to start.  And if you do the option with the graphics, please let me know where I would need to place the additional color text images.

Here is an example of something that would be acceptable.  I would prefer the drop down but I still would love this.

Thank you everyone in this community!  From the NotD gaming forum.
« Last Edit: February 01, 2013, 01:40:46 am by jzservices »

Offline xKroniK13x

  • Semi Newbie
  • *
  • Posts: 21
  • Gender: Male
  • Coding is Fun
    • The Quad Connection
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: SimplePortal Shoutbox Color Selector
« Reply #1 on: February 09, 2013, 07:30:10 pm »
I need this as well, but it doesnt seem like it should be terribly hard to code. Once I get everything all set up, I'll see what I can do.
Here to help who I can.

Online phantomm

  • Translator
  • *
  • Posts: 404
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: None
  • SP Version: 2.4 (Elkarte)
  • Elkarte Version: 1.0.5
Re: SimplePortal Shoutbox Color Selector
« Reply #2 on: February 10, 2013, 03:31:53 am »
I almost figured it out... just can't get value from selected option Now I have to find out how to check if color BBCode is allowed in Shoutbox :|


And done :)
« Last Edit: February 10, 2013, 04:33:46 am by phantomm »