Upload in progress screen like subsilver2

Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
Locked
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Upload in progress screen like subsilver2

Post by Steve »

Adds the pop up upload in process screen like on subsilver2, upload progress bar is like windows vista style.

Download this progress.zip folder extract and copy the files with in to your forums root styles/prosilver/*.*
progress.zip
Open styles prosilver/template/posting_editor.html
find:

Code: Select all

<script type="text/javascript">
// <![CDATA[
	onload_functions.push('apply_onkeypress_event()');
// ]]>
</script>
add after:

Code: Select all

		<script type="text/javascript">
		// <![CDATA[
			/**
			* Show upload progress bar
			*/
			function popup_progress_bar()
			{
				close_waitscreen = 0;
				// no scrollbars
				popup('{UA_PROGRESS_BAR}', 400, 200, '_upload');
			}
		// ]]>
		</script>

		<!-- IF S_CLOSE_PROGRESS_WINDOW -->
			<script type="text/javascript">
			// <![CDATA[
				close_waitscreen = 1;
			// ]]>
			</script>
		<!-- ENDIF -->
Open styles prosilver/template/posting_attatch_body.html
find:

Code: Select all

onclick="upload = true;" />
replace with:

Code: Select all

onclick="popup_progress_bar();" />
Refresh template for prosilver.
pic:
vista.PNG
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Upload in process screen like subsilver2

Post by cisco007 »

you've been busy at work haven't you Steve! Thanks again!
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Upload in process screen like subsilver2

Post by Steve »

i just made it look nicer 1st post updated for the one person who downloaded it just replace the html file and upload the vista style background ;)
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
User avatar
cesarguanaco2
BBCoder II
BBCoder II
Posts: 10
Joined: 01 Jul 2010, 00:37

Re: Upload in process screen like subsilver2

Post by cesarguanaco2 »

thank you looks nice!
[*]Where do you get all those amazing bbcodes?[*]
User avatar
Ashley.S.
BBCoder II
BBCoder II
Posts: 36
Joined: 05 Mar 2010, 12:24
Location: Falmouth, Cornwall, UK
Contact:

Re: Upload in progress screen like subsilver2

Post by Ashley.S. »

very nice, Thanks Steve 8-)
Regards,
-Ashley.S. [ Pluto Hosting Managing Director & ProphpBB Moderator ]
User avatar
neptune
BBCoder II
BBCoder II
Posts: 35
Joined: 09 Mar 2010, 12:23

Re: Upload in progress screen like subsilver2

Post by neptune »

very nice look :D
Image
Locked