The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Line break after first post...
I was wondering what I could use in the postbit template to make a line break between the first post and the rest of the posts?
I tried <if $post[postcount]==1> <p> </if> But it inserted a paragraph break in between every post instead of just between post #1 and post #2 like I wanted. Any suggestions? |
#2
|
|||
|
|||
line break=<br />
--------------- Added [DATE]1244690956[/DATE] at [TIME]1244690956[/TIME] --------------- You should be able to use a first post on all pages mod, and add a <br /> at the end of it so it would only be the first post with the break. |
#3
|
||||
|
||||
Perhaps:
HTML Code:
<if condition="$post[postcount] == '1'"> <br /> </if> |
#4
|
|||
|
|||
Good One!
|
#5
|
||||
|
||||
You could also add some code to the ad location template for after the first post.
|
#6
|
||||
|
||||
Quote:
I want the first post to be a news article and all of the following posts to be "Comments" on the news article. I'd like to count the replies and have it say something like "13 Comments" In between the first post and the rest of the posts. I've taken what you've given me here a step further and changed up the template for the replies to give the first post a different look than the rest of them. You can see what I mean here if you like. http://forums.projectfanboy.com/DC-C...-teaser-t3551/ |
#7
|
||||
|
||||
There are article mods out there. You may want to look at their code to see how they do it.
|
#8
|
||||
|
||||
Took me a while but I figured it out, thanks.
|
#9
|
||||
|
||||
That's nice! :up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|