KaiNs Flags Hack v1.0

Th3Eagle

New Member
Note: Description is from the hack itself. I am only posting what I have found elsewhere. I have this installed on my 3.7.3PL1 board
---------------------------------------------------------------------



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

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

Screen Shot:

wappgm.jpg


Download (1.57MB):
Code:
http://rapidshare.com/files/145733581/KaiNs_Flags_Hack_v1.0.rar

IF a MOD wants to attach the file to this post, I won't object.
It took me 10 minutes to uploads it to RS on this dialup
 
i can't seem to get this to work with 3.7.2!

Should this work with 3.7.2 or is it my dumb ass that's screwed up?
 
Scanlite said:
i can't seem to get this to work with 3.7.2!

Should this work with 3.7.2 or is it my dumb ass that's screwed up?

It should work, as long as you follow the directions.

I have it installed on both a 3.7.3PL1 Board & a 3.7.0 Board without problems.
 
got it working after some time
on vbulletin 3.7.2 and flag it animated works great

thanks for this.. lol
 
Back
Top