XENFORO Resource Download Limits Information code like on XFLEAKS.COM

X

XFLEAKS

Guest
2019-12-31-18-25-warez.xfleaks.com.png2019-12-31-18-24-xfleaks.com.png

If your trying to get this on your forum, below is how you do it.

1. Go to your admin panel.
2. Go to templates, pick the template that your currently using, as you will have to add this code for all templates each.
3. Your going to want to edit the xfrm_resource_view template. See picture below.

2019-12-31-18-24-xfleaks.com (1).png

You will want to enter the following code in to the template.

Code:
<!-- This is place to write the code for XFRM information-->
            <div align="center">
            <div class="button"><b><i class="fas fa-smile"></i> You must click like in order to download this resource.
            <div class="button"><i class="fas fa-download"></i> You can download 20 resources per day.
                </div></b></div></div>
            <!-- End of placement for code for XFRM Information -->
You can configure the styling from the EXTRA.LESS template

Now add the following code to your extra.less template for styling

Code:
.button {
  background-color: #008CBA; /* Light Blue */
  border-radius: 12px;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}
Any questions? Please ask away.
 
  • Like
Reactions: Stebiella