Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Military Branches in Postbit and Memberslist Details »»
Military Branches in Postbit and Memberslist
Version: 3.0.0, by HMBeaty HMBeaty is offline
Developer Last Online: Feb 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.2 Rating:
Released: 05-10-2009 Last Update: Never Installs: 31
Template Edits
Additional Files Translations Is in Beta Stage  
No support by the author.

This modification basically allows you to show an animated waving flag for which Military Branch your users are in and will be displayed in your Postbit, Postbit Legacy, and Members List.

If you'd like me to add more locations for it to be displayed, just let me know and I'll see what I can do. Thank you!

Don't forget to click "Installed"

Support will be given only to those who have clicked "Installed".

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-15-2009, 11:57 PM
HappyFeet's Avatar
HappyFeet HappyFeet is offline
 
Join Date: Mar 2009
Location: Tn. USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Proudly marked *Installed*

Many Thanks...
Reply With Quote
  #13  
Old 08-16-2009, 12:13 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem. Thanks for using
Reply With Quote
  #14  
Old 08-17-2009, 03:05 PM
HappyFeet's Avatar
HappyFeet HappyFeet is offline
 
Join Date: Mar 2009
Location: Tn. USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question about this Mod. If a member chooses a branch, they cannot uncheck it, only choose another branch. I had to add a text field they could change to, to remove the flag, then erase their text entry and re-save to go back to normal.

Is there a way to add a "None" choice without it displaying "None" in the post bit? Or a way to uncheck your choice?

Many thanks in advance... Great Mod, I like a lot lot lot.:up:
Reply With Quote
  #15  
Old 08-17-2009, 06:34 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HappyFeet View Post
I have a question about this Mod. If a member chooses a branch, they cannot uncheck it, only choose another branch. I had to add a text field they could change to, to remove the flag, then erase their text entry and re-save to go back to normal.

Is there a way to add a "None" choice without it displaying "None" in the post bit? Or a way to uncheck your choice?

Many thanks in advance... Great Mod, I like a lot lot lot.:up:
Try making your field editable by user
Reply With Quote
  #16  
Old 08-17-2009, 10:12 PM
HappyFeet's Avatar
HappyFeet HappyFeet is offline
 
Join Date: Mar 2009
Location: Tn. USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Redlinemotorsports View Post
Try making your field editable by user
I double checked that, not sure what to do here. I did it exactly as instructed, & double checked that too. Maybe a counter needs to be updated? Not sure... I'm no pro but I've attached a screen shot of the profile field set up and as seen in user cp. As you can see it is editable by user, but you can't un-check the radio button. Heck, I couldn't even change it in Admin CP.

I don't want to trouble you, just checking to see if its this way for others... Maybe its just me, I'll see if I can work this out.

Thanks so much.

You can also see the text field I added to get out of it as mentioned earlier.
Reply With Quote
  #17  
Old 08-17-2009, 10:24 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm thinking thats on your end. I can change mine just fine so I'm not sure whats going on with yours.
Reply With Quote
  #18  
Old 08-18-2009, 08:07 AM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed,will try it out and change the flg images to suit my site.nice mod cheers
Reply With Quote
  #19  
Old 08-18-2009, 04:28 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed but only thing is it does not show images ?
sorted,working great with new images.

what i want to know is it possible to have say 4 flags instead of 1 showing.and let user select flag order ?

i have a gaming site and want users to be able to select the games they play in order of skill and let it show this order in profile.
let me know if this can be done or how muuch iit will cost please.cheers
Reply With Quote
  #20  
Old 08-21-2009, 06:33 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HappyFeet View Post
I have a question about this Mod. If a member chooses a branch, they cannot uncheck it, only choose another branch. I had to add a text field they could change to, to remove the flag, then erase their text entry and re-save to go back to normal.

Is there a way to add a "None" choice without it displaying "None" in the post bit? Or a way to uncheck your choice?

Many thanks in advance... Great Mod, I like a lot lot lot.:up:
Quote:
Originally Posted by Redlinemotorsports View Post
Try making your field editable by user
Quote:
Originally Posted by HappyFeet View Post
I double checked that, not sure what to do here. I did it exactly as instructed, & double checked that too. Maybe a counter needs to be updated? Not sure... I'm no pro but I've attached a screen shot of the profile field set up and as seen in user cp. As you can see it is editable by user, but you can't un-check the radio button. Heck, I couldn't even change it in Admin CP.

I don't want to trouble you, just checking to see if its this way for others... Maybe its just me, I'll see if I can work this out.

Thanks so much.

You can also see the text field I added to get out of it as mentioned earlier.
What is happening here is, that after this is tested by the installer, you cannot uncheck your selection to leave it blank. A flag will always show in postbit/postbit_legacy.
I added the option "None", added a blank transparent image named, none.gif.
That still shows a white box in members postbit/postbit_legacy.
I also did as HappyFeet did, by adding a text field for member imput, but, that is kinda silly adding it when all options for military are there for members to pick from.

So, I changed the profile field type to Single-Line Text Box.
Title: Military Branch
Desciption:
Code:
<fieldset id="question" title="Question">
<table cellpadding="4" cellspacing="0" border="0" align="left">
<tr>
<td>What branch of the Military are you in now or previously in?</td>
</tr>
</table>
</fieldset>


<fieldset id="militarybranch" title="Military Branch">
<legend>Please Copy & Paste your selection and add it to the text area below.</legend>
<table cellpadding="4" cellspacing="0" border="0" align="left">
<tr>
<td class="smallfont" colspan="Military Branch">
<tr><td>Army</tr>
<tr><td>Navy</tr>
<tr><td>Air Force</tr>
<tr><td>Coast Guard</tr>
<tr><td>Marine Corps</tr>
<tr><td> Note: Using this option will show the flag for that military branch in every post you make.</tr>
</td>
</tr>
</table>
</fieldset>
Set Default: No
Field Required: No
Field Editable bu User: Yes
Private Field: No
Field Searchable on Members List: Yes
Show on Members List: Yes
Display Page: Edit Your Details

Adding the code to the Discription Box will result the following.



I am not trying to re-write your addon Redlinemotorsports, I am only making it easier on me & others that use your addon, if one of our members selects a branch, out of curiosity & can't remove it.
Reply With Quote
  #21  
Old 08-21-2009, 09:19 PM
HappyFeet's Avatar
HappyFeet HappyFeet is offline
 
Join Date: Mar 2009
Location: Tn. USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
What is happening here is, that after this is tested by the installer, you cannot uncheck your selection to leave it blank. A flag will always show in postbit/postbit_legacy.
I added the option "None", added a blank transparent image named, none.gif.
That still shows a white box in members postbit/postbit_legacy.
I also did as HappyFeet did, by adding a text field for member imput, but, that is kinda silly adding it when all options for military are there for members to pick from.

So, I changed the profile field type to Single-Line Text Box.

I am not trying to re-write your addon Redlinemotorsports, I am only making it easier on me & others that use your addon, if one of our members selects a branch, out of curiosity & can't remove it.
Many thanks blind-eddie! I will make the changes as noted.

I think I may have come up short in explaining exactly what was happening.

Thanks again to Redlinemotorsports for the mod, and thanks to you blind-eddie for a solution!

:up:
Reply With Quote
Reply


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 08:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04362 seconds
  • Memory Usage 2,323KB
  • Queries Executed 26 (?)
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
  • (6)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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete