How to make a popup uploading window?

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
poseidon97
Registered User
Posts: 1
Joined: Fri Dec 13, 2019 7:37 am

How to make a popup uploading window?

Post by poseidon97 »

Hi there.

I was wondering how does this system pass the file information and create a popup window that does not disrupt the loading process.

I attempted to create a forum that has a action that would go to the upload PHP,
and then used a onclick to open the popup with the load-bar gif.
But this only opened the popup without executing the forum action.

One of my colleges believed that it is the popup that loads the file,
but if that is the case: how does the HTML load before the PHP?
I all I need is to get the HTML to load before the PHP to solve my problem.

Thanks!

User avatar
david63
Registered User
Posts: 17041
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: How to make a popup uploading window?

Post by david63 »

Perhaps if we were to see your code it might help.

Remember though that using pop-ups is not always a good idea as many users turn pop-ups off in their browser.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Post Reply

Return to “phpBB Custom Coding”