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:23 PM

1 Attachment(s)
Yes I get this:

Welshy2008 11-26-2009 02:24 PM

The contents of the OPTIONS.XML file are to be Copied and Pasted into the "Options" section of your Add new user profile field, as I described in my post #12. The list was too long for me to add to the thread. These are the options that your member will see (Drop down Menu) when he or she registers or Edits their Profile.


THE OPTIONS.xml IS NOT to be uploaded as a file. Just copy and paste its content into the Options as described above.

Charlie98902 11-26-2009 02:27 PM

Thanks I will try that now. I tried to upload it :D

Welshy2008 11-26-2009 02:30 PM

I can see that there is a stray ] in the code I gave - I am no coder, but could that give an error too?

that trailing </if> has to be inserted somewhere to close it, Yes?

Charlie98902 11-26-2009 02:31 PM

Nope I have done that after all. It just says User Flags! still though. As you see I added the flag path in the first code but can't use it as I get the </if> condition error. If I remove it all is well but no flags show in the posts.

Charlie98902 11-26-2009 02:32 PM

Quote:

Originally Posted by Welshy2008 (Post 1921227)
I can see that there is a stray ] in the code I gave - I am no coder, but could that give an error too?

that trailing </if> has to be inserted somewhere to close it, Yes?

I would think so as well as it begins with if condition.

Charlie98902 11-26-2009 02:35 PM

Okay took out the </if> and instead of users flag! it now says Country:

So we are close somewhere to make this work in postbit.

Welshy2008 11-26-2009 02:37 PM

Can you PM me Your forum Address please?

Welshy2008 11-26-2009 02:46 PM

There is No square with a red X in it - is there?

Charlie98902 11-26-2009 02:46 PM

This is on a test site. I can post the resulting code.

This is in the postbit and I posted a bit of code before and after this is the default code besides the flag code.

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/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>

Here is the image path to my flags:

I found a mistake I made corrected in in the image path code but still no go.

/ public_html / testvb / images / buttons / Flags / Flags /

The second flags is the folder with all the gifs. Should I move them to the first flags folder?


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.01216 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
  • (1)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