![]() |
$post['isfirstshown'] doesn't exist? Alternative?
I'm trying to loop things on every page of a thread, but for whatever reason vBulletin hasn't included "$post['isfirstshown']"?? $post['islastshown'] works just fine, so what's the deal?
Anyway, just thought I'd ask what would be the easiest way to emulate "isfirstshown"? Whether it be a plugin that calculates every multiple of the "Posts per page" # + 1 (i.e. 1, 16, 31, 46, 61...) and inserts the code into postcounts that equal those numbers, or actually modifying the vBulletin code to create a real "isfirstshown". I guess it would help if I were at my PC.. then I could just search through to see how they've done the "islastshown" code. :) ---------------------------------- Edit: Sigh.. I already found my answer: Code:
<if condition="$post[postcount] % $vboptions[maxposts] == 1"> |
it looks like:
<if condition="$post['isfirstshown']"> does work now. |
All times are GMT. The time now is 08:47 AM. |
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:
|