XFileSharing Pro - Enable Pre-Download Page on image hosting mod

Powerfull XFileSharing version

Moderator: admin

Message
Author
imagepad
Posts: 29
Joined: May 12, 2011 5:13 am

Enable Pre-Download Page on image hosting mod

#1 Postby imagepad » Aug 25, 2011 12:23 pm

How can I enable the pre-download page on the image hosting mod?

nik0la
Posts: 102
Joined: Dec 30, 2009 1:50 pm

#2 Postby nik0la » Aug 25, 2011 5:18 pm

do you have premium members on image hosting?

imagepad
Posts: 29
Joined: May 12, 2011 5:13 am

#3 Postby imagepad » Aug 26, 2011 11:51 am

Even with premium accounts enabled that doesn't work.

The image hosting by default is incredibly easy to scam and update would be awesome..

[img]url[/img] shows nothing on a site but counts every page view as a hit to the image.

nik0la
Posts: 102
Joined: Dec 30, 2009 1:50 pm

#4 Postby nik0la » Aug 27, 2011 10:08 am

so you want to make download0.html as

"Continue to the Image" page with adverts? :)

imagepad
Posts: 29
Joined: May 12, 2011 5:13 am

#5 Postby imagepad » Aug 28, 2011 10:31 am

Yeah that's what I want nik0la.

I don't need adverts on that page though. Just simply putting the page there is what I need.

verzing
Posts: 141
Joined: Mar 02, 2011 7:00 pm

#6 Postby verzing » Aug 29, 2011 8:37 am

put image in download2.html page, and in download1.html delete

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>


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.

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm
Location: belguim
Contact:

#7 Postby PowerChaos » Aug 31, 2011 11:29 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 ??

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>


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

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})

replace it with
[code]
$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

venture89
Posts: 95
Joined: Aug 30, 2011 12:11 am
Location: Planet Z

#8 Postby venture89 » Oct 07, 2011 11:22 pm

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.


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests