XFileSharing Pro - Help regarding ads

Posts: 1
Joined: Jul 01, 2015 12:32 pm

Help regarding ads

#1 Postby iburn » Jul 01, 2015 12:40 pm

I need some help regarding implementation of ads on my site, I run dopefile.com.
I'm currently using my ads in this ad space:
What I want to do is this:
Please help me regarding this.
P.S I also have to disable ads to premium users, so make sure you guide me that way.
Thank you!

Posts: 101
Joined: Aug 23, 2014 2:59 pm

#2 Postby AnotherIdiot » Jul 08, 2015 6:05 am

Firstly ask your ad provider to send you 2 different codes, one code will be the download button and the other the play now button.

From there use firebug (a firefox add-on) to find the piece of code for the file_info.

<table class="filepanel" cellpadding="0" cellspacing="1">
<td width="585">
<img src="<TMPL_VAR site_url>/images/icon_file.png" style="float: left;">

Add your advert to this part for your "mp3 icon"

<div id="mainmenu">
<a class="btn_blue" href="https://fileshack.net/?op=registration">Sign Up</a>

That is where you would ad the advert link there.

Be careful though as what you are asking for is frowned upon by ad networks as you are tricking people into clicks.

To not have Premium members affected wrap the the text in

<TMPL_IF enabled_prem>
text here
text with ads here

Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests