vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   İmageshack Upload with own features!!! (https://vborg.vbsupport.ru/showthread.php?t=108134)

HaYLaZ 02-15-2006 10:00 PM

İmageshack Upload with own features!!!
 
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;

Code:

<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;

Code:

<!--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,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

Quote:

Originally Posted by HaYLaZ
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

Quote:

Originally Posted by RasMasta
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

Quote:

Originally Posted by SouthernTn
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

Quote:

Originally Posted by thedvs
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 02-18-2006 02:15 AM

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.. :)

Code:

<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 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....
Code:

<!--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-->



Quote:

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

Code:

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

Quote:

Originally Posted by Icy (Post 906215)
Tnx for share.. But I changed that for myself a bit.. Here is the code.. Hope someone 'll like it.. :)

Code:

<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-12-2006 02:17 PM

Sure :)..

ARSamo 01-23-2010 03:27 AM

thats good


All times are GMT. The time now is 12:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01226 seconds
  • Memory Usage 1,807KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete