| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| [ C ] Looking to add military rank insignias | |
|---|---|
| Tweet Topic Started: Jan 12 2015, 10:59 AM (637 Views) | |
| Genosplace | Jan 12 2015, 10:59 AM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
I'm using a very nice code that adds a country flag under a persons avatar and am wondering if something else can be done like it. I want to add an option where people who have served can choose their military insignia and text and add it under their avatar. Would like a change size option that I can set in the code but I'm thinking around 100 x 100 or maybe a little more. Avatars are set at 180 x 180 and would like to play with size to see what looks right. Example - Avatar Title Posts: 36 Group: Member Member #10 Joined: January 1, 2015 Military Member - (Marines, Air Force, etc, here) insignia here(centered under text) Country flag Is this something that can be done? Thanks for any help with this.
Edited by Genosplace, Jan 12 2015, 11:00 AM.
|
![]() |
|
| Cory | Jan 14 2015, 01:39 AM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
It's quite simple to modify my code for separate images. If you'll give me a list of all the military names and image URL's I can easily make this happen. Please don't hotlink the image URL's, upload them to an image host or your own ZetaBoards forum. You probably want to make sure they're not copyrighted too. |
![]() |
|
| Genosplace | Jan 14 2015, 09:36 AM Post #3 |
|
Member
![]() ![]() ![]() ![]()
|
Thanks Cory. What is the best way to upload them to the board and where should I put them on there. |
![]() |
|
| Helena | Jan 14 2015, 11:37 AM Post #4 |
![]()
M is for Mod
![]()
|
Upload them to posts in one of your staff forums. That way, if you wish to update an image, you can edit & replace the attachment without having to change any codes. You can also upload to your file manager. Here are a couple of tutorials that may help you: http://docs.zetaboards.com/board/images http://docs.zetaboards.com/admin/fileuploads |
![]() |
|
| Genosplace | Jan 14 2015, 01:38 PM Post #5 |
|
Member
![]() ![]() ![]() ![]()
|
Thanks Helena, I just made a forum in my Admin section to put them in. I have another question though, it seems like you can only upload 1 image per post. Is that correct? |
![]() |
|
| Helena | Jan 14 2015, 02:00 PM Post #6 |
![]()
M is for Mod
![]()
|
You can add up to 10 attachments per post. When you use your browse function, select (highlight-usually by Control+Left Click) up to 10 image files. They will all upload at once. If you need to get files from different folders, then just edit the post after the first uploads are made and you'll get a new browse field. |
![]() |
|
| Genosplace | Jan 14 2015, 02:35 PM Post #7 |
|
Member
![]() ![]() ![]() ![]()
|
Thanks Helena I appreciate the board lessons. I think I have it somewhat together now. Would be nice to have all the text centered on top of the emblem. I put the text on 2 lines because I thought it may be crowded on 1 line. If you think it would all fit on one line and not look funny that could work too. Thanks Cory. Military Member US Air Force http://z2.ifrm.com/10745/197/0/p1076913/US_Air_Force_180.png Military Member US Army http://z2.ifrm.com/10745/197/0/p1076914/US_Army_180.png Military member US Coast Guard http://z2.ifrm.com/10745/197/0/p1076915/US_Coast_Guard_180.png Military Member US Marine Corps http://z2.ifrm.com/10745/197/0/p1076916/US_Marine_Corps_180.png Military Member US Navy http://z2.ifrm.com/10745/197/0/p1076917/US_Navy_180.png |
![]() |
|
| Cory | Jan 14 2015, 11:48 PM Post #8 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Admin CP Users & Groups Profile FieldsCreate a Multiple choice field with these settings: Title: Military Member On Registration: Your Choice Show field in topics: Yes Admin Only Edit: No Allow selection of more than 1 choice?: No Choices: How to install the code: Admin CP Themes Board Template Below the Board
|
![]() |
|
| Genosplace | Jan 15 2015, 09:44 AM Post #9 |
|
Member
![]() ![]() ![]() ![]()
|
I followed your instructions Cory and it is beautiful in the profile when you go to change it but it's not showing the actual pic on the board. I have text inside the box where the country flag is (under the flag) that says - Military Insignia US Marine Corps Did I leave something out? |
![]() |
|
| Cory | Jan 16 2015, 02:27 PM Post #10 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
The profile field name should be Military Member, otherwise if you want it to be Military Insignia a few changes in the script will have to be made. |
![]() |
|
| Genosplace | Jan 16 2015, 02:44 PM Post #11 |
|
Member
![]() ![]() ![]() ![]()
|
I saw the Military Member and changed Member to Insignia somewhere on the board, not in the code. Did I break it? My main concern is that the insignia pic does not show up in a post. I just got a light bulb over my head, I did break it. I changed the title in the Custom Profile Field thinking it was ok and broke it, sorry Cody.
Edited by Genosplace, Jan 16 2015, 02:49 PM.
|
![]() |
|
| Cory | Jan 16 2015, 02:49 PM Post #12 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
In the code, see what changing this:To this does:
|
![]() |
|
| Genosplace | Jan 16 2015, 02:53 PM Post #13 |
|
Member
![]() ![]() ![]() ![]()
|
You were posting while I was editing my post above you Cory, I did break it. Now that it shows the emblem, pic, insignia... I don't know if the pic is too big but it's not centered, it goes out of the box to the right a little and is cut off. The "Military Member" is justified left also. Edited by Genosplace, Jan 16 2015, 02:55 PM.
|
![]() |
|
| Cory | Jan 16 2015, 03:03 PM Post #14 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Change that to this: It will make them 100x100 pixels in the mini profile. You can change the pixel amount to whatever you desire. |
![]() |
|
| Genosplace | Jan 16 2015, 04:02 PM Post #15 |
|
Member
![]() ![]() ![]() ![]()
|
Thanks Cory! The size thing did the trick. Can the Military Member text be centered instead of being justified left in the box? |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Closed Requests · Next Topic » |
- Pages:
- 1
- 2
| Track Topic · E-mail Topic |
8:30 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)




Users & Groups
8:30 PM Jul 10