![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
IF registered user has posted X comments THEN do something ELSE do this
I have this nifty piece of code that does this IF user is Logged-in THEN 'do something' ELSE 'do this' <?php if (is_user_logged_in()): ?> DO SOMETHING</p> <?php else: ?> DO THIS</p> <?php endif; ?> But I'd like to know how to adapt this so that the DO SOMETHING also has a condition that the user must have posted at least X comments. Thanks
__________________
I love my son more than anything else in the world. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Posted comments | sjbuckley | General Discussion | 7 | 11-11-2009 12:39 AM |
| Display Posted By, Date, # Comments, Article Views | thebred | General Discussion | 2 | 07-06-2009 07:25 PM |
| Posted By/ Leave a Comment / Comments Off / Date / Time | financeguy | General Discussion | 1 | 05-13-2009 10:51 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us