PDA

View Full Version : İmageshack Upload with own features!!!


HaYLaZ
16 Feb 2006, 16:26
Hello friends.

After rapidshareuplaod ı made this modification.you can simply upload your images only one popup window and simply copy paste the link in to your message.You can change your image size,thumbnail etc.
I hope you will like this.

İNSTALLATİON

upload imageshack.gif to images folder.
upload imageshack.php to forums root

Than make this template modification for each template below;
newthread,newreply (you can add other templates too)

find;

<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
$disablesmiliesoption
</div>
</fieldset>

add under;

<!--imageshack_by_HaYLaZ-->
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>

<a href="javascript:NewWindow('imageshack.php','imageshack','600','150','center','front') ;">
<img src="images/imageshack.gif" border="0"></a>
<!--imageshack_by_HaYLaZ-->


you can change popup size with changing green codes above

jarod1981
16 Feb 2006, 17:15
Eheheh, Great work HaYLaZ !


Very Very thanks :banana: :banana: :banana: :up:

GamerJunk.net
16 Feb 2006, 17:26
Now the real benefit would be able to get this to work with imagecash.net....that way when users upload pics they go into your imagecash.net account and you make money off of each click.

The Chief
16 Feb 2006, 17:47
you think you could put the script directly into the post, like instead of clicking on the ImageShack button...?

HaYLaZ
16 Feb 2006, 18:09
this modification likes rapidshare upload modification.This hack can be changeble wiht new features can be add or etc.

The Chief
16 Feb 2006, 18:11
this modification likes rapidshare upload modification.This hack can be changeble wiht new features can be add or etc.

yes, but can you show us how we could do that Haylaz?

corn dog
16 Feb 2006, 18:26
Works perfectly,thank you

ForeverForums
16 Feb 2006, 19:16
very nice. thanks :D

XanTrax
16 Feb 2006, 19:31
Isnt there one exactly like this?

VBUsers
16 Feb 2006, 23:14
installed and works great thanks!

Barakat
17 Feb 2006, 01:09
thanks and installed .

AshokForums.com
17 Feb 2006, 02:06
Love it thanks

SouthernTn
17 Feb 2006, 05:44
Now the real benefit would be able to get this to work with imagecash.net....that way when users upload pics they go into your imagecash.net account and you make money off of each click.



thats a perfect idea!!! Is this possible? Like soon?

VBUsers
17 Feb 2006, 05:51
thats a perfect idea!!! Is this possible? Like soon?


+1 ill take this as well

SouthernTn
17 Feb 2006, 06:01
Yea, it could make people with very active forums to make some good $$$$ . .. please keep me updated on this

SouthernTn
17 Feb 2006, 07:45
but, when you actually think about it.. that $1.00 per 6,666 views really suck

thedvs
17 Feb 2006, 09:00
heh not if its porn it doesnt suck, soon adds up :)

chader144
17 Feb 2006, 13:57
(yes its the lazy vb admin) Can this be a plugin?

Thanks for your hard work.

(personal issue of implementing mods and then having them wiped out again when I have to upgrade my templates)

SouthernTn
17 Feb 2006, 21:44
heh not if its porn it doesnt suck, soon adds up :)


well, if its that, then it adds up quickly.. but if its not, its a waste of time.

Zia
18 Feb 2006, 03:15
Thats GOODDDDDDDDDDDDDDD

Thnx

/kilks install

bubba01
18 Feb 2006, 22:29
click install love it thx.

Mudvayne
21 Feb 2006, 09:49
Tnx for share.. But I changed that for myself a bit.. Here is the code.. Hope someone 'll like it.. :)

<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>

<fieldset class="fieldset"><legend>Upload Your Images Here</legend> <div style="padding:$stylevar[formspacer]px">

<a href="javascript:NewWindow('imageshack.php','imageshack','600','150','center','front') ;">
<img src="images/imageshack.gif" border="0"></a>&nbsp;&nbsp; <b>
<font face="Verdana" size="2" color="#FF0000">Click on the Image for Upload Your
Image</font></b></div></fieldset>

corn dog
04 Mar 2006, 17:09
This can work for pm_newpm I just tested it ;)

board.trash
06 Mar 2006, 02:08
hello how can i change the image hoster? i want use tinypic.com :)

erinys
06 Mar 2006, 08:57
awesome thanks!!

editted a bit for dutch language, other logo etc.. but thanks a lot for the basis!

bashy
11 Mar 2006, 19:55
Hi m8

I love what ya did with that :), Could you please edit this code below
so that my rapid share looks the same?
Thanks in advance....
<!--Rapidshare-->
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>

<a href="javascript:NewWindow('rapid.php','rapid','600','150','center','front');">
<img src="images/rapid.gif" border="0"></a> <b>Click to upload to a server</b>
<!--Rapidshare finished-->



Tnx for share.. But I changed that for myself a bit.. Here is the code.. Hope someone 'll like it.. :)

<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>

<fieldset class="fieldset"><legend>Upload Your Images Here</legend> <div style="padding:$stylevar[formspacer]px">

<a href="javascript:NewWindow('imageshack.php','imageshack','600','150','center','front') ;">
<img src="images/imageshack.gif" border="0"></a>&nbsp;&nbsp; <b>
<font face="Verdana" size="2" color="#FF0000">Click on the Image for Upload Your
Image</font></b></div></fieldset>

erinys
11 Dec 2006, 07:57
You should release this as a 3.6 pluging so it shows up in the 3.6 listing :) its working perfectly fine with it anyway ;)

salata
12 Dec 2006, 13:28
Tnx for share.. But I changed that for myself a bit.. Here is the code.. Hope someone 'll like it.. :)

<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>

<fieldset class="fieldset"><legend>Upload Your Images Here</legend> <div style="padding:$stylevar[formspacer]px">

<a href="javascript:NewWindow('imageshack.php','imageshack','600','150','center','front') ;">
<img src="images/imageshack.gif" border="0"></a>&nbsp;&nbsp; <b>
<font face="Verdana" size="2" color="#FF0000">Click on the Image for Upload Your
Image</font></b></div></fieldset>

can i see a screen shot

Mudvayne
12 Dec 2006, 15:17
Sure :)..

ARSamo
23 Jan 2010, 04:27
thats good