Go Back   vBulletin Setup > vBulletinSetup Information > Making Money Marketing vBulletin > vBulletin Promotion


Please Register to get full access to the forums.
Post New Thread  Reply



#21   08-29-2007, 02:21 AM
Send a message via MSN to Norman Norman will become famous soon enough Join Date: Feb 2007 Posts: 48 Location: [Italy]
Re: Is there an if for threads?


It works man! Thank you.
Now I need to put more than one thread Id. How can I do it?
Quote   |  



#22   08-29-2007, 10:19 AM
Michael Biddle is just really niceMichael Biddle is just really nice Join Date: Aug 2006 Posts: 1,563 Location: Anaheim, CA
Re: Is there an if for threads?


Which one worked?

it would be like:

HTML Code:
<if condition="in_array($_GET[t], x,y,z)">Code Here</if>
Let me know if this works for ya.
--------------------
Do NOT PM me for Support!
Michael Biddle / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Quote   |  



#23   08-29-2007, 11:40 AM
Send a message via MSN to Norman Norman will become famous soon enough Join Date: Feb 2007 Posts: 48 Location: [Italy]
Re: Is there an if for threads?


I have used the second one.
Now I've try this:

HTML Code:
<if condition="in_array($_GET[t],2197,2196)">Code
<else />
Code
</if>
But it say this:

Quote:

Warning: in_array(): Wrong datatype for second argument in /includes/adminfunctions_template.php(3537) : eval()'d code on line 91
Quote   |  



#24   08-30-2007, 03:48 PM
Michael Biddle is just really niceMichael Biddle is just really nice Join Date: Aug 2006 Posts: 1,563 Location: Anaheim, CA
Re: Is there an if for threads?


For now just have:

HTML Code:
<if condition="$_GET[t] == X OR $_GET[t] == Y OR $_GET[t] == Z">Code Here</if>
Not good for alot, but will work for now.
--------------------
Do NOT PM me for Support!
Michael Biddle / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Quote   |  



#25   08-30-2007, 10:26 PM
Michael Biddle is just really niceMichael Biddle is just really nice Join Date: Aug 2006 Posts: 1,563 Location: Anaheim, CA
Re: Is there an if for threads?


Ok, On my computer now.

Try:
HTML Code:
<if condition="in_array($_GET['t'], array(X,Y,Z)">Code Here</if>
Or:
HTML Code:
<if condition="in_array($_GET[t], array(X,Y,Z)">Code Here</if>
Those 2 *should* work
--------------------
Do NOT PM me for Support!
Michael Biddle / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Quote   |  



#26   08-31-2007, 06:31 AM
Send a message via MSN to Norman Norman will become famous soon enough Join Date: Feb 2007 Posts: 48 Location: [Italy]
Re: Is there an if for threads?


Quote:
Originally Posted by whitemike View Post
For now just have:

HTML Code:
<if condition="$_GET[t] == X OR $_GET[t] == Y OR $_GET[t] == Z">Code Here</if>
Not good for alot, but will work for now.
This work, thanks! But what does this means?

Quote:
Not good for alot, but will work for now.
Quote:
Originally Posted by whitemike View Post
Ok, On my computer now.

Try:
HTML Code:
<if condition="in_array($_GET['t'], array(X,Y,Z)">Code Here</if>
Or:
HTML Code:
<if condition="in_array($_GET[t], array(X,Y,Z)">Code Here</if>
Those 2 *should* work
These doesn't works.
Quote   |  



#27   08-31-2007, 08:12 AM
Michael Biddle is just really niceMichael Biddle is just really nice Join Date: Aug 2006 Posts: 1,563 Location: Anaheim, CA
Re: Is there an if for threads?


Quote:
Originally Posted by Norman View Post
This work, thanks! But what does this means?



These doesn't works.
We'll the first one just means that its not ideal lets say if you have 500 threadid's you want to use. But it will work for ya.
--------------------
Do NOT PM me for Support!
Michael Biddle / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Quote   |  



#28   08-31-2007, 12:00 PM
Send a message via MSN to Norman Norman will become famous soon enough Join Date: Feb 2007 Posts: 48 Location: [Italy]
Re: Is there an if for threads?


Ah, yes, I haven't thought at that! :p
Really thanks, Micheal.
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > Making Money Marketing vBulletin > vBulletin Promotion


Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble Posting Imperial General Discussion 6 04-20-2008 02:52 PM
Bought Two Books to help me learn PHP & MySQL Brent vBulletin Programming & Coding 3 03-13-2008 06:16 PM
Paid posting services. FightRice vBulletin Promotion 12 10-20-2007 06:22 AM
posting a pdf file on the forum Lampwick vBulletin Questions 4 10-08-2007 10:31 PM
RSS Posting question Rocket 442 vBulletin Questions 4 09-29-2007 08:40 AM


All times are GMT -6. The time now is 01:09 AM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory