horizontal line

Get help developing custom BBCodes or request one.
DWFII
Registered User
Posts: 386
Joined: Fri Oct 20, 2006 2:17 am
Name: D.W.
Contact:

horizontal line

Post by DWFII »

Is there any way to make the hr code (horizontal line) produce a thicker, heavier line?
Last edited by Oyabun1 on Thu Apr 09, 2015 11:33 am, edited 1 time in total.
DWFII
In the High Desert of Central Oregon
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: horizontal line

Post by Oyabun1 »

                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
DWFII
Registered User
Posts: 386
Joined: Fri Oct 20, 2006 2:17 am
Name: D.W.
Contact:

Re: horizontal line

Post by DWFII »

Thanks...

But this did not help. The link you provided takes me to a google search for the html code.

I am using phpBB 3.0.11 and have a bbcode in my editing window that is supposed to add a horizontal line.

It does but the line is faint and thin.

I want to be able to either change it on the fly by specifying the thickness in pixels and/or the colour.

Is this not possible?
DWFII
In the High Desert of Central Oregon
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: horizontal line

Post by Oyabun1 »

You made no mention of a custom BBCode in your original post, nor of changing the colour.

The HTML replacement for a custom BBCode is just HTML/CSS, so I don't see how a search for the required attributes doesn't help.

Since a HR BBCode is not standard we have no idea what the code of the particular one you are using is.

(Moved to Custom BBCode Development and Requests.)
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
DWFII
Registered User
Posts: 386
Joined: Fri Oct 20, 2006 2:17 am
Name: D.W.
Contact:

Re: horizontal line

Post by DWFII »

I apologize for not specifying bbcode.

Looking at this editing window as opposed to the one on my forum i don't even see an hr formatting tag.

I'm more or less clueless on most of this and got to thinking about your original link to the html code. Is it possible to use html to add a horizontal in in a post?

OK...just answered my own question...apparently not.At least not in 3.0.11.

Anyway to add a custom bbcode?
DWFII
In the High Desert of Central Oregon
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: horizontal line

Post by Oyabun1 »

If you have the HR tag the BBCode has already been added to your board.

Help Yourself

For information about adding a custom BBCode the Knowledge Base would be a good place to start.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
DWFII
Registered User
Posts: 386
Joined: Fri Oct 20, 2006 2:17 am
Name: D.W.
Contact:

Re: horizontal line

Post by DWFII »

I've done a search here a number of times looking for information on "bbcode hr" and "bbcode horizontal line" and so forth. Even done that search 'net wide.

I have not found anything that T recognize as being specific to what I asking.

I am ready to accept that it may be because i am not knowledgeable enough or savvy enough to recognize it.

I have to apologize then for being so silly as to ask for help or support from the support forums.

Dang me.
DWFII
In the High Desert of Central Oregon
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53413
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: horizontal line

Post by Brf »

You say you already have an HR bbcode.

Just change that bbcode to include whatever size tag you want. That Google search above will give you plenty of examples of the syntax.
DWFII
Registered User
Posts: 386
Joined: Fri Oct 20, 2006 2:17 am
Name: D.W.
Contact:

Re: horizontal line

Post by DWFII »

Brf wrote:You say you already have an HR bbcode.

Just change that bbcode to include whatever size tag you want. That Google search above will give you plenty of examples of the syntax.
My hr code is [hr][/hr]...that makes a thin faint horizontal line just as it is. I have searched google and I have tried a number of things from "size" to "hr=5". Call me a dummy, but I'm just not seeing anything that works or that I recognize will work.

Nothing seems to work.

Can you please just post a link to one of those likely candidates ...I'll give it a try, I promise. And be grateful too.
DWFII
In the High Desert of Central Oregon
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: horizontal line

Post by david63 »

I believe that you will have to create some css definitions for the hr tag
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
m.sevrus.m
Registered User
Posts: 11
Joined: Mon Dec 29, 2014 7:20 am
Location: IRAN
Name: Milad Elyasi
Contact:

Re: horizontal line

Post by m.sevrus.m »

if you have alredy set your bbcode just add this code into your html bbcode codes :

Code: Select all

<hr style="height:1px;border:none;;" />
Phpbb and Magento,I blieve that they are the best on each fields!
my website : http://imdt.ir
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53413
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: horizontal line

Post by Brf »

DWFII wrote:My hr code is [hr][/hr]
That is the bbcode. You need to change its html replacement.
david63 wrote:I believe that you will have to create some css definitions for the hr tag
That is unnecessary if the style tag is added inline to the hr.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: horizontal line

Post by Lumpy Burgertushie »

show us the exact html replacement you are using for your custom hr bbcode.

then we can give you exact css to add to that code.

for instance, is you want a hr to be 5pixels wide/thick and black your html replacement would be like this:


Code: Select all

<hr style="height:5px;border:none;color:#000;background-color:#000;" />
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
DWFII
Registered User
Posts: 386
Joined: Fri Oct 20, 2006 2:17 am
Name: D.W.
Contact:

Re: horizontal line

Post by DWFII »

Lumpy Burgertushie wrote:show us the exact html replacement you are using for your custom hr bbcode.

then we can give you exact css to add to that code.

for instance, is you want a hr to be 5pixels wide/thick and black your html replacement would be like this:


Code: Select all

<hr style="height:5px;border:none;color:#000;background-color:#000;" />
robert
All I got in the html replacement box is <hr />

I had someone set up this forum for me. I am the webmaster for a 501 c-3 non-profit and was using Discus (perl based) software. So everything had to be converted to php. The old software used a lot of html formatting I assume that the guy who converted for me added the [hr] code and the html equivalent when he set up this forum.

I have done a little with custom bbcodes in phpBB (actually maybe only one or two) But I really don't know how to write a css definition. I think the custom code I have installed I picked up the html replacement text here on this forum.

So I would appreciate any help you can offer.
DWFII
In the High Desert of Central Oregon
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: horizontal line

Post by Lumpy Burgertushie »

replace what is in your html replacement box with what I posted above and see if it works for you.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Post Reply

Return to “Custom BBCode Development and Requests”