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 Flag and simcard model and .. (https://vborg.vbsupport.ru/showthread.php?t=228371)

Charlie98902 11-26-2009 02:47 PM

Quote:

Originally Posted by Welshy2008 (Post 1921234)
There is No square with a red X in it - is there?

No there isn't.

Welshy2008 11-26-2009 02:49 PM

Move all the Flag GIFs to the "buttons" folder and forget about the two flas folders Charlie.

;)

MikeHolohan 11-26-2009 02:53 PM

finally got this to work... thanks...

thanks to you too Welshy2008, you were a big help...

Welshy2008 11-26-2009 02:55 PM

You're Welcome Mike,

I'm happy to put back into the vB.org community - I have taken enough out of it. :|

bart6767 11-26-2009 02:58 PM

Good to see you got it to work and can you post up everything you did to get it right ?

Charlie98902 11-26-2009 02:59 PM

Okay saw a bit I forgot to edit. The field # did that and in firefox there's nothing but in IE there is a red x. I don't want the flag gifs to be scattered. Can I not use the folder flags?

Now the code was edited to: / public_html / testvb / images / buttons / Flags /

Still as mentioned in this post.

Welshy2008 11-26-2009 02:59 PM

Charlie, Have you changed the Green code bit below, on your forum


Code:

<span class="username guest">{vb:raw post.username}</span>
                                        </vb:if>
                                        <span class="usertitle">
                                                {vb:raw post.usertitle}
<!--  Flags Start  -->
<if condition="$post['field7']">
        Country: <img src="http://www.Your ForumAddress.com/testvb/images/buttons/Flags/$post[field7].GIF"/>
<!--//  Flags End  -->
                                        </span>
                                        {vb:raw template_hook.postbit_userinfo_left}
                                        <vb:if condition="$show['reputation']">
                                                <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
                                        </vb:if>


Welshy2008 11-26-2009 03:04 PM

Charlie it is the address that is wrong.

The only reason that I put them in three folder is that as ONE folder - it was too bid to Upload, I could only do it in three.

Like I mentioned above take ALL of the flags out of EACH of the three folders and store them ALL in the "buttons" folder. DO not put the three seperate folders in the Buttons folder! ONLY the contents of each.

If you do that and then add the following - it should work on you test forum...

Code:

<!--  Flags Start  -->
<if condition="$post['field7']">
        Country: <img src="http://www.Your ForumAddress.com/testvb/images/buttons/$post[field7].GIF"/>
<!--//  Flags End  -->


Charlie98902 11-26-2009 03:05 PM

Yes getting red x in IE8 and nothing but Country: in firefox.

Code now as it is in my template.

Code:

<!--  Flags Start  -->
<if condition="$post['field11']">
        Country: <img src="http://www.dvdnextcopysupportforum.com/testvb/images/buttons/Flags/$post[field11].GIF"/>
<!--//  Flags End  -->

I can only assume that you must absolutly must put the gifs in the buttons folder with no folder for the flags?

Welshy2008 11-26-2009 03:05 PM

On the red x, Charlie, if you right click it, it will show the route that you have the flag.GIFs stored.

It has to the same as my code in the post above.


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