Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43294
Total Topics: 7523
Most Online Today: 118
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 111
Total: 111

Author Topic: [Mod] Color Bar V2.0  (Read 6398 times)

0 Members and 1 Guest are viewing this topic.

Offline karlbenson

  • Member
  • *
  • Posts: 14
    • View Profile
    • Off-Topic
[Mod] Color Bar V2.0
« on: January 14, 2007, 08:53:43 am »
Color Bar V2.0
SMF Version: 1.1.1, 1.1 Final, 1.1 RC3, 1.1 RC2

Description:This modification adds a cool clickable color bar to the post area which can insert [color] and (new in V2) [bgcolor] tags
      



If you have the Enhanced Quick Reply mod by Kirby installed (http://custom.simplemachines.org/mods/index.php?mod=63) this mod will ALSO install itself on the Quick Reply area. (Kirbys mod needs to be installed first if you want it to appear on quick reply).  You DO NOT have to have Kirby's mod installed, it will simply install the rest of the colorbar and ignore trying to install it on the quick reply area.

It also removes the now redundant drop down color bar.
      
- Install Info -      
Tested and works on 1.1.1, 1.1 FINAL, 1.1 RC3, 1.1 RC2. It may not work on older versions as there have been changes to javascript bbcode since.
      
This mod installs onto the Default theme and any theme which uses the default themes Post.template (and Display.template for quick reply, ONLY if Kirbys mod is installed).
For any skin which has its own Post.template.php, it will need to be manually installed (or it wont appear)
Tested in browsers IE5.5-7, Opera, Netscape, Mozilla & Safari
      
- New in 2.0 -
New Features:
:: Adds support for [bgcolor][/bgcolor] (Highlight) tags
:: Switch between inserting Color & Background-Color using a button to switch
:: Intelligent colorbar to disable all/part depending on whether [color] and/or [bgcolor] tags are enabled
Bug fixes:
:: Black/White Bar Of Death (Caused by css file stuck in cache and not updated upon install)
:: Junk code
:: Images - so images dont have to be copied into each skin folder, use from default skin automatically
:: Changed all spellings of Colour to Color
Tweaks:
:: Reorganised colors to be greyscale(white to black) then in rainbow order
:: More colors to make it look smoother & made a bit wider
:: More alt/title/description info tags to help users a bit more
      
- Customising It -
:: The color bar should fit in with almost any skin without any need for customizing, but should you want to
Customizing the CSS:
:: Use the following css classes: .colorbar, .colorcell, .colorbox, .colorboxspacer
Customise the JS:
:: To change the no. of shades per color, alter the cpm variable in the color.js file (default 26) (not recommended)

Link to Mod
« Last Edit: January 14, 2007, 09:07:01 am by karlbenson »

Offline qubbah

  • Member
  • *
  • Posts: 6
    • View Profile
Re: [Mod] Color Bar V2.0
« Reply #1 on: January 18, 2007, 11:24:04 am »
For any skin which has its own Post.template.php, it will need to be manually installed (or it wont appear)
Tested in browsers IE5.5-7, Opera, Netscape, Mozilla & Safari


what must i do/add in post template

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2148 Views
Last post February 25, 2013, 06:55:49 am
by SMFHacks
4 Replies
5029 Views
Last post September 20, 2014, 12:57:03 am
by shuban
6 Replies
4943 Views
Last post June 18, 2015, 01:55:20 am
by Empire
0 Replies
3057 Views
Last post March 13, 2016, 10:04:19 pm
by SMFHacks
2 Replies
2765 Views
Last post June 30, 2017, 08:43:08 pm
by RC Storick

+- Recent Topics

Please Help! by fmofmpls
Today at 01:47:09 pm

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal