Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Upload Pic Progress Notification Details »»
Upload Pic Progress Notification
Version: 1.00, by christian8a christian8a is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.0 Beta 6 Rating:
Released: 03-16-2008 Last Update: Never Installs: 42
Template Edits
Additional Files  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-17-2008, 04:59 AM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #3  
Old 03-17-2008, 05:42 AM
codershark codershark is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

instead of the text you can also put a progressbar into it
Reply With Quote
  #4  
Old 03-17-2008, 05:47 AM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A .swf file will work
Reply With Quote
  #5  
Old 03-17-2008, 05:53 AM
jim6763nva's Avatar
jim6763nva jim6763nva is offline
 
Join Date: Oct 2005
Location: Virginia
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Couldn't you use that circular pattern of dots like when you are doing an edit on a message?
Reply With Quote
  #6  
Old 03-18-2008, 08:33 AM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jim6763nva View Post
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:
Reply With Quote
  #7  
Old 03-21-2008, 02:32 PM
tanand79 tanand79 is offline
 
Join Date: Dec 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where can i find this template album_picture_upload
Reply With Quote
  #8  
Old 03-21-2008, 03:05 PM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Style Manager / Edit Templates / Album Templates / album_picture_upload
Reply With Quote
  #9  
Old 03-27-2008, 05:23 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone show me how to make it a progress bar instead?
Reply With Quote
  #10  
Old 04-08-2008, 02:02 AM
NgocTam NgocTam is offline
 
Join Date: Apr 2008
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MOD Where ?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04808 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete