The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
using an if condition on the first post of each page.
Hey guys, i am working on a nice little template mod but i need your guys help. I need to target the first post on each page so say if a new page starts every 15 posts it would target post numbers 1, 16, 31,46 etc. basicly the first thread on each page in when viewing a thread. I found the code below but it only works on the first post of the entire thread. Do you guys know how i can accomplish this task?
Code:
<if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid'] AND $thread['prefixid'] == news"> |
#2
|
|||
|
|||
You could try
Code:
<if condition="$post['isfirstshown']"> </if> |
#3
|
|||
|
|||
Ha Ha your awesome! It's working great and I got the exact look I was going for thank you man.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|