The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Military Branches Details »» | |||||||||||||||||||||||||||||||
Military Branches v1.01 Created by SVTCobraLTD for vb4 Instructions for vb4 by BirdsOPrey5 This will add a small Military Banner to your postbit templates. I found this useful for my forums so I hope you do. See the screen shots for more information. Right now it only contains Army, Navy, Marines and Air Force. Currently the images are made with a white background and a dark gray background. I am willing to help make the images match the background on your board for members who donate. UPLOAD FILES ADD USER GROUPS TEMPLATE EDITS ENJOY!! Do not forget to Mark as Installed Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
trackpads |
Comments |
#2
|
|||
|
|||
Can you create branch of service with Veteran tags such as Marine Corps Veteran or USMC Veteran, etc? Even Operation Enduring/Iraqi Freedom tags? Don't forget National Guard and Reserves. Did you know that 70% of the US deployed troops are Reserves & National Guard. Just suggestions if you decide to create an update. Ooh-Rah and Hooah, thank you for your support!!
SGT Chris Larson USMC Veteran 1998-2002 US Army National Guard 2008-Present |
#3
|
||||
|
||||
Not every one in the U.S. Army
And not every one is interested in the U.S. Army You can modify the MOD to work, according to their works, doctor,teacher accountant engineer etc etc. somthing like this MOD https://vborg.vbsupport.ru/showthread.php?t=229540 but for jops This is only my suggestion thank you |
#4
|
|||
|
|||
I cant get this to work. I used the .GIF file in Welshy's Country Flags Code and the picture wasn't coming up. Got any ideas?
|
#5
|
||||
|
||||
Are you getting a broken image placeholder or nothing at all? Are you trying it in both the postbit and profile?
|
#6
|
||||
|
||||
I had a mistake in the code... if you followed the instructions posted please change the line:
Code:
<vb:if condition="$vbulletin->userinfo[usergroupid] == 6"><img src="http://www.qapla.com/ju/jump.gif" /><br /></vb:if> Code:
<vb:if condition="$userinfo[usergroupid] == 6"><img src="http://www.qapla.com/ju/jump.gif" /><br /></vb:if> |
#7
|
|||
|
|||
I have added this code to my forum but am having a little trouble. I got it to work fine by "changing" a users usergroup, but ran into too many problems with prior permissions and such. I then went to use the additional usergroup option and cannot get it to work. My new forum ID's are 17,18,19,20 - can someone see what I possibly did wrong here? (I suck with coding!)
Code:
<vb:if condition="in_array($post[usergroupid], array(17,18,19,20) && is_member_of($post, 17)"><img src="images/misc/army_white.gif" border="0" alt="" /></vb:if> <vb:if condition="in_array($post[usergroupid], array(17,18,19,20) && is_member_of($post, 18)"><img src="images/misc/airforce_white.gif" border="0" alt="" /></vb:if> <vb:if condition="in_array($post[usergroupid], array(17,18,19,20) && is_member_of($post, 19)"><img src="images/misc/marine_white.gif" border="0" alt="" /></vb:if> <vb:if condition="in_array($post[usergroupid], array(17,18,19,20) && is_member_of($post, 20)"><img src="images/misc/navy_white.gif" border="0" alt="" /></vb:if> |
#8
|
||||
|
||||
Quote:
Change: Code:
in_array($post[usergroupid], array(17,18,19,20) Code:
is_member_of($post, 17,18,19,20) Code:
<vb:if condition="is_member_of($post, 17,18,19,20)"><img src="images/misc/airforce_white.gif" border="0" alt="" /></vb:if> |
#9
|
|||
|
|||
Thanks so much!! I added the following code, but all 4 images appear for a member that is only added to the "army" usergroup which is number 17.
Code:
<vb:if condition="is_member_of($post, 17,18,19,20)"><img src="images/misc/airforce_white.gif" border="0" alt="" /></vb:if> <vb:if condition="is_member_of($post, 17,18,19,20)"><img src="images/misc/army_white.gif" border="0" alt="" /></vb:if> <vb:if condition="is_member_of($post, 17,18,19,20)"><img src="images/misc/marine_white.gif" border="0" alt="" /></vb:if> <vb:if condition="is_member_of($post, 17,18,19,20)"><img src="images/misc/navy_white.gif" border="0" alt="" /></vb:if> |
#10
|
||||
|
||||
Quote:
I don'r know which group corresponds to what but it looks like you want: Code:
<vb:if condition="is_member_of($post, 18)"><img src="images/misc/airforce_white.gif" border="0" alt="" /></vb:if> <vb:if condition="is_member_of($post, 17)"><img src="images/misc/army_white.gif" border="0" alt="" /></vb:if> <vb:if condition="is_member_of($post, 19)"><img src="images/misc/marine_white.gif" border="0" alt="" /></vb:if> <vb:if condition="is_member_of($post, 20)"><img src="images/misc/navy_white.gif" border="0" alt="" /></vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|