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 03:35 PM

Sent and this is the url - http://www.dvdnextcopysupportforum.com/testvb

Charlie98902 11-26-2009 03:36 PM

That is correct no folder labeled flags now.

LordDB 11-26-2009 04:41 PM

ensure you have the correct spelling of the image 'button or buttons folder! Use this:
Code:

<img src="{vb:stylevar imgdir_buttons}/flags/{vb:raw post.field5}.GIF" alt="My Country" border="" />
worth adding also about 'GIF or gif' check it if you have the red 'x' showing...then it'll show you the image path!

Charlie98902 11-26-2009 04:47 PM

This is what is used now as the flag.gif are in the button folder only now.
Code:

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


LordDB 11-26-2009 05:04 PM

change:

$post[field11].GIF

to:

$post[field11].gif

Charlie98902 11-26-2009 05:06 PM

But all the gif flags are labeled GIF?

Charlie98902 11-26-2009 05:25 PM

Thanks everyone but to be honest this is more hassle than it is worth to be honest. Just not going to use it. Might try another one if another mod gets posted.

Welshy2008 11-26-2009 06:35 PM

FOR vB4 Beta - This code will add Alt Text to your Flag on mouseover.

Find:

Code:

</vb:if>
                                        <span class="usertitle">
                                                {vb:raw post.usertitle}

ADD Below:

Code:

<!-- Country Flags Start -->
<vb:if condition="$post['fieldX']">
        Country: <img src="http://www.yourforumaddress.com/images/buttons/$post[field1X].GIF" alt="Users Flag on yourforumnamehere!" border="" />
</vb:if>
<!--// Country Flags End -->


** SAVE TEMPLATE **


** Replace the ‘X’ with your FieldID number **


That should work for you?!

Welshy2008 11-26-2009 06:40 PM

Charlie, It's a shame - all it would have took is a look in your root directory and it would have been up and running. I can almost guarantee that you have put them in a wrong root folder somewhere.

It is a common mistake, and one that I have done in the past too.

Not to worry though Mate.

Charlie98902 11-26-2009 06:43 PM

It is fine thanks for the efforts.


All times are GMT. The time now is 05:50 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.01184 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)bbcode_code_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