Location of "attachments/add files" button

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
User avatar
pikachuturkey
Registered User
Posts: 290
Joined: Wed Dec 20, 2006 10:34 pm
Name: Rıza
Contact:

Location of "attachments/add files" button

Post by pikachuturkey » Tue Dec 11, 2018 11:07 am

How can i change the location of "options" and "attachments". Or How can i add "add files" button more visible location. For example near the "save draft" or "submit" buttons
Attachments
IMG_20181211_140353.jpg
Health For Everyone ==> www.saglikforum.org

milaf
Registered User
Posts: 5
Joined: Sat Dec 08, 2018 5:07 pm

Re: Location of "attachments/add files" button

Post by milaf » Fri Dec 14, 2018 2:52 pm

I tried to the same but it was too complicated, I didn't want to study and modify too much the code. I think too that the way to attach an image is not so intuitive.

So, what I did was:

1) Rename "Attachments" to "Attach images and files"
2) Remove the button "Image" in the upper buttons bar. I'm not interested that users place images from other web sites (99.9% of my users in the old VB forum didn't use it) and I know that it will confuse those who just want to attach an image.

P.S. I'm not criticizing PHPBB (It's great!), I hope that my comments will be useful.

User avatar
pikachuturkey
Registered User
Posts: 290
Joined: Wed Dec 20, 2006 10:34 pm
Name: Rıza
Contact:

Re: Location of "attachments/add files" button

Post by pikachuturkey » Sat Dec 15, 2018 8:37 am

I will do rename option, thank you. But there isn't a full solution i think 😊
Health For Everyone ==> www.saglikforum.org

mastnacek
Registered User
Posts: 41
Joined: Thu Oct 25, 2018 6:43 am

Re: Location of "attachments/add files" button

Post by mastnacek » Fri Oct 11, 2019 8:14 am

Im thinking about same problem. Button location its not userfriendly. Im using extension for images.guru, but i want same button for standard function. I want have pictures saved on my site, not on another places.

User avatar
Mannix_
Registered User
Posts: 567
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Location of "attachments/add files" button

Post by Mannix_ » Fri Oct 11, 2019 10:33 am

Solution:

1st open posting_attach_body.html find

Code: Select all

<div id="attach-panel-multi" class="attach-panel-multi">
		<input type="button" class="button2" value="{L_PLUPLOAD_ADD_FILES}" id="add_files" />
	</div>
and delete it
2nd open posting_editor.html find <!-- EVENT posting_editor_submit_buttons --> and after add

Code: Select all

			<!-- IF S_SHOW_ATTACH_BOX -->
			<input type="button" class="button2" value="{L_PLUPLOAD_ADD_FILES}" id="add_files" />
			<!-- ENDIF -->
Result:
2019-10-11 12.27.26 localhost a45feb0bb3cb.png
Tested myself and it works.
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Want me to port a style to 3.2.x etc. contact me here or on twitter.

mastnacek
Registered User
Posts: 41
Joined: Thu Oct 25, 2018 6:43 am

Re: Location of "attachments/add files" button

Post by mastnacek » Mon Oct 14, 2019 5:02 am

Mannix_: big thanks it helps

mastnacek
Registered User
Posts: 41
Joined: Thu Oct 25, 2018 6:43 am

Re: Location of "attachments/add files" button

Post by mastnacek » Tue Oct 15, 2019 5:19 am

Mannix_ : hello, i have question on you. How can i make border red color and font bold? I know how but i dont find where. I found taht propertis only on this button is here:

element.style {
position: relative;
z-index: 1;
font-weight: bold; this i add on chrome brower using explore element
border-color: red; this i add on chrome brower using explore element
}

User avatar
Mannix_
Registered User
Posts: 567
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Location of "attachments/add files" button

Post by Mannix_ » Tue Oct 15, 2019 9:07 am

Change

Code: Select all

<!-- IF S_SHOW_ATTACH_BOX -->
			<input type="button" class="button2" value="{L_PLUPLOAD_ADD_FILES}" id="add_files" />
			<!-- ENDIF -->
to

Code: Select all

<!-- IF S_SHOW_ATTACH_BOX -->
			<input type="button" class="button2" value="{L_PLUPLOAD_ADD_FILES}" id="add_files" style="font-weight:bold; border-color:red;" />
			<!-- ENDIF -->
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Want me to port a style to 3.2.x etc. contact me here or on twitter.

mastnacek
Registered User
Posts: 41
Joined: Thu Oct 25, 2018 6:43 am

Re: Location of "attachments/add files" button

Post by mastnacek » Tue Oct 15, 2019 10:03 am

Big thanks man, works great!

Post Reply

Return to “[3.2.x] Styles Support & Discussion”