![]() |
|
Article Options |
#391
|
||||
|
||||
Here is the vB3 conditional thread - http://www.vbulletin.org/forum/showthread.php?t=215032
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#392
|
||||
|
||||
u didn't get my question... what condition for vb4 to make some stuff showed only when post created by some usergroups members?
In postbit template:
What should I put instead of POST_MADE_BY_IDs=6,7 ???
__________________
WBR`s M.C. No members have liked this post.
|
#393
|
||||
|
||||
if used in the postbit templates, then:
<vb:if condition="is_member_of($post,6,7)"> stuff </vb:if>
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#394
|
|||
|
|||
Need a vBulletin 5 version on page manager
No members have liked this post.
|
#395
|
|||
|
|||
Where would I find the ''THIS_SCRIPT'' names for files? Is there any easy way? I'm trying to find some mod additions.
No members have liked this post.
|
#396
|
||||
|
||||
You should look in php files of vB installation.
For example, take a look in index.php, you'll find there (in the beginning) this:
The following members like this post: Lynne
|
#397
|
||||
|
||||
Originally Posted by Alan_SP
Would there be some sort of debug option to show it? Some mods have intricate designing that it's not as simple as looking in the given php file.
![]()
No members have liked this post.
|
#398
|
||||
|
||||
If it isn't in the file, then you can't use that condition; you would need to use another condition. Your best bet is to ask in the modification thread if there is a condition you may use.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#399
|
||||
|
||||
This thread is from 2010 and no one has updated the original post to reflect that $forum['forumid'] should actually read $foruminfo['forumid']. The list is technically inaccurate for noobs since the first variable doesn't work. It's been 4 years; could someone update it please? I sent a user over to fetch the conditional and he was telling me it wouldn't work. guess what, he was right!
__________________
Rich Swapped 2 sites to Xenforo since vBulletin left me hanging for so long with the vB4 - PHP5 compatibility issues. Running PHP 5.5 with Xenforo with NO issues. ![]() No members have liked this post.
|
#400
|
||||
|
||||
This conditional doesn't work anymore. Suggestions to fix it?
Show is every forum but one: Remember to change x Code:
No members have liked this post.
|
#401
|
||||
|
||||
Try $GLOBALS['forumid'] instead of $forum[forumid].
The following members like this post: Alan_SP
|
#402
|
|||
|
|||
You da man ozzy! Worked perfectly! Thanks!
The following members like this post: ozzy47
|
#403
|
||||
|
||||
Excellent, glad to hear.
![]() No members have liked this post.
|
#404
|
||||
|
||||
I have a conditionals question. I need to use two else statements within one area like this:
Obviously its wrong, but how do I only have a particular title in only one forum and another different title in just one other forum and then have the standard vb headers for all the rest using conditionals? Or am I'm doomed to have to figure out a plugin for this little feat? Any help would be great, thanks. No members have liked this post.
|
#405
|
||||
|
||||
I think this should work:
For future reference, here's the manual page: http://www.vbulletin.com/docs/html/m...e_conditionals |
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 10:39.