collapse

* User Info

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

* Who's Online

  • Dot Guests: 64
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • CaLy: thanks and have a nice weekend all!
    February 21, 2015, 06:11:36 am
  • CaLy: ah u are right eliana, i will do that with custom block :)
    February 21, 2015, 06:11:28 am
  • Eliana Tamerin: You mean a custom block with HTML code? It's built into SP.
    February 20, 2015, 02:20:12 am
  • CaLy: what package are u using to display adsense banner at right of user info (in the middle) ? Thanks in advance!
    February 18, 2015, 06:34:47 am
  • Teetee: [link]
    February 10, 2015, 11:23:39 am
  • 420connect: No longer newbie > posted.
    February 06, 2015, 09:04:41 am
  • 420connect: I can't reply to "?topic=13762" but have a possible solution.
    February 05, 2015, 07:17:48 pm
  • CaLy: hi all! I know it´s late but anyway happy 2015 to all the community!
    January 18, 2015, 04:43:46 am
  • ribwhulp: hoi
    January 17, 2015, 07:55:06 am
  • ♦ Ninja ZX-10RR ♦: Right above the Shoutbox there is a "Who's online" block, just so you know ;)
    January 11, 2015, 03:28:04 pm
  • BlackHeartStudios: Anyone online?
    January 09, 2015, 10:11:24 pm
  • Elliott: Hello
    January 08, 2015, 11:50:47 pm
  • mecane: test
    January 08, 2015, 09:38:30 am
  • ♦ Ninja ZX-10RR ♦: Oh hai!
    January 07, 2015, 07:14:01 pm
  • Elliott: Hello my friends
    January 07, 2015, 03:14:07 pm
  • Capion: ha! I found it ;)
    January 04, 2015, 04:58:45 pm
  • Capion: hmm.. what shoutbox mod is this?
    January 04, 2015, 04:51:21 pm
  • SamElanius: Thank you for info Chen Zhen. It worked
    December 28, 2014, 12:27:23 pm
  • Chen Zhen: new members are not permitted to post links. for those having an issue please make your posts without any working links. thank you.
    December 27, 2014, 09:15:16 pm
  • sub5: BoardNews for Frontpage block is the problem, cant get it right, need your help please
    December 27, 2014, 06:00:09 pm

* Recent Posts

Re: dynamically adding blocks by masterzonk
[Yesterday at 10:26:41 am]


Re: dynamically adding blocks by ♦ Ninja ZX-10RR ♦
[February 25, 2015, 04:51:44 pm]


Re: Board News cant display more than 5 post by sub5
[February 25, 2015, 01:14:39 pm]


dynamically adding blocks by masterzonk
[February 25, 2015, 11:35:27 am]


Re: Board News cant display more than 5 post by andy
[February 25, 2015, 07:47:35 am]

Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

Author Topic: SimplePortal Shoutbox Color Selector  (Read 1638 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: 393
  • 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 »