View Full Version : İmageshack Upload with own features!!!
HaYLaZ
02-15-2006, 10:00 PM
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.rand om()*((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,resizable=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?
02-16-2006, 04:15 PM
Eheheh, Great work HaYLaZ !
Very Very thanks :banana: :banana: :banana: :up:
GamerJunk.net
02-16-2006, 04:26 PM
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
02-16-2006, 04:47 PM
you think you could put the script directly into the post, like instead of clicking on the ImageShack button...?
HaYLaZ
02-16-2006, 05:09 PM
this modification likes rapidshare upload modification.This hack can be changeble wiht new features can be add or etc.
The Chief
02-16-2006, 05:11 PM
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
02-16-2006, 05:26 PM
Works perfectly,thank you
ForeverForums
02-16-2006, 06:16 PM
very nice. thanks :D
XanTrax
02-16-2006, 06:31 PM
Isnt there one exactly like this?
VBUsers
02-16-2006, 10:14 PM
installed and works great thanks!
Barakat
02-17-2006, 12:09 AM
thanks and installed .
AshokForums.com
02-17-2006, 01:06 AM
Love it thanks
SouthernTn
02-17-2006, 04:44 AM
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
02-17-2006, 04:51 AM
thats a perfect idea!!! Is this possible? Like soon?
+1 ill take this as well
SouthernTn
02-17-2006, 05:01 AM
Yea, it could make people with very active forums to make some good $$$$ . .. please keep me updated on this
SouthernTn
02-17-2006, 06:45 AM
but, when you actually think about it.. that $1.00 per 6,666 views really suck
thedvs
02-17-2006, 08:00 AM
heh not if its porn it doesnt suck, soon adds up :)
chader144
02-17-2006, 12:57 PM
(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
02-17-2006, 08:44 PM
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.
Thats GOODDDDDDDDDDDDDDD
Thnx
/kilks install
bubba01
02-18-2006, 09:29 PM
click install love it thx.
Mudvayne
02-21-2006, 08:49 AM
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.rand om()*((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> <b>
<font face="Verdana" size="2" color="#FF0000">Click on the Image for Upload Your
Image</font></b></div></fieldset>
corn dog
03-04-2006, 04:09 PM
This can work for pm_newpm I just tested it ;)
board.trash
03-06-2006, 01:08 AM
hello how can i change the image hoster? i want use tinypic.com :)
erinys
03-06-2006, 07:57 AM
awesome thanks!!
editted a bit for dutch language, other logo etc.. but thanks a lot for the basis!
bashy
03-11-2006, 06:55 PM
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.rand om()*((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','15 0','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.rand om()*((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> <b>
<font face="Verdana" size="2" color="#FF0000">Click on the Image for Upload Your
Image</font></b></div></fieldset>
erinys
12-11-2006, 06:57 AM
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-12-2006, 12:28 PM
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.rand om()*((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> <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-12-2006, 02:17 PM
Sure :)..
ARSamo
01-23-2010, 03:27 AM
thats good
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.