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)

hhumas 07-24-2011 11:59 PM

will it work with 4.1.4

Rakehel 08-01-2011 08:15 AM

Can anyone elaborate upon what n00b3t is saying here. On my server, there's a directory for each style?

Quote:

Originally Posted by n00bl3t (Post 2219030)
Ah can someone help me!

I am on 4.1.4 and I did everything perfectly. All images are in the right folders/path but for some reason, I can't get the pictures to actually show. Users can pick their flag/option and it just shows the name, not the picture. Any ideas?


-----------EDIT--------------------

NVM! Got it working.

My problem is I had the images under images/buttons/flags but it had to be under YourStyle/buttons/flags

! :)


CharlieDelta 08-02-2011 05:05 PM

Quote:

Originally Posted by Rakehel (Post 2227558)
Can anyone elaborate upon what n00b3t is saying here. On my server, there's a directory for each style?

Yes that is correct. It is actually located in images/yourstyle/buttons/flags.
This is assuming you have custome styles on your forum other than the default style.

Rakehel 08-03-2011 08:20 AM

Thank you Charlie. I do have 5 styles in addition to the default and mobile, but I'm not finding them anywhere in my forum directory. I see the "CP Styles" folder.

I'm asking because we like the flags mod, and a similar zodiac mod, but I can't get the flags to display no matter what I do. Just the names, and right-clicking one even allows me to access the image file's properties. The modification for vb 3.8.6 and earlier worked fine for years.

I've checked chmodding. I've tried different directories for the flags folder. I've verified the listing and spellings in the Admin CP. The custom profile field is set up, the same as the older flags mod.

I tried using the orignal template code listed here, but it didn't work. I also wanted the border/box like the rest of the info in the post display-member info data. Can anyone tell me why this code won't work?

Quote:

<div class="post_field"><dt><vb:if condition="$post['field6']"><style="text-align:left">My Flag</dt><img src="{vb:stylevar imgdir_flags}{vb:raw post.field6}.GIF" align="middle" alt="{vb:raw post.field6}" border="0" /></vb:if></dd></div>

Any help would be genuinely appreciated.

CharlieDelta 08-03-2011 02:20 PM

Quote:

Originally Posted by Rakehel (Post 2228589)
but I'm not finding them anywhere in my forum directory. I see the "CP Styles" folder.

This is your problem. You need to add the flags file that contains all the images to your proper sytle directory. Look something like this = forum/images/tribalgold/buttons/flags
I had a look at your site with firebug and your images are not in any directory.

Rakehel 08-04-2011 07:26 AM

The images were located in 3 directories in an effort to test paths. What are you talking about?

Will that code work or not?

CharlieDelta 08-04-2011 02:54 PM

If you have an image path of "flags" in your stylevars then I guess the code would work, otherwise you should use the imgdir_button. Another option you could try is a direct url, something like
Code:

<img src="http://www.yoursite.com/forum/images/buttons/flags/{vb:raw post.field6}.GIF"
I tested this and it worked for me.

Charged 08-12-2011 03:09 PM

Quote:

Originally Posted by gyaronn (Post 1940245)
there is a flag that is messing for: Faroe Islands i have added it

I've found a matching animated one for anyone that wants it.

https://vborg.vbsupport.ru/external/2011/08/22.gif

K!nG 08-12-2011 11:55 PM

Quote:

Originally Posted by K!nG (Post 2224375)
Something weird happend.... i had it installed on like 4 different skins and out of nowhere it went away from 2 skins but its still there in other 2... i uploaded everything again ... edit templates again but still doesn't show anything at all :O can someone help me on this one ???

Any info on this one ???? why its showing in 2 styles and not showing in 2 styles all of sudden while it was working just fine before on all 4 styles :::(

CharlieDelta 08-13-2011 01:24 PM

Quote:

Originally Posted by K!nG (Post 2232847)
Any info on this one ???? why its showing in 2 styles and not showing in 2 styles all of sudden while it was working just fine before on all 4 styles :::(

Have you ensured your code is correct in the 2 style templates? Are the images in the correct directory for each style?


All times are GMT. The time now is 01:55 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.01403 seconds
  • Memory Usage 1,745KB
  • 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
  • (7)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