PDA

View Full Version : Profile Enhancements - Upload Pic Progress Notification


christian8a
03-16-2008, 10:00 PM
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
03-17-2008, 04:59 AM
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
03-17-2008, 05:42 AM
instead of the text you can also put a progressbar into it :)

christian8a
03-17-2008, 05:47 AM
A .swf file will work

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

christian8a
03-18-2008, 08:33 AM
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
03-21-2008, 02:32 PM
where can i find this template album_picture_upload

christian8a
03-21-2008, 03:05 PM
Style Manager / Edit Templates / Album Templates / album_picture_upload

dancue
03-27-2008, 05:23 PM
Can anyone show me how to make it a progress bar instead?

NgocTam
04-08-2008, 02:02 AM
MOD Where ?

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

christian8a
04-08-2008, 11:26 PM
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
04-09-2008, 02:15 AM
simple but useful, thanx

Captain Tycoon
06-29-2008, 01:24 PM
Installed and Marked! Thanks.

Jase2
06-29-2008, 02:32 PM
Simple, yet effective. Thanks! :)

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

merk_aus
07-30-2008, 02:06 AM
thanks mate useful had so many people saying it wasnt uploading it just sat there lol impatient people haha

christian8a
11-05-2008, 05:57 PM
works with any version untill 3.8 so far, tested.

richardyoung
03-30-2009, 02:36 AM
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
03-30-2009, 02:58 AM
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
11-07-2015, 04:03 PM
Sorry no use