Hi Andy,
I'm using this code in detail.html.
At the moment it is possible that more messages are displayed at the same time.
But I don't want to have more than one message.
Is there a way (must be something with elseif!) to show only the first right message and not the others.
Message: Add a new link
<%endif%>
<%if user_reviews_anzahl < 3 and Jump_Clicks > 500%>
Message: Write a review
<%endif%>
<%if user_reviews_anzahl > 2%>
<%get_last_additions_for_user($user.Username)%>
<%if days_since_last_review > 365%>
Message: Write a review
<%endif%>
<%endif%>
<%if user_links_anzahl > 1%>
<%get_last_additions_for_user($user.Username)%>
<%if days_since_last_link > 365%>
Message: Add a new link
<%endif%>
<%endif%>
Thanks
Matthias
gpaed.de
I'm using this code in detail.html.
At the moment it is possible that more messages are displayed at the same time.
But I don't want to have more than one message.
Is there a way (must be something with elseif!) to show only the first right message and not the others.
Code:
<%if Jump_Clicks > 500 and user_links_anzahl < 2%> Message: Add a new link
<%endif%>
<%if user_reviews_anzahl < 3 and Jump_Clicks > 500%>
Message: Write a review
<%endif%>
<%if user_reviews_anzahl > 2%>
<%get_last_additions_for_user($user.Username)%>
<%if days_since_last_review > 365%>
Message: Write a review
<%endif%>
<%endif%>
<%if user_links_anzahl > 1%>
<%get_last_additions_for_user($user.Username)%>
<%if days_since_last_link > 365%>
Message: Add a new link
<%endif%>
<%endif%>
Thanks
Matthias
gpaed.de