![]() |
What is if conditional code for first showtread page?
I want to showing a text only in every first showtread page
what is the right code for it guys? here is for anyone that answering this :up: |
So only the very first post? Try this:
HTML Code:
<if condition="$post['postid']==$thread['firstpostid']"> |
Quote:
but every first thread what is the code guys |
Take a look here, you may find it on this list:
http://forum.vbulletinsetup.com/f18/...list-2185.html |
Quote:
The code I posted is for the first post in a thread. |
Quote:
for example this is the first showthread page i want to showing the text here under Quick reply https://vborg.vbsupport.ru/showthread.php?t=223371 and this is the second showthread page and the rest showthread pages, i dont want to showing it there https://vborg.vbsupport.ru/showthrea...=223371&page=2 Quote:
|
upp still dont get the answer, this looks like easy and basic, but i still dont have the answer
|
Have you tried anything with the $page variable? like
HTML Code:
<if condition="$page <= 1"> |
i had try these but no one works
<if condition="$page <= 1"> or <if condition="$page == 1"> and this code just for postbit https://vborg.vbsupport.ru/showthrea...ght=first+page , i need to put the code in showthread template below quick reply any other code guys? is there any code for this, i am confuse i had try search other threads too |
Try the opposite... if $page is greater than or equal to 2, don't do something, else do it. And, like I said, page may be a $_GET variable, I really don't know.
|
All times are GMT. The time now is 08:33 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:
|