vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Military Branches in Postbit and Memberslist (https://vborg.vbsupport.ru/showthread.php?t=213359)

blind-eddie 08-21-2009 09:25 PM

Glad I could help.

atonement 08-29-2009 03:48 PM

Installed, I LOVE IT!!!!!!!!!!!!!!!!! THANK YOU

-Semper Fi

FTG STRYKER FG 10-21-2009 07:43 AM

Works perfectly. Thx. Have a few military members in our community that will appreciate this as much as me.

Gav-n-Tn 10-24-2009 06:37 AM

I want the icon to show next to the avatar but I don't want it in the member's list. Where do I need to leave the code out (out of the 3 places to put it as instructed) so that it just shows in the posts and not there? I THINK I already know but I'd like to be sure. Also, has anyone figured out how to make it allow a member to de-select without leaving a permanent pic of some sort? Even with the translucent pic, it's still there.

txsbmw 10-28-2009 04:54 PM

Question....I already have a Single-Selection Menu field so my members can select their branch. Is there anyway to go ahead and use that field without having to create a Single-Selection Radio Button field?

HMBeaty 10-28-2009 08:03 PM

Quote:

Originally Posted by txsbmw (Post 1907463)
Question....I already have a Single-Selection Menu field so my members can select their branch. Is there anyway to go ahead and use that field without having to create a Single-Selection Radio Button field?

Yes, if I remember correctly, you would use something like this...
HTML Code:

<img src="http://www.yoursite.com/[fieldx].gif" border="0" alt="" />
1.) Change fieldx to your field number
2.) Change .gif to your images file extensions (if applicable)
3.) Make sure your images are named exactly how they are for the fields. For example, if you have a selection Marine Corps, you would have to name your image Marine Corps.gif

:)

txsbmw 10-29-2009 12:38 PM

Nope didnt work, I just get the red x. When I right click for properties it shoes it going to the right directory but just says [field5].gif

HMBeaty 10-29-2009 11:08 PM

Whoops! Sorry! Try this one, made a mistake in the code I posted:
HTML Code:

<img src="http://www.yoursite.com/$userinfo[fieldx].gif" border="0" alt="" />


All times are GMT. The time now is 01:55 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.01519 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_html_printable
  • (1)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
  • (8)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