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: 314
Joined: Wed Dec 20, 2006 10:34 pm
Location: Türkiye(Turkey)
Name: Rıza
Contact:

Location of "attachments/add files" button

Post by pikachuturkey »

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 »

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: 314
Joined: Wed Dec 20, 2006 10:34 pm
Location: Türkiye(Turkey)
Name: Rıza
Contact:

Re: Location of "attachments/add files" button

Post by pikachuturkey »

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: 83
Joined: Thu Oct 25, 2018 6:43 am

Re: Location of "attachments/add files" button

Post by mastnacek »

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: 816
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Location of "attachments/add files" button

Post by Mannix_ »

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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Need help with styling or want me to port a style to 3.2.x etc. contact me here or here.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
mastnacek
Registered User
Posts: 83
Joined: Thu Oct 25, 2018 6:43 am

Re: Location of "attachments/add files" button

Post by mastnacek »

Mannix_: big thanks it helps
mastnacek
Registered User
Posts: 83
Joined: Thu Oct 25, 2018 6:43 am

Re: Location of "attachments/add files" button

Post by mastnacek »

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: 816
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Location of "attachments/add files" button

Post by Mannix_ »

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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Need help with styling or want me to port a style to 3.2.x etc. contact me here or here.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
mastnacek
Registered User
Posts: 83
Joined: Thu Oct 25, 2018 6:43 am

Re: Location of "attachments/add files" button

Post by mastnacek »

Big thanks man, works great!
Post Reply

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