Upload button not visible

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Upload button not visible

Post by Terr0r »

Hello people

I have install this MOD it is working fine a nice MOD but I missing something

I have this
uploadfile1.png
And on this forum you see this
uploadfile2.png
I have install the MOD good I have do the edits good

But how is it possible that I missing something

Already thanks for the help

Greets Terr0r
You do not have the required permissions to view the files attached to this post.

Upload button not visible

Post by Stoker »

You have made an err0r in this file edit: styles/prosilver/template/posting_attach_body.html

Upload button not visible

Post by Terr0r »

what do you mean I have made a error in this file posting_attach_body.html

this is the part what you must set in the posting_attach_body.html

Code: Select all

		<dd id="buttonsatt">
			<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" /> 
			<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="JavaScript:document.getElementById('buttonsatt').style.display='none';document.getElementById('processingatt').style.display='block';upload = true;" />
		</dd>
And this is what I have in my posting_attach_body.html

Code: Select all

		<dd id="buttonsatt">
			<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" /> 
			<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="JavaScript:document.getElementById('buttonsatt').style.display='none';document.getElementById('processingatt').style.display='block';upload = true;" />
		</dd>
It is the same code what I have in posting_attach_body.html what you must add in posting_attach_body.html

Greets Terr0r

Upload button not visible

Post by Stoker »

Try this instead:

Code: Select all

<dd id="buttonsatt">
			<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" /> 
			<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="JavaScript:document.getElementById('buttonsatt').style.display='none';document.getElementById('processingatt').style.display='block';upload = true;" />
		</dd>
		<dd id="processingatt" style="display:none;">
		<input type="button" class="button2" value="{L_AT_FILE_UPLOADING}" disabled="disabled" />
		</dd>

Upload button not visible

Post by Terr0r »

Yes that is working thanks

I think you must update the install.xml from this MOD

And I missing the loading animation image how can add that ?

Already thanks

Greets Terr0r

Upload button not visible

Post by Solidjeuh »

That 'loading' image is not part of the mod .. at least not when I downloaded it :P

Upload button not visible

Post by Stoker »

Take a look at the paypal mod. The image is there so you sould be able to copy the code over.

Upload button not visible

Post by Terr0r »

I have found it and add it to the posting_attach_body.html and it is working

Upload button not visible

Post by Stoker »

:thumb:

Upload button not visible

Post by mikef35 »

Stoker,

Can you tell if this is right?

Code: Select all

<dd id="buttonsatt">
         <input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" /> 
         <input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="JavaScript:document.getElementById('buttonsatt').style.display='none';document.getElementById('processingatt').style.display='block';upload = true;" />
      </dd>
      <dd id="processingatt" style="margin-top:8px; display:none;">
                    <img src="{ROOT_PATH}images/loader.gif" width="16" height="16" alt="" style="margin-bottom:-5px; padding-right:10px;" /> 
      <input type="button" class="button2" value="{L_AT_FILE_UPLOADING}" disabled="disabled" />
      </dd>