vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Profile Enhancements - Upload Pic Progress Notification (https://vborg.vbsupport.ru/showthread.php?t=173261)

christian8a 03-16-2008 10:00 PM

Upload Pic Progress Notification
 
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:

Code:

</head>
2- Above that add:

Code:

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

3- On the same template find:

Code:

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

5- Replace with:

Code:

<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

Quote:

Originally Posted by jim6763nva (Post 1466782)
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 ?


All times are GMT. The time now is 08:16 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.01667 seconds
  • Memory Usage 1,726KB
  • 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
  • (4)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