collapse

* User Info

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

* Who's Online

  • Dot Guests: 62
  • Dot Hidden: 0
  • Dot Users: 2
  • Dot Users Online:

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • 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
  • stanyy: Was it merely correcting the mistake made in 2.0.7 or is 2.0.8 actually faster than 2.0.6?
    June 20, 2014, 07:51:21 AM
  • AngelinaBelle: Smf 2.0.8 has been released. -- uses less memory than 2.0.7 [link]
    June 19, 2014, 03:46:47 PM
  • iSamp: [link]
    June 14, 2014, 06:42:38 AM
  • iSamp: SiNaN Plz Help
    June 14, 2014, 06:42:12 AM
  • iSamp: I need Help Plz Help Me I posted a Thing In English Support Plz read it
    June 14, 2014, 06:21:15 AM
  • Cyberkid: hey!
    June 12, 2014, 02:29:42 AM
  • AngelinaBelle: Hello!
    June 03, 2014, 01:06:04 PM
  • kal: also, hello. :)
    June 03, 2014, 08:36:43 AM
  • kal: I haven't been here in a couple months I don't think.
    June 03, 2014, 08:36:35 AM
  • AngelinaBelle: Welcome back, David
    June 02, 2014, 06:18:46 AM
  • David: I've missed this place!
    June 02, 2014, 01:04:01 AM

* Team Blog

* Recent Posts

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 1362 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.

Online phantomm

  • Translator
  • *
  • Posts: 362
  • 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 »