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!


All times are GMT. The time now is 03:29 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.01126 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete