Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions


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



#11   01-30-2007, 06:36 PM
SirAdrian will become famous soon enough Join Date: Nov 2006 Posts: 42


Sorry I just noticed a typo that a few of you have quoted. I updated post #9

missed the array( ... ) around the list of items.
Quote   |  



#12   02-01-2007, 01:52 PM
Posts: n/a


Quote:
Originally Posted by SirAdrian View Post
Code:
<if condition="!in_array(THIS_SCRIPT, array('arcade', 'adv_index'))"> ... </if>
You just helped me out a bunch.
Quote   |  



#13   02-01-2007, 08:54 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 11,018 Location: Topeka, KS


okay, I have another question for the pros

a client has a side column and would like to she the 5 newest post to show.

is there an easy variable or code that we can place in the column and it'll show the 5 newest post ?

thank you

-Brandon
--------------------
Brandon Sheley / 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.
Be sure to check out our latest Contest for a Custom Style.


Add our Facebook Blog, Group and LinkedIn group.. Thanks
Stay up to date by installing our Tool Bar
Quote   |  



#14   02-19-2007, 04:08 AM
Posts: n/a


RSS would be the best way to do that wouldn't it?

I need a conditional that will only show an item on the first page of the thread.
Quote   |  



#15   03-06-2007, 08:22 AM
Posts: n/a


I have a stupied question where do i put these codes you guys are posting for example the ones in the very first post?
Quote   |  



#16   03-10-2007, 05:53 PM
Posts: n/a


Quote:
Originally Posted by devil dawgg View Post
I have a stupied question where do i put these codes you guys are posting for example the ones in the very first post?
In any template where you want them to take effect.
Quote   |  



#17   04-05-2007, 04:55 AM
Posts: n/a


nice list brent! It's a good collection which I have been referring to lately. Thanks.
Quote   |  



#18   04-05-2007, 04:59 PM
Posts: n/a


Thanks and welcome to the site
Quote   |  



#19   04-08-2007, 02:55 PM
Posts: n/a


hi,
found a link for this article via vb.org
really needed this thanks!

I tried using:

<if condition="$post['usergroupid'] != 25">
<img src="yadayada.com/12.gif">
</if>

To display a banner to everyone except that user group.

However even that usergroup sees the banner.

I think the problem is being caused because it is not a primary usergroup, but an additional one.

Can someone kindly guide me how I would use an IF statement to check if the person is a member of the additional usergroup or not?

Thanks
aku
Quote   |  



#20   04-16-2007, 03:16 AM
RedMatrix is a jewel in the rough Join Date: Sep 2006 Posts: 201 Location: Texas


Maybe try the long way:

HTML Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3, 4, 5, 6, 7, ... 24, 26, 27 .. N)"> <img src="yadayada.com/12.gif"> </if>
Just put all the other user group numbers that you use except 25 and see if that works.
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


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

LinkBacks (?)
LinkBack to this Thread: http://forum.vbulletinsetup.com/f18/vbulletin-template-conditionals-list-2185.html
Posted By For Type Date
Lista Condizionali dei Template vBulletin - vB-Italy.org This thread Refback 08-08-2008 08:41 AM
Only show for X usergroup - vBulletin.org Forum This thread Refback 09-23-2007 01:47 PM
ads on forum pages - vBulletin Modifications This thread Refback 09-08-2007 03:02 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
vBulletin Variables List Brandon vBulletin Questions 16 09-11-2008 12:27 PM
P2P Directory and Top-List AjEe vBulletin SEO Tips and SEO Questions 0 04-06-2007 12:33 AM
Members List joh vBulletin Questions 2 03-30-2007 05:03 PM
Members List dprundle vBulletin Questions 4 09-12-2006 01:09 PM


All times are GMT -6. The time now is 08:24 PM.

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