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)

bremereric 12-11-2011 03:40 PM

Quote:

Originally Posted by bremereric (Post 2276769)
I put the same code into the postbits for two other sytles I have and I get the big red x on those sytles. It works fine on vb4 default sytles. I would also like to know where to install the code on postbit legacy in case I want to switch my forum over to that someday. If you go to my site you can see that I am using what I believe to be postbit legacy but the template I added the code to was postbit.

https://vborg.vbsupport.ru/external/2011/12/8.gif

I fixed it by changing the code to this in the black and black/red styles.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field5']"><style="text-align:left"> Country:</dt> <img src="http://www.aspenandvolare.com/images/buttons/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" /></vb:if>
<!-- Wy Flags End -->

datoneer 12-12-2011 12:28 PM

Quote:

Originally Posted by Welshy2008 (Post 2276461)
Hi,

You have the wrong route to your flags folder.

You have:

http://www.imspot.org/images/styles/ColorTheory/buttons/flags/{vb:raw post.field5}.GIF

It should be:

http://www.imspot.org/images/buttons/flags/{vb:raw post.field5}.GIF

Let me know how you get on.

Now it's working. Thank you Welshy

diades 12-17-2011 06:24 PM

Just installed this on version 4.1.9, working fine so far!

Thanks for the work.

POL_ED 12-23-2011 12:19 AM

With each style is ok
Code:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field5']"><style="text-align:left"> </dt> <img src="images/buttons/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" /></vb:if> 
<!-- Wy Flags End -->


iSins 12-29-2011 01:11 PM

How would i enable this to work on Member Profile? "member.php"

Bluefin221 01-02-2012 02:19 PM

There is no Northern Ireland? Is it possible this could be added?

Fready 01-04-2012 08:01 AM

why does the Wales flag as UK on it?
It's not really the UK flag is it.

vb50kgpoo 01-04-2012 03:08 PM

Wales and Northern Ireland? I would like NATO and one other we can not mention!

Anyway, I just wanted to say this mod is better than presented as it also acts as a Spammer warning system. I have Spam-o-matic but some spammers get through. However, all those show the flag "Aaland" which is the first flag available I guess; they use bots that are not programed for selecting which country flag they want. So, whenever I see a new member with the Aaland flag, I do a Google on their IP address and lo and behold they always come back with spammer warnings.

So the product is great, made greater by the fact it highlights the spammers that get past Spam-om-matic.

:up::up::up:


Nid yw Cymru, rhan o'r UK yw hi?

CharlieDelta 01-04-2012 06:13 PM

Quote:

Originally Posted by Antique-Swords (Post 2283780)
I have Spam-o-matic but some spammers get through. However, all those show the flag "Aaland" which is the first flag available I guess; they use bots that are not programed for selecting which country flag they want. So, whenever I see a new member with the Aaland flag, I do a Google on their IP address and lo and behold they always come back with spammer warnings.

Funny. I use it as a tip off this as well. :D

BrightStar 02-17-2012 08:57 PM

Could someone help me with the code please? My flags directory is located in /forums/images/buttons/flags/image.GIF and everytime I've to upload the directory into the style directory as that's where the script tries to look for.

Is it possible to define a custom location of the directory rather than looking into the style's directory?

Cheers


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