Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Military Branches Details »»
Military Branches
Version: 1.01, by SVTCobraLTD SVTCobraLTD is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.1.0 Rating:
Released: 01-04-2011 Last Update: Never Installs: 9
Template Edits
 
No support by the author.

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

File Type: zip MilitaryBranches1.01.zip (47.5 KB, 101 views)

Screenshots

File Type: gif screen1.gif (7.0 KB, 0 views)
File Type: gif screen2.gif (7.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
trackpads

Comments
  #12  
Old 06-29-2011, 03:00 PM
jimnyc jimnyc is offline
 
Join Date: Aug 2003
Location: New York
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That did it, it's now working perfectly!!!

Thank you very much, it's VERY appreciated!!!
Reply With Quote
  #13  
Old 02-17-2012, 05:47 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone try this on 4.0?
Reply With Quote
  #14  
Old 02-28-2012, 03:01 PM
GrabMyWrist's Avatar
GrabMyWrist GrabMyWrist is offline
 
Join Date: Feb 2011
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine on 4.1.10 using secondary groups and the following code in place of the outlined code.

Code:
<vb:if condition="is_member_of($post, xx)"><img src="images/misc/army.gif" border="0" alt="" /></vb:if>
<vb:if condition="is_member_of($post, xx)"><img src="images/misc/navy.gif" border="0" alt="" /></vb:if>
<vb:if condition="is_member_of($post, xx)"><img src="images/misc/airforce.gif" border="0" alt="" /></vb:if>
<vb:if condition="is_member_of($post, xx)"><img src="images/misc/marines.gif" border="0" alt="" /></vb:if>

Replace xx with your secondary usergroup number.
Reply With Quote
  #15  
Old 10-07-2012, 01:36 PM
MG Zebra MG Zebra is offline
 
Join Date: Sep 2012
Location: So-Cal
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you include the psd file you used for these or something so we could edit them ourselves to fit our forum needs?
Reply With Quote
  #16  
Old 10-11-2012, 05:38 PM
GhostHunter2010 GhostHunter2010 is offline
 
Join Date: Nov 2010
Location: London UK
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi can create somethind like admin moderator owner etc :P
Reply With Quote
  #17  
Old 02-11-2014, 01:57 AM
afmarko99's Avatar
afmarko99 afmarko99 is offline
 
Join Date: Jan 2007
Location: Louisiana
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work in 4.2.2?
Reply With Quote
  #18  
Old 02-11-2014, 02:00 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure they are there, it depends on what layout you use, the edits will be done in either the postbit template or the postbit_legacy template.
Reply With Quote
Благодарность от:
afmarko99
  #19  
Old 02-11-2014, 02:16 AM
afmarko99's Avatar
afmarko99 afmarko99 is offline
 
Join Date: Jan 2007
Location: Louisiana
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Sure they are there, it depends on what layout you use, the edits will be done in either the postbit template or the postbit_legacy template.
Thanks Ozzy I found them. Everytime I step away from VB for awhile I feel like a noob. Then I make a post and five seconds later I find what I was looking for. LoL

Now I need help trying to get these images to display under the users name in his/her profile as well.

Anyone?
Reply With Quote
  #20  
Old 02-11-2014, 02:24 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you try the template edits described in the readme, Find in Member Info Templates > MEMBERINFO:
Reply With Quote
  #21  
Old 02-11-2014, 02:50 AM
afmarko99's Avatar
afmarko99 afmarko99 is offline
 
Join Date: Jan 2007
Location: Louisiana
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Did you try the template edits described in the readme, Find in Member Info Templates > MEMBERINFO:
Yes, but the coding wasn't exactly like the code in the instructions. His instructions show usertitle then eventually </h1>.

In the actual code for 4.2.2 there are some other entries including reputation. I placed it under the </h1> but I don't see anything in the members profile.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13984 seconds
  • Memory Usage 2,333KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete