Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Matthias70] tricky else if statement

Quote Reply
Re: [Matthias70] tricky else if statement In reply to
haha I love the way you always address posts to me directly Tongue

Try this:

Code:
<%if Jump_Clicks > 500 and user_links_anzahl < 2%>
Message: Add a new link

<%elsif user_reviews_anzahl < 3 and Jump_Clicks > 500%>

Message: Write a review

<%elsif user_reviews_anzahl > 2%>
<%get_last_additions_for_user($user.Username)%>
<%if days_since_last_review > 365%>
Message: Write a review
<%endif%>

<%elsif user_links_anzahl > 1%>

<%get_last_additions_for_user($user.Username)%>
<%if days_since_last_link > 365%>
Message: Add a new link
<%endif%>

<%endif%>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread tricky else if statement Matthias70 4506 Aug 27, 2010, 8:30 AM
Thread Re: [Matthias70] tricky else if statement
Andy 4406 Aug 27, 2010, 8:33 AM
Thread Re: [Andy] tricky else if statement
Matthias70 4411 Aug 27, 2010, 8:37 AM
Thread Re: [Matthias70] tricky else if statement
Andy 4400 Aug 27, 2010, 8:41 AM
Thread Re: [Andy] tricky else if statement
Matthias70 4428 Aug 27, 2010, 9:17 AM
Post Re: [Matthias70] tricky else if statement
Andy 4377 Aug 27, 2010, 10:34 AM