vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Profile Enhancements - Military Branches (https://vborg.vbsupport.ru/showthread.php?t=256558)

jimnyc 06-29-2011 03:00 PM

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

Thank you very much, it's VERY appreciated!!!

SVTCobraLTD 02-17-2012 05:47 PM

Anyone try this on 4.0?

GrabMyWrist 02-28-2012 03:01 PM

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.

MG Zebra 10-07-2012 01:36 PM

Could you include the psd file you used for these or something so we could edit them ourselves to fit our forum needs?

GhostHunter2010 10-11-2012 05:38 PM

hi can create somethind like admin moderator owner etc :P

afmarko99 02-11-2014 01:57 AM

Does this work in 4.2.2?

ozzy47 02-11-2014 02:00 AM

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.

afmarko99 02-11-2014 02:16 AM

Quote:

Originally Posted by ozzy47 (Post 2480330)
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?

ozzy47 02-11-2014 02:24 AM

Did you try the template edits described in the readme, Find in Member Info Templates > MEMBERINFO:

afmarko99 02-11-2014 02:50 AM

Quote:

Originally Posted by ozzy47 (Post 2480337)
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.


All times are GMT. The time now is 01:30 PM.

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.01181 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete