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)

bart6767 11-25-2009 11:52 PM

cant seem to find this

.in the Postbit Legacy of your Template
Locate: {vb:raw post.rank}{vb:raw post.usertitle}

Charlie98902 11-26-2009 12:07 AM

Quote:

Originally Posted by bart6767 (Post 1920955)
cant seem to find this

.in the Postbit Legacy of your Template
Locate: {vb:raw post.rank}{vb:raw post.usertitle}

How did you get the OPTIONS.xml loaded?

yaghoub 11-26-2009 05:08 AM

find this code {vb:raw post.usertitle}

and add after it

bart6767 11-26-2009 08:44 AM

Quote:

Originally Posted by Charlie98902 (Post 1920956)
How did you get the OPTIONS.xml loaded?

(c)Options:Add the Country text file attached, just copy and paste the text file to this field.

Charlie98902 11-26-2009 12:42 PM

Quote:

Originally Posted by Charlie98902 (Post 1920933)
Can I put all the flags in one folder then upload it and then set it as I set the feildX ID?

Quote:

Originally Posted by bart6767 (Post 1921097)
(c)Options:Add the Country text file attached, just copy and paste the text file to this field.

See my quote. I don't want to have a bunch of scattered gif images. Is this possible? I got the profile set up now but need to know about putting all the flags in one folder to keep organized.

cabledr 11-26-2009 12:59 PM

you can put all flags in a folder ie. i have put all flags in images/buttons/flags and they all work you just need the code :-

This puts the flags central under the avatar :)

In the Postbit Legacy template, find this:



HTML Code:

<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
                </a>
                </vb:if>

Add this after the above:



HTML Code:

<center><br><!-- yahoomobil(yaghoub) -->
<img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field#}.GIF" alt="Users Flag!" border="" />
<!-- yahoomobil(yaghoub) --></br></center>

change # to your field number
I have uploaded flags to here as they was to big for one here :-
Code:

http://gadsx.co.uk/flags.rar

bart6767 11-26-2009 01:31 PM

I cant get the flags to show up ?

Charlie98902 11-26-2009 01:41 PM

Using posbit as I like that one and getting this.

The following error occurred when attempting to evaluate this template:

The conditional on line 135 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.


This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

This is the trailing </if> that is causing this.

Code used:

Code:

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

It just says users flag under the username when I remove the trailing </if>

If I use this

Code:

<br><!-- yahoomobil(yaghoub) -->
<img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field11}.GIF" alt="Users Flag!" border="" />
<!-- yahoomobil(yaghoub) --></br>

same thing.

Welshy2008 11-26-2009 02:17 PM

Hi Charlie,


You need to add a folder called "buttons" in your images folder. images/buttons


You are supposed to add ALL the contents of the 3 folders (zips) that in my attachment Here into the one folder named "buttons".

Welshy2008 11-26-2009 02:17 PM

Quote:

Originally Posted by Charlie98902 (Post 1921192)
Using posbit as I like that one and getting this.

The following error occurred when attempting to evaluate this template:

The conditional on line 135 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.


This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

This is the trailing </if> that is causing this.

Code used:

Code:

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

It just says users flag under the username when I remove the trailing </if>

If I use this

Code:

<br><!-- yahoomobil(yaghoub) -->
<img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field11}.GIF" alt="Users Flag!" border="" />
<!-- yahoomobil(yaghoub) --></br>

same thing.



Have you got a screenshot of what you have doen so far?


All times are GMT. The time now is 07:53 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.01140 seconds
  • Memory Usage 1,751KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_html_printable
  • (5)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