This site is READ ONLY!! No support will be given! Everything in here is just for archiving purposes!

Upload in progress screen like subsilver2

Code snippets/ small mods for phpBB3- these can be used to add small but useful features to your forum.
Forum rules
You need to be a registered member to view the topics within this forum ;)
Locked
User avatar
Steve
X-Steve
X-Steve
Posts: 1920
Joined: Thu Sep 16 2010 3:19 pm
Real name: Steve© MX
Country Flag: Great Britain
Location: Up north!
Contact:

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:
You do not have the required permissions to view the files attached to this post.
Hello! and Do NOT contact me via private message for support!!
Locked