Useful & unique template conditionals
by19 Apr 2016
Rating: (2 votes - 5.00 average)
For some of the basic conditionals visit THIS THREAD
This list is meant for developers and are conditionals I have collected and made over the years.
If you have a unique / useful conditional to add please share and I will add it to the list.
If hot thread
if reply count is greater than or equal to number of posts to be considered a hot thread option and that option is greater than 0
if view count is greater than or equal to number of views to be considered a hot thread option and that option is greater than 0
If thread open
Show to guest if registration is on
if user posts less than 1
if these forum ids
if these scripts (page name)
if thread has prefix
if this page of this script
if last post over a year ago
If thread starter
if unread message
if user option show avatars
This one is just as an example (something to build from) but the jist of what it says is:
If can register OR option is on and is an admin
This is more of a Reference / backup for my snippets, but again feel free to add yours and I will add it to the list.
Last edited by Dr.CustUmz; 20 Apr 2016 at 19:55..
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|New To Site?||Need Help?|
All times are GMT. The time now is 14:57.