:erm: errrmmm... hi
how about showing something here to a thread starter but not to his first post....is there any conditional on this please? appreciate any help thanks and best regards... :p |
Is there anything that I can pull the date of the last post of a thread?
$thread['lastpostdate'] or something like that. I'm trying to see if the last post date is older than 90 days and if so - output a custom phrase. Thanks. |
I'm trying to use a conditional to color code certain forums in the What's New and Search Results.
In search_threadbit I've tried the following, with no success (only the else shows for threads in these forums too.) Code:
<vb:if condition="in_array($foruminfo[forumid],array(26,29,56,25,27))"> I read here about assigning a variable to a template, so tried creating a new plugin to do so, but can't seem to make that work either. One question is that the template is labeled search_threadbit but that's not a choice in the add plugin screen for a hook location - only search_results_threabit which doesn't seem to exist as a template. So I'm a bit lost there. Any guidance? Many thanks. (new to VB4 today) |
Quote:
Is it possible to put the condition in the plugin? |
Quote:
|
Is there an "at least this" conditional?
I have this conditional to list just the blogs from a specific category: PHP Code:
Any help? =) |
Hi, how would you direct guests to login with <if condition>?
|
I have a custom template being called at the template hook in the postbit called postbit_userinfo_right_after_posts which works fine with static text from the template outside of conditionals, however when I try to use text in a conditional or pull a field such as {vb:var post.fieldX}, nothing happens...
I am able to call conditionals in the postbit template without any problems, just not in the custom template. The conditional and field I'm trying to use is:- Code:
<vb:if condition="$post['fieldX']"><dt>Field Title</dt> <dd>{vb:var post.fieldX}</dd></vb:if> |
What about a conditional to have an ad appear after every 2 posts? used to be easy in vb 3.8, not now! :( :(
|
Hello,
I would like to show different size ads for memvers and guests, someone can help me to see if this code it's correct? Quote:
|
All times are GMT. The time now is 12:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|