Animated Flag Hack 3.8

blackknights

New Member
This is an animated flag Hack that was created by K4Z it has been altered by me and probably many others to work with VB3.8 may work with previous versions I have removed the basic graphic's and replaced with Cobro's Animated Gif Flags and changed a few things here and there along the way. All credit goes to these individuals I have only packaged them for your use. How 2 included.

Cobro's Graphics can be found here separately if you need for any other reasons.
http://www.vbteam.info/graphics-designing/17441-animated-flags.html

Note to any mods/admins, in that thread in Graphic section it had turned to a how to when I uploaded could you please merge any posts not related to actual graphics here.
 

bfldworker

New Member
You may want to edit the instructions in the text file.
You do not want want to choose "Multiple Line text box"
You want to choose "Single Selection Menu".

Other then that that DOES NOT work.

I followed the instruction to the letter (Except for the Multiple Line text)

I put the images in Forums/Images/Buttons/Flags

And nothing. Could there be something missing with it?
 

blackknights

New Member
Thank you for the correction and has been updated in the main file.
In response to question are you installing into default or a another skin. If so be sure that the images are placed in buttons of each skin.
some may need to be place images/styles/skinstyle/buttons/flags/ or other skins may be skinstyle/buttons/flags/Canada.GIF
 

litu2009

New Member
If any one please give me image tutorial because i tried all setting but it can not show the country flag please help
 

blackknights

New Member
litu2009 said:
If any one please give me image tutorial because i tried all setting but it can not show the country flag please help

What problem are you experiencing does the hack show text only or none at all, please elaborate. There is two screen shots in the download package of my settings.
 

Sona

New Member
blackknights said:
What problem are you experiencing does the hack show text only or none at all, please elaborate. There is two screen shots in the download package of my settings.

it showing the text only ( Users Flag!). what could be wrong?
 

blackknights

New Member
Sona said:
it showing the text only ( Users Flag!). what could be wrong?

Right click the text and check properties it will display the image path and place flag folder there. Apparently you have it in the wrong place.
 

h@ck3r

New Member
My forum only has users from the UK, but I could use some of these. Thin is- the 'Wales' flag has 'U.K' written on it. Would be nice if this was changed.
 

Sona

New Member
blackknights said:
Right click the text and check properties it will display the image path and place flag folder there. Apparently you have it in the wrong place.

Thanks a lot, now everything is OK! i just did not uploaded to other language folder these flags.
 

bfldworker

New Member
I don't have any styles on my site except for mobile. But that only runs if someone accesses it through a PDA, Phone or a game system (PSP for example). And that doesn't have a styles directory.

But just to cover my tail end I did edit the mobile style.
 

stripe

New Member
bfldworker said:
I don't have any styles on my site except for mobile. But that only runs if someone accesses it through a PDA, Phone or a game system (PSP for example). And that doesn't have a styles directory.

But just to cover my tail end I did edit the mobile style.

sounds interesting, what have you used for that?

cheerz
 

bfldworker

New Member
blackknights said:
Thank you for the correction and has been updated in the main file.
In response to question are you installing into default or a another skin. If so be sure that the images are placed in buttons of each skin.
some may need to be place images/styles/skinstyle/buttons/flags/ or other skins may be skinstyle/buttons/flags/Canada.GIF

Ok, now that I have more then 2 minutes.

I followed the instruction exactly. I put the flags directory /forms/images/buttons/flags/ . I put the code
PHP:
<if condition="$post['field5']">
    <img src="$stylevar[imgdir_button]/flags/$post[field5].GIF" alt="Users Flag!" border="" />
</if>

where the text said. And if I understood it correctly. Here are the screen shots. Maybe you can see if I went wrong somewhere.

admincp.JPG

WSFTP.JPG

Template.JPG
 

litu2009

New Member

I have done all the instruction but the flag was not showing on my threads as well as in my usercp also not showing.

One more thing that my countryflag field is 7 and also i edit in postbi-legacy to field5 to field7 but i can not found that please help.

Problem image was added

 

bfldworker

New Member
BINGO! Got it!
For anyone having issues. this is what you must do. EXACTLY
Follow the rules in the text.

When you save it. see what the field number is. Then change the display order to the same number. you must then change the code you put in to reflect it. The code says 'field5' change it to what the field and display numbers are.

userfield.JPG
 
Top