[RC1] Multipics.net - multi image upload

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply
zden
Registered User
Posts: 95
Joined: Fri Dec 29, 2006 2:00 pm
Contact:

[RC1] Multipics.net - multi image upload

Post by zden » Sat Apr 28, 2007 1:47 pm

Hi, this mod makes your users able to choose and upload multiple pictures at once with no need of installation any additional software. The only requirement is flash player 8 or higher.

Also the user can see how fast images are uploading, how many percent have been uploaded and also while choosing files he doesn't other disturbing files that he the same can't upload. Code of images is automatically inserted into text of message.

HERE IS TEST FORUM

(http://multipics.net/phpBB_multi/postin ... wtopic&f=1)

DOWNLOAD

(http://www.multipics.net/Multipics_100.zip)

Here are some screenshots how it works:

Image Image Image
ImageShock.eu MOD - the best solution for simple image upload, autoinsert, 100% customizable, 3rd party
Using ImageShock.eu Image Upload service

Beth
Registered User
Posts: 248
Joined: Mon May 19, 2003 10:57 pm

Re: [RC1] Multipics.net - multi image upload

Post by Beth » Sun Apr 29, 2007 12:06 pm

Can we just get a text version of the install please?
One of the files is a wmv?
...and the other doesn't work for me at all.

Thanks.

zden
Registered User
Posts: 95
Joined: Fri Dec 29, 2006 2:00 pm
Contact:

Re: [RC1] Multipics.net - multi image upload

Post by zden » Sun Apr 29, 2007 2:25 pm

Beth wrote: Can we just get a text version of the install please?
One of the files is a wmv?
...and the other doesn't work for me at all.

Thanks.


no, it's not really wmv file :). it probably just gets the same icon because the mod extension is also used for some other multimedia related purposes... someone else already told me that the installation video is broken that he can't play it :D ... the only thing you have to do is to view it or open it in notepad. also EasyMOD should be able to install it automatically

however if you have problem opening the file, here you are, install.mod content:

Code: Select all

##############################################################
## MOD Title: Multipics.net - image multi uplaod
## MOD Author: zden < admin@multipics.net > (N/A) http://www.multipics.net/
## MOD Description: Allows users to upload images to ImageShock.eu while replying or creating a topic.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: ~1 Minutes
## Files To Edit: posting_body.tpl
## Included Files: multipics.html
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## This makes makes uploading multiple images easier as never before.
## User doesn't need to install any additional software.
## Only Flash player 8 or higher required.
##
## Support via icq - 169 106 168
################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ COPY ]------------------------------------------
#
copy multipics.html to multipics.html
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#     
     <td class="row1" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span><br /><span class="gensmall">{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
     <td class="row2"><span class="gen"> </span>
     <table cellspacing="0" cellpadding="1" border="0">

#
#-----[ AFTER, ADD ]------------------------------------------
#
	  <!-- begin Multipics.net - 3rd party, auto-insertion Mod -->
        <iframe id="multipics" name="multipics" style="width:450px;height:195px;border:1px solid #000" src="{U_MULTIPICS_URL}" frameborder="0" scrolling="no"></iframe>
    <!-- end Multipics.net - 3rd party, auto-insertion Mod -->
#
#-----[ OPEN ]------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------
#     
     'S_POST_ACTION' => append_sid("posting.$phpEx"),

#
#-----[ AFTER, ADD ]------------------------------------------
#
     'U_MULTIPICS_URL' => append_sid("http://multipics.net/tmulti.php?forum="."http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']),

#
#-----[ OPEN ]------------------------------------------
#
privmsg.php
#
#-----[ FIND ]------------------------------------------
# 
     'S_POST_ACTION' => append_sid("privmsg.$phpEx"),

#
#-----[ AFTER, ADD ]------------------------------------------
#
     'U_MULTIPICS_URL' => append_sid("http://multipics.net/tmulti.php?forum="."http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']),

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
ImageShock.eu MOD - the best solution for simple image upload, autoinsert, 100% customizable, 3rd party
Using ImageShock.eu Image Upload service

sikita
Registered User
Posts: 47
Joined: Tue Jun 29, 2004 9:40 am

Re: [RC1] Multipics.net - multi image upload

Post by sikita » Wed Jun 06, 2007 7:18 pm

Hi, I love this mod and service. Could you modify this mod for PHPBB3?

zden
Registered User
Posts: 95
Joined: Fri Dec 29, 2006 2:00 pm
Contact:

Re: [RC1] Multipics.net - multi image upload

Post by zden » Sat Jun 09, 2007 6:02 am

sikita wrote:Hi, I love this mod and service. Could you modify this mod for PHPBB3?

hi, actually i am working on it... however is it possible to to send mods to be officially approved again?

but the same i will probably release some unofficial phpbb3 version before

also i am working on customizable javascript GUI and possibility to immedietally see uploaded images as in case of imageshock.eu mod
ImageShock.eu MOD - the best solution for simple image upload, autoinsert, 100% customizable, 3rd party
Using ImageShock.eu Image Upload service

sikita
Registered User
Posts: 47
Joined: Tue Jun 29, 2004 9:40 am

Re: [RC1] Multipics.net - multi image upload

Post by sikita » Mon Jun 11, 2007 7:33 am

Nice to hear you are working on it. Right now I think there is no official validation of mods for PHPBB3 yet as it is RC.

But you should start new topic in PHPBB3 category as you have something... I am looking forward to seeing it there.

zden
Registered User
Posts: 95
Joined: Fri Dec 29, 2006 2:00 pm
Contact:

Re: [RC1] Multipics.net - multi image upload

Post by zden » Sat Jun 16, 2007 4:45 pm

sikita wrote:Hi, I love this mod and service. Could you modify this mod for PHPBB3?
hi, i already made phpbb3 version... it's at http://www.phpbb.com/community/viewtopi ... 0&t=554993 and it has some advantages in comparison with phpbb2 version however phpbb2 version might be repaired as well
ImageShock.eu MOD - the best solution for simple image upload, autoinsert, 100% customizable, 3rd party
Using ImageShock.eu Image Upload service

binhaus
Registered User
Posts: 20
Joined: Mon Nov 20, 2006 5:22 am

need more customized and help about muti uploads..

Post by binhaus » Thu Jul 26, 2007 12:55 pm

sorry if i have post one post similar this but it wrong places
http://www.phpbb.com/community/viewtopi ... s#p3136918
that box is for imageshock.eu
===========

need more customized and help about muti uploads..
I have play around with the mutiupload flash file but not success...
the problems may be in server side.. hope some one can help..

i have download this one then install by my own method fowlowing
http://www.multipics.net/Multipics_100.zip
- fist i dont like the iframe - prefered the button then popup a small window ( it will not take spaces on website and improved web performance - not many people need upload images - the swf is may harm web loading and some time get blank pages if slow connection )
so I put this one in the posting.tpl
( there r no need modify the posting.php when using java script document.location.href ) :P

Code: Select all

<a href="javascript:void(0);" onclick="window.open('http://multipics.net/tmulti.php?forum=' + escape(document.location.href), '_multipics', 'resizable=yes,width=450,height=200');return false;" title="{ADD_IMG}">&nbsp; multipics.net</a>
then save the file multipics.html in forums folder but edit it as folowing

Code: Select all


<html>
<head>
</head>
<body>
<script language="javascript" type="text/javascript">
<!--
function add_code()
{
/*  //old script
	var text = unescape(document.location.search.substring(1));
	//alert(text);
	parent.document.post.message.value = parent.document.post.message.value + text;
	window.location = "http://multipics.net/tmulti.php";
*/

	var text = unescape(document.location.search.substring(1));
	opener.document.forms['post'].message.value = opener.document.forms['post'].message.value + text;
	opener.focus();
	window.close();

}
add_code();
//-->
</script>
</body>
</html>

affer testing.. i see the file seem uploaded but i got no return bbcode to the text box of posting
the method is based on http://www.postimage.org/mod.php
hope some one can work out.. :idea: :idea:

=====>>
NOtices: for the normal images upload ImageShock.eu - autoinsert i do not like the way it using the resources of forums.. it take time and cpu to call lot of function include to make the upload script work..
I tryed some time to make it work independently but not success
i hope some one can help to make it reduce to 1-2 file php can be call by popup or iframe easy like imageshack.us mod (may can popup like postimage.org mod ) but customize able like ImageShock.eu here this will be not hard to coding but need server side code mod so I will waiting for next released..
thanks


==================== small sign ---
my forums website is http://www.xaluan.com
free download all software you need at http://www.vnhits.com/downloads
music on your go: http://www.mtvvui.com

binhaus
Registered User
Posts: 20
Joined: Mon Nov 20, 2006 5:22 am

Re: [RC1] Multipics.net - multi image upload

Post by binhaus » Thu Jul 26, 2007 2:11 pm

affer haft hours checking from last post.. i point out the problems
remove escape( from my last post
so the popuplink in posting.tpl will look like
[code]
<a href="javascript:void(0);" onclick="window.open('http://multipics.net/tmulti2.php?forum='+ document.location.href, '_imageshack', 'resizable=yes,width=800,height=600,titlebar=yes');return false;" title="{ADD_IMG}"><b><font color="#CC0000">aaa</font></b></a>
[/code]

so now i can upload multi images but only for the fist time upload..
then affter script do
window.location = "http://multipics.net/tmulti2.php?"+cele;
or window.location = "http://multipics.net/tmulti.php";
geting errors

file multipics.html not found by tmulti2.php or tmulti.php so it not get the text from server then pass it to the textbox arear..
here the link i see when upload sussess but the multipics.html not work
[quote]
http://multipics.html/?links=[url=http://multipics.net/?img=googlevid-72y1.jpg][img]http://multipics.net/img_small/googlevid-72y1.jpg[/img][/url]%20%20[url=http://multipics.net/?img=youtube-2u01.jpg][img]http://multipics.net/img_small/youtube-2u01.jpg[/img][/url]%20%20&thumbnailtextcolor=FFFFFF&thumbnailbackgroundcolor=000000&color=&warningcolor=&pagebackgroundcolor=&thumbleft=&thumbtop=&bodymargintop=&backgroundrepeat=&url=&backgroundColor=ffffff&textColor==&labelUploadText=Select%20Images%20to%20upload%20via%20Multipics.net%20%20%20%20%20(%3C%202MB,JPG,PNG,GIF,BMP)
[/quote]

[quote]
http://multipics.net/tmulti2.php?links=[URL=http://multipics.net/?img=googlevid-rg21.jpg][IMG]http://multipics.net/img_small/googlevid-rg21.jpg[/IMG][/URL]%20%20&thumbnailtextcolor=FFFFFF&thumbnailbackgroundcolor=000000&color=&warningcolor=&pagebackgroundcolor=&thumbleft=&thumbtop=&bodymargintop=&backgroundrepeat=&url=&backgroundColor=ffffff&textColor==http://192.168.1.1/modules.php?name=Forums&labelUploadText=Select%20Images%20to%20upload%20via%20Multipics.net%20%20%20%20%20(%3C%202MB,JPG,PNG,GIF,BMP)
[/quote]

any one canhelp ??

binhaus
Registered User
Posts: 20
Joined: Mon Nov 20, 2006 5:22 am

FIXed - Multipics.net - multi image upload - no need iframe

Post by binhaus » Thu Jul 26, 2007 2:36 pm

Okey now all done.. i have solved at all

put this one in any where on posting.tpl you like

Code: Select all

<a href="javascript:void(0);" onclick="window.open('http://multipics.net/tmulti2.php?forum='+ document.location.href, '_imageshack', 'resizable=yes,width=800,height=600,titlebar=yes');return false;" title="{ADD_IMG}"><b><font color="#CC0000">aaa</font></b></a>
then
this is the code of the multipics.html

Code: Select all

<html>
<head>
</head>
<body>
<script language="javascript" type="text/javascript">
<!--

function gup( name )
{
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec( window.location.href );
  if( results == null )
    return "";
  else
    return results[1];
}

function add_code()
{
	var cele = unescape(document.location.search.substring(1));
	var text = gup( 'links' );
	//var forum = gup( 'forum' );
	//var backgroundColor = gup( 'backgroundColor' );
	//var textColor = gup( 'textColor' );
	
//	alert(text);
	//parent.document.getElementById('message').value = parent.document.getElementById('message').value + unescape(text);
	opener.document.forms['post'].message.value = opener.document.forms['post'].message.value + unescape(text);
	window.location = 'http://multipics.net/tmulti2.php?forum='+ opener.document.location.href

}
add_code();
//-->
</script>
</body>
</html>
so done .... hope you guy like it
give me lite credit by go to ..
http://www.MTVvui.com/videodownloader.php .. download online all video from popular video site no software needed
http://www.vnhits.com/downloads/ the librly of software over 10000000 - 40 updated/days - all free download cute uhuuuuu enjoy

User avatar
vrflyer
Registered User
Posts: 503
Joined: Mon Feb 17, 2003 8:27 pm

Re: [RC1] Multipics.net - multi image upload

Post by vrflyer » Thu Aug 23, 2007 3:33 pm

Neat-0! 8-)
Always Under Construction !

sbourdon
Registered User
Posts: 174
Joined: Sat Nov 13, 2004 6:29 pm

Re: [RC1] Multipics.net - multi image upload

Post by sbourdon » Sat Aug 25, 2007 1:01 pm

Wow; great MOD!
Think it would be possible to adapt it for Smartor Album?

Cheers! :mrgreen:

Alexxxmk
Registered User
Posts: 2
Joined: Thu Apr 10, 2008 1:19 am

Re: [RC1] Multipics.net - multi image upload

Post by Alexxxmk » Tue Dec 09, 2008 2:44 am

Nice mod, how can I edit the colors of the upload pic box?

Post Reply

Return to “[2.0.x] MODs in Development”