vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Flags - Country and Region (https://vborg.vbsupport.ru/showthread.php?t=155223)

iogames 12-07-2007 11:21 PM

Quote:

Originally Posted by towermatt (Post 1390744)
It creates a profile field that the user needs to fill in.

But its a drop down so pretty easy.

Quote:

Originally Posted by nyunyu (Post 1396972)
Installed this hack but nothing happens? I suppose this hack shows a flag on postbit? Can anyone help me?

Look here.. http://www.animeheist.com/forum/show...61&postcount=1

Profile Field is the problem ;)

nyunyu 12-08-2007 09:12 AM

iogames, what do you mean by profile field problem? care to explain a little bit more? Thanks

serverguy84 12-23-2007 11:19 AM

This mod shows up in the memberlist. Except it shows up as Canada USA , etc.

Is there any way instead of the writing it shows the flags instead

yeku 12-23-2007 11:28 AM

Reserved

thanks

yeku 12-25-2007 04:53 PM

I have the same question please...:confused::confused:

Quote:

Originally Posted by tiredoff (Post 1358028)
Hi
Admincp > etc.......... it is ok
Options - [copy and paste list of countries in country_flags_list.txt to this option field] But where i can find it?
thank you


serverguy84 12-25-2007 05:07 PM

If you go to Admin->User Profile Fields->Add New User Profile->Single Selection Menu>

In the box where it says
"Options
Enter the options that the user can choose from. Separate each option with a new-line (carriage return)."

That is where you put in all the flags list

yeku 12-25-2007 05:23 PM

Ok, now I understand it

Thanks;);)

sypherzone 01-20-2008 03:46 AM

I tried installing it but it isn't showing? What could be the problem?

Digital Jedi 01-20-2008 07:40 AM

Quote:

Originally Posted by sypherzone (Post 1424880)
I tried installing it but it isn't showing? What could be the problem?

Most common mistake is not putting it into the postbit template that you use for your forum.

postbit (Like on this forum, Avatar and User Info is on top of each post)
postbit_legacy (Avatar and User Info is on the side)


Quote:

Originally Posted by BoneDust (Post 1390811)
What would cause the images to not show?

Here's what I posted in the postbit - legacy

<!-- / flags start -->
<div>
<if condition="$post[field8]"><img src="images/flags/$post[field8].gif"></if>
<if condition="$post[field9]"><img src="images/region/$post[field9].gif"></if>
</div>

My profile fields are 8 and 9

I uploaded the images to images/flags and images/region

Any thoughts? I've been trying to figure this out for some time and this is the first addon I've had a problem with.


It should be showing up, unless your forum isn't using postbit_legacy. Are the images not showing at all, or are they broken images? If they're broken, then you might need to add the flags folders to your skin's images folder, and not the one in your forum root.

ashley53680 01-24-2008 08:26 PM

Beautiful hack that worked perfectly for what I need. I sort of rewrote to meet my needs. I run a local forum so I don't need country flags but more of an area identifier.

I was wondering however, how would you make it a conditional on if the user wants it displayed in their postbit? The field is already something I had in the profile, but now I just added images to go along with the field to display on the postbit. I have some users who don't want it displayed and I am at a loss on how to accomplish that with your hack.

Thanks so much!!!!!

Ash


All times are GMT. The time now is 07:12 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.01844 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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