Additional Info
Type
Package ID
karlbenson:justifybbcode
First Created
October 03, 2007, 08:56:44 PM
Last Updated
January 18, 2008, 11:52:32 PM

Justify BBCode v1.0

Add [justify][/justify] bbcode to justify text.
Compatible With 1.1.4
Latest version v1.0
Downloads 2,371
Reviews 0
Rating 0/5
Subscribers 1
License (View License)
Author(s)
Screenshots
This mod has been taken over by NIBOGO
The link for which is http://custom.simplemachines.org/mods/index.php?mod=1166



JUSTIFY BBCODE v1.0
By Karl Benson



Introduction
A very simple modification for the use of
bbcode to justify text.

Features
o BBCode Button to Insert
bbcode.

Installation
Simply install the package to install this modification on the Default theme.

This mod will work for both SMF 1.1.x versions
and SMF 2.0.x versions (the beta of which is currently available to Charter Members).

Manual Edit
A Manual edit will be required for non-default themes to add the BBCode button to the Post.template.php (IF the theme has a custom Post.template.php)
FIND
'left' => array('code' => 'left',
ADD BEFORE
'justify' => array('code' => 'justify', 'before' => '[justify]', 'after' => '[/justify]', 'description' => $txt['justify']),

You will also need to place a copy of the justify.gif in each of your themes bbc image folders (eg Themes/{themename}/images/bbc)

If your using a language different than the ones supported this mod (listed below), then you will need to add the following to the Modifications.{language}.php for each theme (The language folder can be found eg Themes/{themename}/languages/)
If you are using utf8, you will also need to add it to Modifications.{language}-utf8.php

FIND
?>
ADD BEFORE (and translate as necessary the language strings)
$txt['justify'] = 'Justify';

Languages
o Supports
- English/English-utf8
- English_British/English_British-utf8
I welcome translations for any languages which SMF Supports.
Please translate the following and post it in the support topic for the mod. Thank You
$txt['justify'] = 'Justify';

Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)

Changelog
1.0 - 3rd October 2007
o Initial Release per request
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: