Please Help In this

litu2009

New Member
I have upload the flags through ftp And complete the step as show bellow



Country Flags Hack with Flag tot'n Smilies - v1.0

For vBulletin 3.x.x

//This Hack was made by me and not found anywhere else officially, so I did not rip this from anyone.
//Use and disperse at your wish.
//Did I mention I don't like copyrights

Ok lets get started
//==============================================================================
1.UPLOAD THE FOLDER "flags" TO YOUR FORUMS "/images" DIRECTORY
//==============================================================================
//===============================================================================
2. GO TO YOUR ADMINCP AND EXPAND "USER PROFILE FIELD" IN THE LEFT COLUMN

3. CLICK ON "Add New User Profile Field"

4. CLICK THE DROP DOWN BOX AND SELECT "SINGLE-SELECTION MENU" & CONTINUE
//===============================================================================
//===============================================================================
5. INPUT THE FOLLOWING INTO THE FORM

Title: Country Flag

Description: Choose your country

Options: !!!THIS IS WHERE YOU ADD ALL THE COUNTRY NAMES FROM THE "flags.txt" SUPPLIED WITH THIS HACK!!!

Set Default: LEAVE ALONE

Display Order: LEAVE ALONE

Field Required: THIS IS UP TO YOU - YES/NO

Field Editable by User? YES

Private Field: NO

Field Searchable on Members List: NO

Show on Members List: NO

Display Page: EDIT PROFILE

!!!ONCE YOU CLICK SAVE, MAKE NOTE OF WHAT FIELD THIS CREATES - MINE IS FIELD7!!!!!
//===============================================================================
//===============================================================================
6. TEMPLATE EDIT - IN YOUR "POSTBIT" TEMPLATE
FIND:
//===============================================================================

In "postbit"

search:
$post[field2]</div></if>

Below it, add:
<if condition="$post['field5']">
<center><img src="images/flags/$post[field5].gif" alt="$post[field5]" border="0" /></center>
</if>

//===============================================================================
!!!BE SURE TO CHANGE THE FIELD7 TO YOUR OWN FIELD WHEN COMPLETED STEP 5!!!
//===============================================================================

All done!

KaiN

//===============================================================================


but i can not under stand

6. TEMPLATE EDIT - IN YOUR "POSTBIT" TEMPLATE
FIND:
//===============================================================================

In "postbit"

search:
$post[field2]</div></if>

Below it, add:
<if condition="$post['field5']">
<center><img src="images/flags/$post[field5].gif" alt="$post[field5]" border="0" /></center>
</if>

please help on this

 
go to style manager, edit templates, search in templates: $post[field2]</div></if>

In the results page double clic on postbit template.

Than scroll down the template until you find: $post[field2]</div></if>

Below it, add:
Code:
<if condition="$post['field5']">
<center><img src="images/flags/$post[field5].gif" alt="$post[field5]" border="0" /></center>
</if>
 
Snipervzln said:
go to style manager, edit templates, search in templates: $post[field2]</div></if>

In the results page double clic on postbit template.

Than scroll down the template until you find: $post[field2]</div></if>

Below it, add:
Code:
<if condition="$post['field5']">
<center><img src="images/flags/$post[field5].gif" alt="$post[field5]" border="0" /></center>
</if>

I have already done this and also set the country name but when i post a thread there is no country flag.

How can do please help
 
no bro i am typed my country name but i can not see it.

If You give the image tutorial and then i will greatfull to u

i am using vb 3.8
 
Back
Top