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)

sensuison 04-05-2008 12:26 PM

Hi,

I just followed all the instructions on installing this flag mod but I couldn't see my flag under my profile on the thread?

For example: The administrator must have a flag under the picture:

http://philippinebasketball.net/foru...thread.php?t=2

I added this inside postbit_legacy

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

..and uploaded the images inside http://www.philippinebasketball.net/images/flags and region

Any help?

Thanks.

sensuison 04-05-2008 12:41 PM

Ok, never mind, I got it working. I pasted it on postbit only, not the postbit_legacy.

sensuison 04-05-2008 11:04 PM

question guys, do you guys have a new list of country flag images? a better graphics or 3D something?

Digital Jedi 04-06-2008 01:17 AM

A few posts back I posted an updated list with corrected spellings and Ireland flags added. But that's about it so far.

sensuison 04-07-2008 11:35 PM

Ok, hmm i think i might just search for a new one or make a new one. I just noticed that the flags are quite pixilized or distorted.

bago200 04-08-2008 05:51 PM

Yeah, the flags are not all what i expected it to be but can work for now. I also noticed that if nothing shows up after copying the code to postbit_legacy its best to try putting the code in postbit only.


Find the code:

<div>
$vbphrase[posts]: $post[posts]
</div>

As mentioned in the installation and copy underneath the first code found.

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

Notice i have my field#s in, not the display #'s

Copy the folders 'flags & 'region' to your www.site-name.com/forum/images folder or 'styles' folder of style been used.

Options for flags selection should be in user profile and thats it.

P.S. works well on 3.6.9

clothahump 04-08-2008 08:18 PM

Installed and Uninstalled within 30 minutes, images do not show for me, maybe try it again when it works.

Digital Jedi 04-08-2008 09:45 PM

Quote:

Originally Posted by sensuison (Post 1485579)
Ok, hmm i think i might just search for a new one or make a new one. I just noticed that the flags are quite pixilized or distorted.

Pixelated? There's no reason they should be pixelated. Did you alter the size of the images at all? These images are very tiny and will distort if you try to enlarge them. They should look like this, exactly like they do in the Screenshot:



Quote:

Originally Posted by bago200 (Post 1486121)
Yeah, the flags are not all what i expected it to be but can work for now. I also noticed that if nothing shows up after copying the code to postbit_legacy its best to try putting the code in postbit only.

That's because postbit and postbit_legacy are two different style options. For example, vBulletin.org uses postbit, with the Avatars and User Information above everyone's posts. But some forums, like mine, use postbit_legacy, with the avatar and info to the left hand side of all the posts. You put this code in whichever template your using for your forum.


Quote:

Originally Posted by clothahump (Post 1486203)
Installed and Uninstalled within 30 minutes, images do not show for me, maybe try it again when it works.

This is a very simple template edit. It works on everyone's forum, regardless of version. But if it's not working for you, then you've put the code in the wrong template or placed it in the wrong spot.

birdie 04-13-2008 06:10 AM

Installed and working great.

Is it possible to add a "world" or "global" flag? Perhaps the United Nations flag.

I have two user names on my forum; one is 'Admin' in which I list my location as cyberspace - I use this user name for admin & mod functions, so do not want to be linked to any particular country; the other username is my name in which I use to take part in discussions, so do not mind having that name linked to a particular country.

GremlinPrince 05-18-2008 12:04 PM

thank you for this :) installed


All times are GMT. The time now is 01:27 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.01681 seconds
  • Memory Usage 1,751KB
  • 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