The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vB codes
i'm trying to get a little more control over my vB tags than is allowed in the admin interface. for example, i'm trying to remove the <br /> tag that automatically gets added after certain tags such as {quote} and {list}. (it's not in my HTML, so i'm assuming the script adds it in somewhere).
are there hacks for this or can anyone point me to the right files? thank you. -scott |
#2
|
||||
|
||||
admin/functions.php
function bbcodeparse2 |
#3
|
|||
|
|||
thanks, Stephan.
only thing is... i've been searching around for quite awhile, and unless i'm missing something, the culprit (the "<br />" tag that gets added before and after certain vBcode replacements) isn't actually added on those functions. for example, it's pretty clear that the createlists() function is what handles the {list} tag. but there's no <br /> anywhere in there. and when i look at the HTML in one of my posts, there is definitely a <br /> directly before and after the list HTML. any ideas? thanks again. -scott |
#4
|
|||
|
|||
Search for nl2br.
|
#5
|
|||
|
|||
thanks. i feel like i'm on a treasure hunt here. lol.
well, i commented out the call to nl2br line hoping that it would simply remove the <br>'s around the vB Code HTML... it did. unfortunately, it also ensures that no <br>'s get put anywhere in the post... not a good thing. so, it seems that accomplishing what i'm looking for is going to take a lot more understanding of the code... unless somebody happens to know a quick trick here. this is obviously nothing something dire, but it would be nice to have the formatting look the way i want. thanks again. -scott |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|