XFileSharing Pro - Enable Pre-Download Page on image hosting mod
Enable Pre-Download Page on image hosting mod
How can I enable the pre-download page on the image hosting mod?
put image in download2.html page, and in download1.html delete
go to setting mods: uncheck 2 box in Show images instantly
I had did it before and NOBODY can cheating, counting for real visitor, but people who viewed the image they are really unhappy, because they need to click the button before view any image.
Code: Select all
<TMPL_IF image_url>
<p><img src="<TMPL_VAR image_url>" class="pic" alt="<TMPL_VAR file_name>" onLoad="scaleImg(this)" style="-ms-interpolation-mode:bicubic" GALLERYIMG="no"></p>
</TMPL_IF>
I had did it before and NOBODY can cheating, counting for real visitor, but people who viewed the image they are really unhappy, because they need to click the button before view any image.
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
i do it easyer
because most people just cheat by right clicking the image to get a hotlink ( it isnt that hard is it ??
that prevents right clicking on the image
you can see it in action at
http://www.boosterking.com/eyh9lj71d9vi/Skelet.jpg.html
and for the code you are talking about
[quote="index_dl.cgi"]
find below code at line 252
replace it with
because most people just cheat by right clicking the image to get a hotlink ( it isnt that hard is it ??
Code: Select all
<p><img src="<TMPL_VAR image_url>" class="pic" alt="<TMPL_VAR file_name>" onLoad="scaleImg(this)" style="-ms-interpolation-mode:bicubic" GALLERYIMG="no" oncontextmenu="alert('Right Click is a Premium Member Function'); return false;"></p>
you can see it in action at
http://www.boosterking.com/eyh9lj71d9vi/Skelet.jpg.html
and for the code you are talking about
[quote="index_dl.cgi"]
find below code at line 252
Code: Select all
$f->{method_premium}=1 if $premium;
my $skip_download0=1 if $c->{m_i} && $file->{file_name}=~/\.(jpg|jpeg|gif|png|bmp)$/i && $file->{file_size}<1048576*5;
if(!$skip_download0 && !$f->{method_free} && !$f->{method_premium} && $c->{pre_download_page} && $c->{enabled_prem})
Code: Select all
$f->{method_premium}=1 if $premium;
#my $skip_download0=1 if $c->{m_i} && $file->{file_name}=~/\.(jpg|jpeg|gif|png|bmp)$/i && $file->{file_size}<1048576*5;
#if(!$skip_download0 && !$f->{method_free} && !$f->{method_premium} && $c->{pre_download_page} && $c->{enabled_prem})
if(!$f->{method_free} && !$f->{method_premium} && $c->{pre_download_page} && $c->{enabled_prem})
[code]
and you get the exact same page as you see at my site
i going replace that demo in the next 24 hours as i love to show the previeuw but i just change it to show that it works ( so you can test what you like)
please note , i use version 1.8 and i am not sure if the code is the same in 1.9
enjoy
Greets From PowerChaos
Hi PowerChaos,
Thanks for sharing your code with us. However, someone determined to cheat the affiliate system can still get your image code using chrome or FF easily, I think.
i.e http://premium.boosterking.com/i/00008/eyh9lj71d9vi.jpg
So just curious if I keep refreshing that page it will count as one view?
Is there any other method to identify/prevent this than manual inspection of affiliate earnings?
Thanks.
Thanks for sharing your code with us. However, someone determined to cheat the affiliate system can still get your image code using chrome or FF easily, I think.
i.e http://premium.boosterking.com/i/00008/eyh9lj71d9vi.jpg
So just curious if I keep refreshing that page it will count as one view?
Is there any other method to identify/prevent this than manual inspection of affiliate earnings?
Thanks.