Register Chat Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Sep 2009, 11:30
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
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
__________________
I am SEO specialist and forum coordinator
Reply With Quote
  #2  
Old 16 Sep 2009, 16:44
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
So only the very first post? Try this:


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

__________________
Online vBulletin Manual
I'm not the search engine. I'll help with the search terms, but you need to do the search.
If you want help, be very specific. Just saying "it doesn't work" tells us nothing.
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
I'm more than willing to help in the forums, so do not PM me for help.
Reply With Quote
  #3  
Old 17 Sep 2009, 01:07
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
Originally Posted by Lynne View Post
So only the very first post? Try this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
no, not every first post

but every first thread

what is the code guys
__________________
I am SEO specialist and forum coordinator
Reply With Quote
  #4  
Old 17 Sep 2009, 01:19
Stormraven Stormraven is offline
 
Join Date: Sep 2008
Take a look here, you may find it on this list:

http://forum.vbulletinsetup.com/f18/...list-2185.html
Reply With Quote
  #5  
Old 17 Sep 2009, 01:41
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by basketmen View Post
no, not every first post

but every first thread

what is the code guys
First thread? What is a first thread?

The code I posted is for the first post in a thread.
__________________
Online vBulletin Manual
I'm not the search engine. I'll help with the search terms, but you need to do the search.
If you want help, be very specific. Just saying "it doesn't work" tells us nothing.
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
I'm more than willing to help in the forums, so do not PM me for help.
Reply With Quote
  #6  
Old 17 Sep 2009, 02:48
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
Originally Posted by Lynne View Post
First thread? What is a first thread?

The code I posted is for the first post in a thread.
ah sorry wrong type, i mean first showthread page

for example this is the first showthread page i want to showing the text here under Quick reply http://www.vbulletin.org/forum/showthread.php?t=223371

and this is the second showthread page and the rest showthread pages, i dont want to showing it there http://www.vbulletin.org/forum/showt...=223371&page=2




Take a look here, you may find it on this list:

http://forum.vbulletinsetup.com/f18/...list-2185.html
i had try looking there, but still cant find it
__________________
I am SEO specialist and forum coordinator
Reply With Quote
  #7  
Old 18 Sep 2009, 09:25
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
upp still dont get the answer, this looks like easy and basic, but i still dont have the answer
__________________
I am SEO specialist and forum coordinator
Reply With Quote
  #8  
Old 18 Sep 2009, 16:43
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Have you tried anything with the $page variable? like

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

It might be $_GET for the variable and they might have changed it in the php to be called something else, but that is probably what I'd look into.
__________________
Online vBulletin Manual
I'm not the search engine. I'll help with the search terms, but you need to do the search.
If you want help, be very specific. Just saying "it doesn't work" tells us nothing.
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
I'm more than willing to help in the forums, so do not PM me for help.
Reply With Quote
  #9  
Old 19 Sep 2009, 04:02
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
i had try these but no one works

<if condition="$page <= 1">


or


<if condition="$page == 1">




and this code just for postbit http://www.vbulletin.org/forum/showt...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
__________________
I am SEO specialist and forum coordinator
Reply With Quote
  #10  
Old 19 Sep 2009, 05:42
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Online vBulletin Manual
I'm not the search engine. I'll help with the search terms, but you need to do the search.
If you want help, be very specific. Just saying "it doesn't work" tells us nothing.
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
I'm more than willing to help in the forums, so do not PM me for help.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 18:47.

Layout Options | Width: Wide Color: