The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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: |
#2
|
||||
|
||||
![]()
So only the very first post? Try this:
HTML Code:
<if condition="$post['postid']==$thread['firstpostid']"> stuff only for first post </if> |
#3
|
||||
|
||||
![]() Quote:
but every first thread what is the code guys |
#4
|
|||
|
|||
![]()
Take a look here, you may find it on this list:
http://forum.vbulletinsetup.com/f18/...list-2185.html |
#5
|
||||
|
||||
![]() Quote:
The code I posted is for the first post in a thread. |
#6
|
||||
|
||||
![]() 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:
|
#7
|
||||
|
||||
![]()
upp still dont get the answer, this looks like easy and basic, but i still dont have the answer
|
#8
|
||||
|
||||
![]()
Have you tried anything with the $page variable? like
HTML Code:
<if condition="$page <= 1"> stuff </if> |
#9
|
||||
|
||||
![]()
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 |
#10
|
||||
|
||||
![]()
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.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|