Xenforo 2 Top Poster Banner

Xenforo 2 Top Poster Banner 1.0.0

  • ATTENTION GUEST! If you'd like to join the website and get access to everything a webmaster needs then click HERE! Buy & sell content on the marketplace, get your website promoted for being active, high end articles, and more!
  • If you're having issues registering send us an email at: contact[at]seoraffle.com
Yesterday's Top Poster
1627691194021.png

1627691298858.png


1627797590535.png


1627875750068.png

The top poster every day will have their banner ad they set up themselves be posted on the top of the website for 24 hours. Easy to set up, and quick to install. Guaranteed to work with version v2.2.5 This has not been tested with any previous or post versions. This was not made by me, I paid to have it custom made for me and I own full rights to it. I've since decided to sell it to anyone else looking for something similar.


HOW TO INSTALL
Install the addon like any other addon, into your xenforo site.
Next, enable it, and the go to Setup > Advertising
Then create a new ad. Have the Position [Container breadcrum (top): Above]
Then, enter this into the HTML area:
<center>Yesterday's Top Poster</center> <xf:css> .winner_banner { display: block; margin-right: auto; margin-left: auto; } </xf:css> <xf:set var="$banner" value="{{$xf.app.finder('CypherForum\DailyBannerChange:PostWinner:PostWinner').fetchOne()}}" /> <xf:if is="$banner is not empty"> <xf:set var="$bannerUser" value="{{$xf.app.finder('XF:User').getUserById({$banner.user_id})}}" /> <div class="winner_banner"> <a href="{$bannerUser.Option.banner_link}" target="_blank"><img class="banner_image" src="{{$banner.getBannerUrl()}}" /></a> </div> </xf:if>
For display criteria select anyone you'd like to participate in. Click the check mark for advertisement is active. Then click create/save.
Author
Xyphien
Downloads
2
Type
Digital product
License duration
6 Months
Price
10.00 USD
Renewal price
5.00 USD
Views
174
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Xyphien

Latest reviews

Works on XF 2.7.7! Really good plug-in.