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: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: WOW> I'm so impressed at the developer involvement here at SP. Great stuff. Thank you!
    Yesterday at 11:42:03 PM
  • [SiNaN]: Feel free to customize it to your liking, however, this is the best we can currently offer.
    Yesterday at 08:19:04 AM
  • xeon365: ie where username profile link.. its just getting the membergroup color directly and adding it as inline style.. would be better if it instead just added the membergroup as a css class that can be styled by the theme
    October 29, 2014, 11:00:10 PM
  • xeon365: omg why isn't membergroup got proper css class.. not dumping inline css style
    October 29, 2014, 10:58:03 PM
  • BurkeKnight: [SiNaN] old friend. Great Job. I can't wait to see what you add next. :)
    October 13, 2014, 04:13:53 PM
  • [SiNaN]: Thank you everyone, for the kind words and support. For those who are interested, check out our Donators Program: [link]
    October 13, 2014, 11:57:44 AM
  • {OCS}MasterSeal: Glad to be here, glad to use your amazing portal THank you!
    October 13, 2014, 11:33:35 AM
  • Mike Vail: I'd like to donate to you for all your wonderful work. Do you guys have a place on your site to do that? THANKS FOR EVERYTHING!
    October 13, 2014, 11:12:16 AM
  • Mstcool: Yay, an update! :D
    October 12, 2014, 01:39:17 AM
  • stanyy: You're right. I have no idea how I got to the "Archived" index. It looks too similar.
    October 03, 2014, 11:38:32 AM
  • [SiNaN]: SimplePortal 2.3.5 package is listed in Stable SimplePortal Packages category in Downloads area.
    October 03, 2014, 06:08:01 AM
  • stanyy: SP 2.3.5 is not available in the downloads section?? The big download link on the homepage points newcomers to the downloads section who then download 2.3.4. Not good.
    October 03, 2014, 03:54:21 AM
  • Mulwa: if simpleportal team could make some of the blocks like articles to display photos just like how ebay does, it would be very great for shopping
    September 27, 2014, 08:24:14 AM
  • Mulwa: everybody is busy, no help for us this time
    September 26, 2014, 05:00:07 PM
  • [SiNaN]: That shows how simple but powerful SimplePortal is!
    September 26, 2014, 06:56:41 AM
  • oNLy1: thought the 'Blocks In Blocks' was going to be complicated - easy peasy - and was exactly what my site needed - ty
    September 20, 2014, 01:13:44 PM
  • P flex: Xup guys
    September 18, 2014, 08:29:06 AM
  • P flex: Xup
    September 18, 2014, 08:28:38 AM
  • Mstcool: :p *
    September 13, 2014, 07:55:49 PM
  • Mstcool: so when is a new version coming out? :o
    September 13, 2014, 07:55:45 PM

* Recent Posts

Re: Slavic portal with modified Simpleportal by velorooms
[Today at 12:51:13 PM]


Re: SimplePortal 2.3.6 Released! by velorooms
[Today at 12:45:57 PM]


Disable the "Home" made by Simpleportal? by Seiji
[Today at 12:44:45 PM]


Re: Random member block? by Bullet
[Yesterday at 05:57:59 PM]


Random member block? by Tarista
[Yesterday at 12:17:13 PM]

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

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