The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[INDENT][/INDENT]

5 posters

Go down

[INDENT][/INDENT] Empty [INDENT][/INDENT]

Post by gulfcoasttundras November 11th 2009, 4:59 pm

I have a member asking me on my site if there is a code to indents text that is typed into the body of a post. I know vBulletin has this feature and was wondering if we have it also.

I did do a search for that code on here and only came up with 1 result back from 2008 but it the content was unclear to me. I'm more of a WYSIWYG kinda admin!...lol

any help would be MUCHO appreciated.

Thanks
Ben
avatar
gulfcoasttundras
Forumember

Male Posts : 41
Reputation : 0
Language : English
Location : Houston, Texas

Back to top Go down

[INDENT][/INDENT] Empty Re: [INDENT][/INDENT]

Post by ankillien November 11th 2009, 5:18 pm

Hello,

I don't think Forumotion has this feature. vBulletine forums have ability to create their custom BBCodes so they can make any kind of BBCode they need but Forumotion doesn't provide this feature so we can't use [indent].
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

[INDENT][/INDENT] Empty Re: [INDENT][/INDENT]

Post by gulfcoasttundras November 11th 2009, 6:14 pm

thanks for the quick reply!!!
avatar
gulfcoasttundras
Forumember

Male Posts : 41
Reputation : 0
Language : English
Location : Houston, Texas

Back to top Go down

[INDENT][/INDENT] Empty Re: [INDENT][/INDENT]

Post by Guest November 11th 2009, 6:34 pm

Both phpBB3 and IPB2/Invision have the ability to add custom BBCode tags. Here's how it's done on a stock phpBB3 board:

http://www.phpbb.com/kb/article/adding-custom-bbcodes-in-phpbb3

I'm sure this is one of many, many features not available to admins because it isn't supported in phpBB2, "the browser written in the last millennium"... Mad
avatar
Guest
Guest


Back to top Go down

[INDENT][/INDENT] Empty Re: [INDENT][/INDENT]

Post by musket November 11th 2009, 6:53 pm

A good suggestion for the suggestion section,would be to open up this feature where
possible in the forumotion boards :wouhou:
musket
musket
Helper
Helper

Male Posts : 1130
Reputation : 131
Language : English
Location : Northern Ireland

http://hemmingsdaman2.forumotion.co.uk/

Back to top Go down

[INDENT][/INDENT] Empty Re: [INDENT][/INDENT]

Post by Sanket November 11th 2009, 7:22 pm

Since this thread appears to be solved, I will lock this thread and mark it as solved.
[INDENT][/INDENT] 2j4t5a8

Sanket Smile
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

[INDENT][/INDENT] Empty Re: [INDENT][/INDENT]

Post by Jalokim November 11th 2009, 8:37 pm

unlocked by the CSS master.


Wait one second boys.

you don't have to have a new bbcode to create an indent!

you can use a simple hidden table with CSS properties to create an indent


example:

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam.
Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis.
Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean

as you can see the maecenas part is indented. you can even add an image in the indent
and here is how!


Code:
[table border="0"][td style="padding-left: 30px;"] Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. [/td][/table]Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing.

Never underestimate the power of forumotion.

I hope this is the indent you where looking for

This can be created into BBcode, but I still haven't cracked creating a bbcode from scratch
Jalokim
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

Back to top Go down

[INDENT][/INDENT] Empty Re: [INDENT][/INDENT]

Post by gulfcoasttundras November 11th 2009, 10:25 pm

Jalokim wrote:unlocked by the CSS master.


Wait one second boys.

you don't have to have a new bbcode to create an indent!

you can use a simple hidden table with CSS properties to create an indent


example:

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam.
Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis.
Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean

as you can see the maecenas part is indented. you can even add an image in the indent
and here is how!


Code:
[table border="0"][td style="padding-left: 30px;"] Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. [/td][/table]Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing.

Never underestimate the power of forumotion.

I hope this is the indent you where looking for

This can be created into BBcode, but I still haven't cracked creating a bbcode from scratch

thank you very much... I'll give it a try!
avatar
gulfcoasttundras
Forumember

Male Posts : 41
Reputation : 0
Language : English
Location : Houston, Texas

Back to top Go down

[INDENT][/INDENT] Empty Re: [INDENT][/INDENT]

Post by Guest November 11th 2009, 10:42 pm

If using current BBCode is an option, it would be a LOT simpler for members to use [LIST][/LIST] to indent text. On a phpBB3 board, one could set up CSS as follows:

Code:
.content ul {display: inline; list-style-type: none;}
.content ul li {display: inline; padding-left: 30px;}
and then use [LIST][*]indented text[/LIST] for the indented text.

Now, doing this removes the default functionality of the [LIST][/LIST] BBCode tag. But you still have the LIST= method to create an ordered list, should a list be required.

(FYI, one can add BBCode tags to any board here on forumotion. The method is slow and requires HTML to be enabled, but it works. You need to hook the onsubmit event of the post form to put the proper HTML into the post, and then replace the HTML on edit/preview so the custom BBCode is displayed for the user...)
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum