![]() |
Somebody knows the if conditions of
private message and postbit legacy?
because I have add something in my signature for postbit (topics). But it dissapear also in private messages. So how can I give it a if condition? |
You could just check to see if the variable has a value like...
Code:
<if condition="$somevar"> What is your current code? An alternative would be to check the script name like: Code:
<if condition="in_array(THIS_SCRIPT, array('showthread', 'showpost'))"> |
Maybe you don`t understand me,
but what I have, is a image that have to show up in topics. so when somebody post, it have to show up. But I wanna in a private message there showing up a other picture. example: Quote:
|
Then use the last condition I posted above...
Code:
<if condition="in_array(THIS_SCRIPT, array('showthread', 'showpost'))"> |
Works perfect, thank you very much. ;)
--------------- Added [DATE]1211717966[/DATE] at [TIME]1211717966[/TIME] --------------- Opserty, I found a little problem with those conditions. If i post a quick reply in a topic, it doesn`t dissapear. When I refresh my page, then it dissapears. I think showpost is the problem, because a quick reply have the same condition isn`t it? |
All times are GMT. The time now is 05:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|