The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Horizontal Rule and List Custom BB Code
Can someone please show me the correct way to create a BB code that will allow a horizontal rule in the post? I created one, but when you don't need text between the tags it gets ignored and you don't need text inside a horizontal rule.
Also, I want to add a space between list items in the generic[list] tag. I don't like when the list items are smashed together. |
#2
|
||||
|
||||
As you noted, you can't have bbcode that doesn't take an option. So, you may want to just use a Replacement Variable or str_replace on the message text to replace **hr** (or whatever text you want) with the horizontal rule.
|
#3
|
||||
|
||||
Hello?
Found this thread....been looking everywhere for how to do this. How would a total vBulletin Village Idiot do this? I have seen other boards that use BB Code [hr] in lieu of HTML of <hr /> or <hr>. I have prowled and prowled the net looking for how to do this on VB. Warmest Regards, Alisa |
#4
|
||||
|
||||
Here's a section in the manual about Replacement Variables - Replacement Variable Manager
|
#5
|
||||
|
||||
One final question on this topic if I may...?
There is a short horizontal rule line between the post body and the area where signatures appear. Do you know where I would go to change that line to full board width (i.e. 100%)? Regards and Thank You, Alisa |
#6
|
|||
|
|||
The following code is done by replacement variables. Go to style manager in your admincp, on the drop down box of your parent most style, choose 'Replacement Variables' Select 'Add New Replacement Variable'
Search for Text: --- Replacement: Code:
<hr> Just cant work it out and ive Search all over lol |
#7
|
||||
|
||||
That line is from either the postbit or the postbit_legacy template, whichever you are using. You may go in and edit that template and replace that line (it is an actual line, "__________________<br />") with an <hr> or whatever you like.
|
#8
|
||||
|
||||
Thanks!
Looks lots better now! And thanks to Animemike for actually fixing! |
#9
|
||||
|
||||
Kevin,
Re: your PM... see the attached screen shot. I hope this helps, if it doesn't, PM me again and I'll see what I can do! Regards, Alisa |
#10
|
||||
|
||||
Thank you, Alisa!
Would you mind sharing your button image? I'll save it and upload it to my own source if it's OK with you. Thanks again! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|