SimplePortal

Customization => Blocks and Modifications => Mod Requests => Topic started by: jzservices on February 01, 2013, 01:36:13 AM

Title: SimplePortal Shoutbox Color Selector
Post by: jzservices 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.
(http://i46.tinypic.com/aw5f0i.png)


Thank you everyone in this community!  From the NotD gaming forum.
Title: Re: SimplePortal Shoutbox Color Selector
Post by: xKroniK13x 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.
Title: Re: SimplePortal Shoutbox Color Selector
Post by: phantomm 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 :|

//edit:

And done :) http://simpleportal.net/index.php?topic=12337.0
SimplePortal 2.3.8 © 2008-2024, SimplePortal