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)

Arrogant-One 10-12-2007 08:09 AM

Quote:

Originally Posted by djrichards (Post 1341802)
I don't get it. His field numbers and order numbers are the same (5 and 6 respectively). What else are you saying that he needs to look at?

I'm asking because I have the exact situation and none of my graphics display.

TIA,

DJ Richards

Help!!!!

I spent about an hour on this stupid Hack and it doesn't seem to be working at all. What have I done wrong?

AO

vitrag24 10-12-2007 03:04 PM

anyone can tell whether it will work on vb 3.6.4?

Arrogant-One 10-17-2007 01:22 AM

Quote:

Originally Posted by vitrag24 (Post 1358311)
anyone can tell whether it will work on vb 3.6.4?

Don't know. I had a professional install it for me on 3.6.7 and it works fine. You select your flag in EDIT PROFILE under USER CP in the navbar.

AO

Digital Jedi 10-19-2007 02:25 AM

Quote:

Originally Posted by Digital Jedi (Post 1322873)
I don't know if anyone will find this useful, but I took the country flag list and ran it through Microsoft Word. They've got a capitalization feature that not too many people know about. And I did a batch rename of the images folder so that all the names would match up. There were a handful of spelling errors in a few country names, so I made sure to correct those and match up the text file with the images. Everything should be formatted and matched properly, but if it isn't let me know.

Like I said, I don't know if you'll find it useful, but since someone mentioned it, I'd thought I'd share what I did for my forum with you. I intend to do the regions folder next, just didn't have the time tonight. I'll post it when it's done.

Took me a while to get around to this. I updated my Regions folder with what I believe to be the correct names and spellings and capitalization. Thought I'd share it with you. Note, your users will have to reselect their flag, and until they do, a broken image will show up. I just went ahead and grouped them altogether.

This should work on any version of vB you have. It's just a template modification. For those having trouble with it, make sure your adding the modifications to the right template. Some of you are using postbit and some of you are using postbit_legacy. If you do the modification to one template, and your forum isn't using that layout, then, naturally, it's not going to show up.

sylar 10-20-2007 08:15 AM

Nice and simple. Very good list of flags as well.

<<Installed>>

vitrag24 10-20-2007 06:53 PM

Cool.
BTW i saw many sites and forums in which after registering countryflag is shown automatic ally.Will this mod work that way or not?
and registered users will need to select flag manually???

peterpigman 10-25-2007 08:34 PM

Ok 3.68 here and working fine, how do you add flags?

Edit: nm figured it out.

Tarola 10-28-2007 03:35 AM

Note:
- for different templates works:
1.Find:

<div class="info">$vbphrase[posts]: $post[posts]</div>

BELOW, ADD:

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

2.Find:
<div>
$vbphrase[posts]: $post[posts]
</div>

BELOW, ADD:

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

iogames 10-30-2007 11:33 PM

Mine stopped working since I've installed another hack... why since this hack is very simple ???

BoneDust 11-20-2007 06:06 AM

I do not see any images? It's probably something stupid as other seem to feel it's an easy install. Images are upload into their appropriate directory, paths are good, postbit legacy code entered etc etc and still no images after 2 hours of trying to see what I am doing wrong.


All times are GMT. The time now is 05:52 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.01247 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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