vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Country Flags - Postbit & Postbit_Legacy. vB 3.8.X (https://vborg.vbsupport.ru/showthread.php?t=238863)

Welshy2008 03-26-2010 06:32 PM

Quote:

Originally Posted by Aztlan (Post 2010661)
Good plugin :)

a question,
is there a way to return to normal, without any flag?

once users have selected a flag, they can't return to normal since the software is saying a flag is required..


I trust you mean that you don't want the "Flag" to be compulsory?


If so, Go into and edit the "Field Required" part of your custom profile field, that you set up.

Aztlan 03-26-2010 09:15 PM

I tried that
but if I choose any of the "No" options, the country drop down menu disappears completely
and the other "yes, always" option is the same as "yes, at registration and profile updating" in which a flag is required, so the user will always be stuck with a flag,

I thought of a workaround, creating a transparent flag image, and adding an option of "None" to the list

and it works

Welshy2008 03-26-2010 10:04 PM

Quote:

Originally Posted by Aztlan (Post 2010791)
I thought of a workaround, creating a transparent flag image, and adding an option of "None" to the list

and it works



But the Text and flag will still show.


If you go to your Country Flags "User profile field" -> and under "Set Default" - select the "Yes, including a first blank option" from the dropdown menu -> click "Save".


What this will do is, your members that do not wish to have/display their country flag, all they need to do is to select the "Blank Option" at the top of the dropdown menu, and nothing at all will show. Not even text.

Let me know how you get on, Mate.

:)

Aztlan 03-27-2010 12:17 AM

1 Attachment(s)
I did that
still same thing, if I select the blank option in the usercp, and then click save, it tells me a flag is required.

what I did is slightly modify the code for the postbit, just deleting the "Country:" portion
doing that only shows the flag

so with the transparent flag image, nothing will show when the user selects "None" option, Like if nothing was there

I attached the transparent image for those interested (you will notice nothing is there lol, but is there.. :) )

1) add "None" to the country list (preferably at the top of the list)
2) add the image to the folder where you have the rest of the flag images
3) this will work best if you delete the "Country:" portion in the code

anyway, thanks again for the mod, members of my forum liked the idea :)

Welshy2008 03-27-2010 09:40 AM

I see,

Perhaps you can't change it for some bizarre reason, once you have set it up from the start, as a required field.

In fact, I remember something along these lines with mine.

Why not try again, by deleting the "Custome profile field" and redoing it from the start, with a not required field? But remember to change the "FieldID" as this will now be different.

Let me know how you get on, if you do it, please?

Aztlan 03-28-2010 03:01 AM

I tried that, same thing.. I am just going to stay with the workaround I mentioned above
thanks though

Hellmaster 03-30-2010 06:02 AM

How to add the FLAG.gif to the profile (tab=aboutme)? It only shows as text...

Welshy2008 04-01-2010 12:38 PM

Quote:

Originally Posted by rockdrig (Post 2012675)
How to add the FLAG.gif to the profile (tab=aboutme)? It only shows as text...

Yes, Unfortunately.

matthewhotdude 04-12-2010 02:11 PM

wheres the Vatican flag?

Welshy2008 04-12-2010 04:47 PM

1 Attachment(s)
Quote:

Originally Posted by matthewhotdude (Post 2019954)
wheres the Vatican flag?



Attached is the "Vatican" flag.


All times are GMT. The time now is 01:32 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.01189 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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