- Compatible XF Versions
- 2.0 , 2.1 , 2.2
- Visible Branding
- No
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)
(Example of Options page)
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;
}