collapse

* User Info

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

* Who's Online

  • Dot Guests: 41
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • Mstcool: Oh, ok, Sinan
    August 25, 2014, 10:19:15 PM
  • ArsenArsen: When i make them
    August 19, 2014, 12:20:20 AM
  • ArsenArsen: I had some mod ideas, i will put them.
    August 19, 2014, 12:19:45 AM
  • [SiNaN]: We could, but it's there as a reminder of some kind, that we should fill it in, somehow.
    August 18, 2014, 09:57:14 PM
  • Mstcool: Y don't u guys remove the customization section since it has no files?
    August 17, 2014, 10:27:28 PM
  • ArsenArsen: Ok, Great!
    August 15, 2014, 03:13:18 PM
  • [SiNaN]: We have the translators' names listed in the downloads area.
    August 15, 2014, 03:05:39 PM
  • ArsenArsen: Never Mind, i wont, noone did.
    August 15, 2014, 02:22:32 PM
  • ArsenArsen: Can i put mz name on translation
    August 15, 2014, 02:21:06 PM
  • [SiNaN]: You can only change your forum profile options once you have 5 posts. I have made an exception for Translator group though, so you should be able to do it now.
    August 13, 2014, 03:32:17 PM
  • ArsenArsen: Cant find where to change avatar
    August 13, 2014, 03:12:38 PM
  • ArsenArsen: Ok
    August 11, 2014, 05:17:55 AM
  • Underdog: there is a documentation link on your top-right
    August 10, 2014, 08:48:45 PM
  • ArsenArsen: What to use for docs? This is NoT SP support question.
    August 10, 2014, 02:55:55 PM
  • Ron-KK4HGY: Hello all!
    August 06, 2014, 03:22:50 PM
  • USFA: tada
    August 04, 2014, 09:49:45 PM
  • BCNPalomino: lol, that search doe :O
    July 18, 2014, 09:26:27 AM
  • RohailPro23: hi all
    July 18, 2014, 08:09:00 AM
  • samborabora: sorry, thought this was search, lol
    June 29, 2014, 04:45:12 AM
  • samborabora: sp_embed_image
    June 29, 2014, 04:45:01 AM

* Team Blog

* Recent Posts

Problems uninstalling by Rickardm
[Today at 12:45:55 AM]


Re: "Custom Title Class" Not Working by oNLy1
[Yesterday at 11:52:52 AM]


Re: Staff list for selected membergroup by Pluh
[Yesterday at 10:42:39 AM]


Re: Staff list for selected membergroup by andy
[Yesterday at 08:10:32 AM]


Staff list for selected membergroup by Pluh
[Yesterday at 04:38:44 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: SimplePortal Shoutbox Color Selector  (Read 1383 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, 12: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, 12: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, 06: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.

Offline phantomm

  • Support
  • *
  • Posts: 379
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: SimplePortal Shoutbox Color Selector
« Reply #2 on: February 10, 2013, 02: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 :|

//edit:

And done :) http://simpleportal.net/index.php?topic=12337.0
« Last Edit: February 10, 2013, 03:33:46 AM by phantomm »