![]() |
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"> |
You could try
Code:
<if condition="$post['isfirstshown']"> |
Ha Ha your awesome! It's working great and I got the exact look I was going for thank you man.
|
All times are GMT. The time now is 03:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|