Compatible XF Versions
2.0 , 2.1 , 2.2
Visible Branding
No
pic001.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


(Example of Options page)

345addc44e4f4.jpg


Features:
  • Cron Entry will rotate posts every 10 minutes.
  • All phrases start with featuredposts_ for your convenience.
Installation:
  1. Download Andy-FeaturedPosts-1.6.zip and unzip it.
  2. Copy the src/addons/Andy/FeaturedPosts directory to your server.
  3. From the Admin Control Panel Install the add-on.
Creating the widget:
  1. Admin Control Panel -> Appearance -> Widgets
  2. Widget definition = Featured posts
  3. Widget key = featured_posts
  4. Title = (leave blank)
  5. Display in positions = Forum list: Above nodes
  6. Click Save.
User group permissions:

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;
}
  • Like
Reactions: Aram and neolgy
Author
XenForo
Views
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from XenForo

Latest updates

  1. See description

    Featured posts v2.3 changes: Updated code to prevent possible null condition error.
Back
Top Bottom