The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Break if there is quote first help
I want to add a break at the top of a post only if someone has started their message and then adds a quote later in the post. But if they list the quote first or don't do a quote anywhere in the message, I don't want a break at the beginning of the message. How can this be done?
|
#2
|
||||
|
||||
could you select the data via a query checking it for "[quote]" and use that for a conditional?
|
#3
|
||||
|
||||
Quote:
How about a CSS solution ... a little hard-code goes a long way ... A couple of options include assigning a class="breakabove" to the Quote element (whatever that is) or if it has a class already, then you will need to hack the BBCODE for Quote to add the CSS you need ... In either case, the CSS is: for the class solution Code:
.breakabove { margin-top: 1em; } Code:
style="margin-top: 1em;" Any questions, just ask |
#4
|
||||
|
||||
you can check if the first six characters is [quote
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|