vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=180741

Country Flag Gif's
by Cobro
28 May 2008 03:41

3 Attachment(s)
This is not my work but i got these flags from my friend made them and he uses them on his forum and i just wanted to share it with you these are gif's so they are moving very cool just check them out and tell me what you think

https://www.vbulletin.org/forum/external/2008/05/3.gif

hope you enjoy

Charlie98902 28 May 2008 03:50

What does this actually do besides put animated gif's somewhere?

Cobro 28 May 2008 03:51

you have to get a plugin that puts the flag in postbit and stuff like that i just wanted to share the gifs

veenuisthebest 28 May 2008 05:12

toooo beautifulll.. i am really loving this. the animation is just perfect :up:

7lanet 28 May 2008 05:44

1 Attachment(s)
Please nominate images on behalf of the State
And replacement of the old name

For example
United States = United States.gif
from flag_us.gif for United States.gif
from flag_ye.gif for yemen.gif
I give her to me

look file

ShawneyJ 28 May 2008 09:12

wow sweet, i already have most of these. but lets see which ones i havent got ;)

wWw.Fun2Wii.Com 28 May 2008 11:18

Quote:

Originally Posted by 7lanet (Post 1533682)
Please nominate images on behalf of the State
And replacement of the old name

For example
United States = United States.gif
from flag_us.gif for United States.gif

I give her to me

look file


The same request

Thank

sensimilla 28 May 2008 17:43

The graphics are stunning, thanks alot!

Phr34q 28 May 2008 18:47

In the spirit of our hero Snoop dog, shiznizzle brotha!

/me clicks installed *

Thanks a bunch, good idea sharing it here :)

iogames 28 May 2008 18:51

Can I ask your friend how he made them? quite a job I see

MadK 28 May 2008 19:57

Thank you, very nice flags! :)

ammoskumar 28 May 2008 20:14

Quote:

Originally Posted by megabyte366 (Post 1534153)
I took flag's and applied to this code and it works.


Flags Install File - Country Only

1. Create Flags Profile Fields:

Go to AdminCP > Profile Fields > Add new Profile field > Single Select Menu
Title - Country Flag
Description - Select your Country Flag
Options - [copy and paste list of countries in country_flags_list.txt to this option field]
Set Default: None
Editable By User: Yes
Display Page: Edit Profile

Write down your field number, ie field8


2. Edit the postbit_legacy template:

Go to AdminCP > Styles & Templates > Style Manager
In your template list on the right select Edit Templates from the dropdown menu of the desired template
Double click Postbit Templates
Double click postbit_legacy

FIND:

<div>
$vbphrase[posts]: $post[posts]
</div>

BELOW, ADD:

<!-- / flags start -->
<div>
<if condition="$post[fieldX]"><img src="images/flags/$post[fieldX].gif"></if>
</div>
<!-- / flags end -->


Change X to the field id for your country flag.
ie, if your country flag is field8 the code will look like this:
<!-- / flags start -->
<div>
<if condition="$post[field8]"><img src="images/flags/$post[field8].gif"></if>
</div>
<!-- / flags end -->


3. Upload the folder flags to the images directory of your forum.

hey brother any demo on this i follow ur instruction but its not showing on postbit legacy??

plz help me on this..

Kaleem 28 May 2008 20:18

Quote:

Originally Posted by ammoskumar (Post 1534298)
hey brother any demo on this i follow ur instruction but its not showing on postbit legacy??

plz help me on this..

Try both post_bit and postbit_legacy.

Soup^Dragon 28 May 2008 20:19

will only work if you are using postbit legacy, try the same in the postbit template

ammoskumar 28 May 2008 20:51

k ill do right now...


All times are GMT. The time now is 06:19.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.