vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO (https://vborg.vbsupport.ru/showthread.php?t=229511)

Keythacker 04-19-2013 03:31 PM

Ok IO know this shows as not supported but there must be a way to show the pics all I get is the name of the flag no pictures. I am using 4.21 the latest version

muimui 05-24-2013 10:44 AM

working on 4.2version...thankyou

Charro~ 06-04-2013 11:03 PM

Installed & working after some tweaks....vb 4.2.1

Thanks & Rated ! :up:

joeychgo 06-30-2013 09:56 PM

Quote:

Originally Posted by Charro~ (Post 2425859)
Installed & working after some tweaks....vb 4.2.1

Thanks & Rated ! :up:


What tweaks?

K!nG 07-01-2013 11:56 PM

Quote:

Originally Posted by joeychgo (Post 2431422)
What tweaks?


It worked for me without doing any tweaks ... !!

Macgiber 08-12-2013 11:29 PM

test in 4.2.1
thanks

EazyMack 09-12-2013 10:11 PM

Hello - Have a user who lives in Ohio but chose Vatican as his country. No flag.

Sure, I could just remove Vatican from the list of countries, but...

friendlymela 10-06-2013 10:32 AM

what i do for 4.2.1?

Krusty1231 10-06-2013 12:38 PM

Quote:

Originally Posted by friendlymela (Post 2450376)
what i do for 4.2.1?

1.) Download all the flags and put them into a single folder. Upload that folder to your forum.

2.) Add New User Profile Field Single-Selection Menu:

Title = Country Flag
Description = Add your country flag to your profile:
Profile Field Category = (Uncategorized)
Options = Copy & Paste the Whole contents of the file attached in the first post (OPTIONS)
Set Default = None
Display Order = You Select this (dependant on how many you already have)
Field Required = yes, at registration and profile updating
Field Editable by User = Yes
Private Field = No
Field Searchable on Members List = No
Show on Members List = Yes


Optional Input:

Allow user to input their own value for this option = No
Max length of allowed user input = 100
Field Length = 25
Regular Expression = Leave this Blank

3.) Then, In your Admin Control Panel (ACP)...

ACP -> Styles & Templates -> Style Manager -> <<>> -> Postbit Templates -> select the template that you use (ie Postbit or Posbit_legacy) – This is for the Postbit_Legacy…

FIND:

Code:

<span class="usertitle">
                        {vb:raw post.usertitle}
                    </span>

or if you would like to place it under your number of user posts (to the right of your Postbit) then look for:

Code:

<div class="bppostbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>

                                        {vb:raw template_hook.postbit_userinfo_right_after_posts}
                                </dl>

Or put the code where you want it to appear in the postbit.

This is what I use on 4.2.1 as my code - change the red field X to the field you created.

Code:

<!-- Wy Country Flags Start -->
<div align="center">
<vb:if condition="$post['fieldX']">
    <img src="http://www.myforum.com/Flags/{vb:raw post.fieldX}.GIF" alt="Users Flag!" border="" /></vb:if></div>
<!-- Wy Flags End -->

Just remember the path to your flag folder and change the http://www.myforum.com/flags to whatever path you set.

And @ Eazymack....go back to post 344 - there is a Vatican Flag posted there.

Powerlynx 10-10-2013 01:39 AM

Can I install this in vesion 4.2.1???


All times are GMT. The time now is 03:24 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.01598 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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