PDA

View Full Version : Profile Enhancements - Upload Pic Progress Notification


christian8a
17 Mar 2008, 05:56
This small modification at least lets members know their pictures are uploading.

Very easy to install or edit.

Open (album_picture_upload) Template

1- Find:

</head>

2- Above that add:

<script language="JavaScript">
function render(t) {
document.getElementById(t).style.display="";
}
</script>

3- On the same template find:

<input type="submit" class="button" value="$vbphrase[upload_pictures]" accesskey="s" tabindex="1" />
</div>

5- Replace with:

<input type="submit" class="button" value="$vbphrase[upload_pictures]" accesskey="s" tabindex="1" onClick="render('progress')" />
</div>
<div align="center" style="display:none;" id="progress">Upload in progress, Please wait... &nbsp;<img src="/images/misc/13x13progress.gif" border="0"></div>

Of course I have a .png arrow image pointing up that is not animated, since on php a .gif file will not play while uploading.

That gives you the idea :up:

Screenshot attached

christian8a
17 Mar 2008, 05:59
I found other information about this but I had to put it on my own way.
By the way this is my first mod, very simple of course :erm:

codershark
17 Mar 2008, 06:42
instead of the text you can also put a progressbar into it :)

christian8a
17 Mar 2008, 06:47
A .swf file will work

jim6763nva
17 Mar 2008, 06:53
Couldn't you use that circular pattern of dots like when you are doing an edit on a message?

christian8a
18 Mar 2008, 09:33
Couldn't you use that circular pattern of dots like when you are doing an edit on a message?

It wont play the .gif file :erm:

tanand79
21 Mar 2008, 15:32
where can i find this template album_picture_upload

christian8a
21 Mar 2008, 16:05
Style Manager / Edit Templates / Album Templates / album_picture_upload

dancue
27 Mar 2008, 18:23
Can anyone show me how to make it a progress bar instead?

NgocTam
08 Apr 2008, 03:02
MOD Where ?

maidos
08 Apr 2008, 23:16
can anyone share how to add a progress bar animated showing the current status? and time left till finished

christian8a
09 Apr 2008, 00:26
with php I dont think there is a way, ive been looking for it but no luck. A flash file will do but you know, flash for some people it shows for some others it doesnt

romanticyao
09 Apr 2008, 03:15
simple but useful, thanx

Captain Tycoon
29 Jun 2008, 14:24
Installed and Marked! Thanks.

Jase2
29 Jun 2008, 15:32
Simple, yet effective. Thanks! :)

Q-v-n-s-Q
29 Jul 2008, 08:33
very nice, any idea for attachment uploading??

merk_aus
30 Jul 2008, 03:06
thanks mate useful had so many people saying it wasnt uploading it just sat there lol impatient people haha

christian8a
05 Nov 2008, 18:57
works with any version untill 3.8 so far, tested.

richardyoung
30 Mar 2009, 03:36
I have made the changes to the template.. however it is not working.. is there something I need to download like a javascript the gif?

richardyoung
30 Mar 2009, 03:58
I have checked and I got the 13x13 gif in the correct error.. and there are no errors on my page but it is not showing

webnsn
07 Nov 2015, 17:03
Sorry no use