The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

[INDENT][/INDENT]

View previous topic View next topic Go down

[INDENT][/INDENT]

Post by gulfcoasttundras on 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

gulfcoasttundras
Forumember

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

Back to top Go down

Re: [INDENT][/INDENT]

Post by ankillien on 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].
avatar
ankillien
Energetic

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

http://www.webartzforum.com/

Back to top Go down

Re: [INDENT][/INDENT]

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

thanks for the quick reply!!!

gulfcoasttundras
Forumember

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

Back to top Go down

Re: [INDENT][/INDENT]

Post by Guest on 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

Guest
Guest


Back to top Go down

Re: [INDENT][/INDENT]

Post by musket on 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:
avatar
musket
Helper
Helper

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

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

Back to top Go down

Re: [INDENT][/INDENT]

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

Since this thread appears to be solved, I will lock this thread and mark it as solved.


Sanket Smile
avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Re: [INDENT][/INDENT]

Post by Jalokim on 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
avatar
Jalokim
Energetic

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

http://jalokimgraphics.pl

Back to top Go down

Re: [INDENT][/INDENT]

Post by gulfcoasttundras on 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!

gulfcoasttundras
Forumember

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

Back to top Go down

Re: [INDENT][/INDENT]

Post by Guest on 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...)

Guest
Guest


Back to top Go down

View previous topic View next topic Back to top


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