vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=243735

template condition to show something only for the first post of a topic
by NeXuM
01 Jun 2010 18:38

I just want to display something inside the FIRST POSt of a topic

right now i am using this condition:
Quote:

<if condition="$post[postcount] % $vboptions[maxposts] == 1">
Hello
</if>
It will write "Hello" for the first post of a topic, but it will also write it on first post of page2, and first post of page3, etc....

I want to display it only for the first post of page1 !!

how can i do this??

thanks !!

jamesyfx 01 Jun 2010 19:13


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This should do the trick.

NeXuM 03 Jun 2010 09:27

thanks !

jamesyfx 03 Jun 2010 09:45

You're welcome. :] Happy to help! Yadda yadda. :3


All times are GMT. The time now is 03:05.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.