![]() |
Featured Album Pics from active members only
Hi
I use a module to show featured album pics on several of my site pages These are displayed at random However what I would like to do is show random pics but only from member that have been logged in during the last 30 days. That's not the same thing as pics that have been added in the last thirty days - the pics could be over a year old, as long as the members has been logged in recently they should be candidates for display The current SQL is Code:
$orderby = "rand(NOW())"; Thanks Rich |
I think you could do something like this:
Code:
$orderby = "rand(NOW())"; |
Working great! Thanks
|
All times are GMT. The time now is 06:16 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:
|