![pic001.jpg pic001.jpg](https://www.nulledfrm.com/data/attachments/61/61974-d2045e33fcf961e6f0d2f067c9a1d84d.jpg)
Displays a random post every 10 minutes.
The post is selected from a forum defined in the Options page. The first post of the thread is selected at random and will be displyed in the forum list or other widget location.
(Example of Featured posts)
![c88d075120463.jpg c88d075120463.jpg](https://www.nulledfrm.com/data/attachments/61/61975-bb91302e0c196c2a28f73a73c10f3d40.jpg)
(Example of Options page)
![345addc44e4f4.jpg 345addc44e4f4.jpg](https://www.nulledfrm.com/data/attachments/61/61976-cb697851cb3f0262634236e12d171e9e.jpg)
Features:
- Cron Entry will rotate posts every 10 minutes.
- All phrases start with featuredposts_ for your convenience.
- Download Andy-FeaturedPosts-1.6.zip and unzip it.
- Copy the src/addons/Andy/FeaturedPosts directory to your server.
- From the Admin Control Panel Install the add-on.
- Admin Control Panel -> Appearance -> Widgets
- Widget definition = Featured posts
- Widget key = featured_posts
- Title = (leave blank)
- Display in positions = Forum list: Above nodes
- Click Save.
Normally the following two groups are set to Yes:
Registered
Unregistered / Unconfirmed
Optional CSS:
If you would like to limit the size of images and media, you can add the following code to the andy_featuredposts.less templat
Code:
.bbImage {
max-width: 200px;
}
.bbMediaWrapper, .bbMediaJustifier {
width: 200px;
}
Compatible XF Versions 2.0 , 2.1 , 2.2