PDA

View Full Version : Add-On Releases - Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO


Pages : [1] 2 3

Welshy2008
12-03-2009, 10:00 PM
Description:

This Add on, gives a selection of Countries that your Member (New or Existing) can choose from in a 'Drop-Down Menu'. The Country he/she selects, will be displayed as a Flag in their Postbit.

Credit for the Flags goes to Cobro (https://vborg.vbsupport.ru/member.php?u=168975). (I have renamed each and every flag to work with this Mod).


Instructions:

Firstly ?Upload? ALL the Flag GIF pics to your forum root /images/buttons/flags folder.

IE: yourforumaddress.com/forum/images/buttons/flags

Please Note: Due to the flags folder being too large to upload as one - I have been forced to upload it as "flags1", "flags2" and "flags3" - Please ensure that you add a new folder to "images/buttons/" and name it "flags". Please copy the contents of ALL THREE (3) flags folders in the attachment below to the new 'flags' folder that you have just made. (DO NOT place them as 3 seperate folders!"


Then in your Admin Control Panel (ACP), please do the following:
ACP -> User Profile Fields -> Add New User Profile Field ->Profile Field Type -> Single-Selection Menu (select ?Single-Selection Menu? from the Drop-Down Menu) -> Please enter the following into the following fields (REMEMBER to make a note of the FieldID, because you will need to replace ALL the X?s in [fieldX] with it!!!
(Please see 'FieldID.jpg' attachment below).

Add New User Profile Field Single-Selection Menu:

Title = Country Flag
Description = Add your country flag to your profile:
Profile Field Category = (Uncategorized)
Options = Copy & Paste the Whole contents of the file attached below (OPTIONS)
Set Default = None
Display Order = You Select this (dependant on how many you already have)
Field Required = yes, at registration and profile updating
Field Editable by User = Yes
Private Field = No
Field Searchable on Members List = No
Show on Members List = Yes


Optional Input:

Allow user to input their own value for this option = No
Max length of allowed user input = 100
Field Length = 25
Regular Expression = Leave this Blank


Display Page:

Which page displays this option? = Edit Your Details ** Please note that the vB4.0.4 Version does not show this option. Please select "Edit Profile" option. The selct your country flag option, I can confirm, Also shows on registration too.
** SAVE **


Then, In your Admin Control Panel (ACP)...

ACP -> Styles & Templates -> Style Manager -> <<>> -> Postbit Templates -> select the template that you use (ie Postbit or Posbit_legacy) ? This is for the Postbit_Legacy?

FIND:
<span class="usertitle">
{vb:raw post.usertitle}
</span>


If you would like to place it under your number of user posts (to the right of your Postbit) then look for:

<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>


(upto vB4.0.5) ADD BELOW:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

(for vB4.0.6 AND 4.0.7) ADD BELLOW:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="http://www.YOURFORUM ADDRESS.com/forum/images/buttons/flags/{vb:raw post.fieldX}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->


(Also adds the Username to the 'alt' Code on Mouseover).

(for vB4.0.8):

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"><style="text-align:left"> Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" align="middle" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

(Thanks to Krusty1231 (https://vborg.vbsupport.ru/showpost.php?p=2123787&postcount=332) for this).

(for vB4.1.0 , 4.1.0 PL2 & 4.1.1)

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"><style="text-align:left"> Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" align="middle" alt="{vb:raw post.fieldX}" border="" /></vb:if>
<!-- Wy Flags End -->

Even though I have not tested this in these versions, others have and have reported this mod to be working in them.[/B]

Please make sure the style and template edits are still there. Just one of the people can be seen on post 350 (https://vborg.vbsupport.ru/showpost.php?p=2144759&postcount=350)


** Replace the ?X? with your FieldID number **
** Replace the ?Red Text? with Your Forum Address **



** SAVE Template **





And that's it - Enjoy!


Please do not forget to click "Install"

Edit & Update TRACKER - Keep Upto date here:

** 30/05/2012 - Update "Flags2 to include correct name on Switzerland flag"..

** 27/09/2010 - Update on 4.0.6 "added code for the 4.0.6 Version, and instructions on how to place the flug under a user's postcount in posbit"..


** 12/07/2010 - Update on 4.0.4 "Which page displays this option"..

** 26/06/2010 - Updated Flag Names and Country Names in the "Options" text file. PLEASE Re-upload and overwrite all three flag folders and the options Text file...

** 15/01/2010 - Made all the Countries in the "OPTIONS.txt" in Alphabetical Order..

** 27/12/2009 - Changed the contents of OPTIONS.ZIP folder from a .docx file to a .txt file, as requested.

** 26/12/2009 - Option 2 Added
- Flag folder Updated (UK.gif changed to UK.GIF)

** 05/12/2009 - OPTIONS File Added.

Welshy2008
12-04-2009, 05:56 PM
** Reserved **

Charlie98902
12-04-2009, 08:40 PM
Thanks I'll try this out tomorrow.

Dr.osamA
12-04-2009, 10:00 PM
thanxxx man

Installed

sorry man but wer is the list of Country ??
________
Wife Double Penetratio (http://www.++++tube.com/video/33160/double-penetration-ensures-a-happy-wife)

Ranger375
12-05-2009, 01:09 AM
Yeah, list of countries please!

Charlie98902
12-05-2009, 01:16 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=228371" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=228371</a>

Dr.osamA
12-05-2009, 01:29 AM
thanxx Charlie98902

but this list well work for this mod ??
________
RENT GUARANTEE FORUMS (http://www.insurance-forums.org/rent-guarantee/)

Charlie98902
12-05-2009, 01:30 AM
I can only assume.

Dr.osamA
12-05-2009, 01:38 AM
thanxx Charlie98902

but is that list work with this mod ?

nestaron
12-05-2009, 01:41 AM
You'll need to remove the dashes (-) in the country names if the country would not normally have a dash. The names in the list must match the file names for the graphic files; or you need to change the graphic file names to match the list.

Welshy2008
12-05-2009, 07:22 AM
thanxxx man

Installed

sorry man but wer is the list of Country ??

thanxx Charlie98902

but this list well work for this mod ??



Sorry Guys,


The countries within that File, Charlie - Won't work on the vB4 - I had re-done the ones that needed to be done, but I didn't upload the file.

I Have uploaded them as a "Word doc" within a Zip file for you now.

They Can be found as an attachment in the Opening Post.

Vaupell
12-05-2009, 08:20 AM
note when using {vb:stylevar imgdir_button} if you use a costum style which have its own img dir, the link dont match..

i solved it by simply removeing it and replaceing it why my own path.. :D
Just fyi

Welshy2008
12-05-2009, 08:23 AM
note when using {vb:stylevar imgdir_button} if you use a costum style which have its own img dir, the link dont match..

i solved it by simply removeing it and replaceing it why my own path.. :D
Just fyi



Thank You Vaupell. :)

abdobasha2004
12-05-2009, 11:59 AM
thanks
reserved

Ranger375
12-05-2009, 12:20 PM
5 stars, thanks!

gedr80
12-05-2009, 03:51 PM
Thanks :up:

Alecsmith
12-05-2009, 04:04 PM
Good Work :)

Dr.osamA
12-05-2009, 07:22 PM
OPTIONS.zip ??

hwat is the file
________
Shemale Hardcore (http://www.++++tube.com/categories/963/hardcore/videos/1)

Ranger375
12-05-2009, 10:01 PM
OPTIONS.zip ??

hwat is the file

It's the list of countries

hendri
12-05-2009, 11:33 PM
i like it !!! work on beta 5

cyber3
12-06-2009, 02:19 AM
I cant get the flags to show on Beta 5 ??

I even changed the path to be the absolute URL, and I can see the flags via the direct url, but they are not showing on the users profile area - the option to select Country shows in the edit profile, and you can select your country (in text) does not show graphic flag.

PROBLEM SOLVED!!!

SİMAR
12-06-2009, 01:48 PM
thanks nice man

Welshy2008
12-06-2009, 07:04 PM
I cant get the flags to show on Beta 5 ??

I even changed the path to be the absolute URL, and I can see the flags via the direct url, but they are not showing on the users profile area - the option to select Country shows in the edit profile, and you can select your country (in text) does not show graphic flag.



PROBLEM SOLVED!!!


What was the problem after? Root to files?

Welshy2008
12-06-2009, 08:10 PM
thanks nice man

You're Welcome.

Abu Noor
12-07-2009, 06:24 PM
This is cool, but my members in Switzerland are very annoyed that there is no flag for their country.

sean-zigster
12-08-2009, 02:39 PM
great mod looks quality, 1 thing how do you get it to show in the members list if possible ?

Welshy2008
12-09-2009, 01:52 PM
great mod looks quality, 1 thing how do you get it to show in the members list if possible ?

Good Question.

I have had a look on mine and it isn't showim=ng on there either. Even though the "Yes" is selected to show in "Member List".

This should be standard through vB.

Britmovie
12-12-2009, 06:39 AM
Hi got it all set up but no image showing just a blank space see britmovie profile www.britmovie.net it may be as my theme is root/syles/xmas but not certain what to change...any help would be great!

Welshy2008
12-12-2009, 08:14 PM
Been to have a look, but it says that the site is down for Mainanence.

Welshy2008
12-12-2009, 10:47 PM
Hi got it all set up but no image showing just a blank space see britmovie profile www.britmovie.net it may be as my theme is root/syles/xmas but not certain what to change...any help would be great!

Do you mean that you have changed the 'buttons' folder to 'styles' and the 'flags' folder to 'xmas'? (I don't believe you did).

OR

Your Route is for example:

http://www.britmovie.net/styles/xmas/


If the latter, you will need to add (If you haven't already got one in there) a folder and name it 'images', then - in that folder add another one and name it 'buttons' and finally, add a folder within the buttons and name it 'flags'.


Your route will then look like this:

http://www.britmovie.net/styles/xmas/images/buttons/flags


Then you change the following (that is in Bold Red) in your Postbit or Postbit_Legacy (whichever you use)...


<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> Country: <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->


And add http://www.britmovie.net/styles/xmas/images/buttons in its place...


... It will then look like this...


<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> Country: <img src="http://www.britmovie.net/styles/xmas/images/buttons/flags{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->




Let me know how you get on. If you'd like to, I could have a look at it for you.


Also, DON'T forget that in the TWO fieldX places - You will need to change the 'X' to the FieldID number that shows in your profile field (As can be seen in my Attachments in my 1st post / OP).

CFodder
12-14-2009, 06:30 AM
Great mod thanks Welshy :D.

I've moved the flag to up alongside the username, was wonder if you, or anyone else, knows how I could move it more to the right in the postbit, and also have the username at the top? I could do it with html but am unsure on css at this stage. Have atrtached a pic so you can see what I mean

Vaupell
12-14-2009, 07:41 AM
Placed mine where it says location in the first place.
makes more sense if users add something in the location field.

107518

CFodder
12-14-2009, 07:56 AM
Hmmmm, yeah, does make sense, not having location showing on ours tho, tend to get some interesting locations put in ;). Do like it centred under join date tho, sets it away from the avatar.

Welshy2008
12-14-2009, 02:46 PM
May I trouble you to "Rate" the Mod Please Guys?

Thank You.

Vaupell
12-14-2009, 09:43 PM
anyone on RC2 able to run this ?

just upgraded to rc2 and not working anymore.. style is ok installation is fine..
when loading my pages, i see the flag for a sec, then css hides it.. strange.

Ranger375
12-15-2009, 02:44 PM
Yeah it works on RC2.

Britmovie
12-15-2009, 03:09 PM
Do you mean that you have changed the 'buttons' folder to 'styles' and the 'flags' folder to 'xmas'? (I don't believe you did).

OR

Your Route is for example:

http://www.britmovie.net/styles/xmas/


If the latter, you will need to add (If you haven't already got one in there) a folder and name it 'images', then - in that folder add another one and name it 'buttons' and finally, add a folder within the buttons and name it 'flags'.


Your route will then look like this:

http://www.britmovie.net/styles/xmas/images/buttons/flags


Then you change the following (that is in Bold Red) in your Postbit or Postbit_Legacy (whichever you use)...


<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> Country: <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->


And add http://www.britmovie.net/styles/xmas/images/buttons in its place...


... It will then look like this...


<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> Country: <img src="http://www.britmovie.net/styles/xmas/images/buttons/flags{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->




Let me know how you get on. If you'd like to, I could have a look at it for you.


Also, DON'T forget that in the TWO fieldX places - You will need to change the 'X' to the FieldID number that shows in your profile field (As can be seen in my Attachments in my 1st post / OP).

Thanks i'll try that

CFodder
12-15-2009, 06:48 PM
Works fine on my RC2 Vaupell. Have rated it for you Welshy.

Vaupell
12-16-2009, 08:42 PM
Found my problem, dureing upgrade it have somehow changed my fields.
was using field 5, and it said so in the db, but when checking the db userfields
it was now 7, and 5 didnt ewen exist..

haha minor problem, fixed.. and working again.. yay

Getting ALOT of heat from scottish people cause it says .UK on their flag..
alot of the scotish people i know are as fond about the english as the irish.. .UK tsk tsk.. :P

Cadellin
12-24-2009, 03:12 PM
A great mod :) /Installed

Only one thing I could mention is the image "Autre" I think you missed in translation and should be "Other" (my French is a little rusty though).

As a suggestion to others I renamed "Autre" to "Blank" then added it to the top of the list for users who didn't want to display their nationality as I've forced users to make a selection.

BozzaJos
12-24-2009, 03:57 PM
Great mod Welshy2008, well done!

Two problems with the country flags though. First of all, when someone selects UK, it only shows the text "Users Country Flag". This is because the file is named UK.gif instead of UK.GIF.

Second problem is that there is no Northern Ireland. Or am I missing something? :D

The members on my Forum are mainly from the United Kingdom and Ireland so Vaupell's point is important for me as well.

Hope you can fix this! Thanks again for a great working mod!

kylek
12-25-2009, 12:01 AM
Thanks, works great.

One question though. Does anyone know how to get the "Country" text to line up evenly with the other items in the postbit display?

I have been trying different locations and it looks good above location.

108086

gyaronn
12-25-2009, 10:38 AM
a question how can i make the flag to be lower?

Welshy2008
12-25-2009, 04:21 PM
Thanks for the feedback Guys.

I know what you mean about the flags for NI etc.

I have a couple that I need made up.

I cannot take credit for the flags (As I mentioned in my OP), as they were done by Cobro and his friend.

Welshy2008
12-25-2009, 04:25 PM
I removed my test vB a few weeks back.

I will be re-uploading it all soon and putting this back on there.

Omega5000
12-25-2009, 05:38 PM
Awesome! At first it didn't work in the posbit template but I tried the postbit_legacy file and it did.
I'm running vBulletin 4.0
I hope that helps anyone! :D

gyaronn
12-25-2009, 05:47 PM
ya i fixed my problem 2 and it runs perfect on VB4 Gold patch level 1 :-) happy happy joy joy :-)

kendo
12-25-2009, 08:16 PM
The position of some of my users flags/country names flow together. How can I put a return or something in to make sure it drops onto the next line?

gyaronn
12-25-2009, 08:32 PM
write it like this i have added the <p> at the beginning and </p> at the end

<p>
<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> Country: <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->
</p>


i hope it helped
https://vborg.vbsupport.ru/external/2009/12/22.png

kendo
12-25-2009, 08:45 PM
Thanks Gyaronn. Nice site, btw!

gyaronn
12-25-2009, 09:04 PM
thanks man :-)

Welshy2008
12-26-2009, 12:20 PM
Thanks, works great.

One question though. Does anyone know how to get the "Country" text to line up evenly with the other items in the postbit display?

I have been trying different locations and it looks good above location.

108086


add a <dt> and </dt> like this (in Green):

<vb:if condition="$post['fieldX']"> <dt>Country:</dt> <img

That will sort it out for you. :)

kylek
12-26-2009, 01:44 PM
Thank you very much, worked perfectly!!

Weetabix
12-26-2009, 06:47 PM
flags2.zip missing?

AHMeet
12-26-2009, 08:33 PM
thanks

Welshy2008
12-26-2009, 09:10 PM
flags2.zip missing?


Added again; as an attachment, in the Opening Post.

Don't know what happened to the last one I uploaded?

Weetabix
12-26-2009, 10:37 PM
Fixed. Thanks :)

marked installed btw.

Welshy2008
12-26-2009, 11:21 PM
You're Welcome. :D

radmoose
12-26-2009, 11:27 PM
Please consider re-uploading the contents of OPTIONS.ZIP as a .txt file not a .docx file

Welshy2008
12-27-2009, 09:22 AM
Please consider re-uploading the contents of OPTIONS.ZIP as a .txt file not a .docx file



I have now done that for you radmoose.

Best Wishes,

Welshy2008.

Alecsmith
12-28-2009, 08:45 AM
just fixed postbit problem working fine :)

Welshy2008
12-28-2009, 10:33 AM
Good Work :)

just fixed postbit problem working fine :)

You have only made two posts on this thread - I wasn't aware that you had a 'Postbit' problem.


Would you mind saying what problem you had and how you corrected it, Please? (For the benefit of anyone else who may have the same problem).


Thank You. :)

gyaronn
12-28-2009, 10:44 AM
there is a flag that is messing for: Faroe Islands i have added it

Verionia
12-30-2009, 04:00 AM
Are there better images, like the small country flags anywhere I can use?

Using: http://www.famfamfam.com/lab/icons/flags/ ?

Heretiko
01-01-2010, 02:57 PM
guys please help, i've been following all the instructions and checked it again and again, but i'm not getting anything, not even the red x :( could you help?

thanks

btw i'm able to see the option field in the edit profile menu but nothing on the board :(

Heretiko
01-01-2010, 04:27 PM
ok fixed, i gorgot about the second filedx to modify, thanks again!

Welshy2008
01-01-2010, 05:04 PM
Lol. OK Heretiko. :)

LuckyNeo
01-01-2010, 06:16 PM
Execellent!!! I'am in extaz! THANK YOU!!! VERY MUCH!!! This is VERY usefull!!!

Welshy2008
01-01-2010, 07:22 PM
Execellent!!! I'am in extaz! THANK YOU!!! VERY MUCH!!! This is VERY usefull!!!



You're very Welcome. :)

sheep92032
01-02-2010, 10:34 AM
Does this work with 3.8 or is 4.0 completely different?

Edit: Sorry I just realised what this is and is doable in all versions, if maybe slightly different.

In the template you need this instead for 3.8 and probably 3.7


<if condition="$post['fieldx']">
<img src="images/flags/$post[fieldx].GIF" />
</if>


Prettify as desired.

Verionia
01-10-2010, 04:51 PM
Placed mine where it says location in the first place.
makes more sense if users add something in the location field.

107518

How were you able to achieve this?

ProFifaLeagues
01-10-2010, 09:13 PM
Looks good,Being installed now!
Thanks

COL NIL SATIS
01-10-2010, 10:12 PM
insatalled and working great!!! Want to thank welshy too who i know took over this mod cos it died somewhat!!!!! great stuff

tanha
01-11-2010, 01:05 PM
can it works with 3.8.x

niadene
01-13-2010, 07:32 PM
$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><center>$post[musername]</center></a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont"><center>$post[usertitle]</center></div></if>
<center><if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if></center>
$template_hook[postbit_userinfo_left]

<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><center><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></center>
</div>
</if>

<div class="smallfont">
&nbsp;<br />
<if condition="is_member_of($bbuserinfo, 6, 7, 9)">
<if condition="$post['field15']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile">
<img alt="My Facebook" border="0" src="http://www.yourforum.com/images/misc/facebook.png" border="0"/>
</if></if>
<if condition="$post['joindate']"><div class="userinfo"><strong>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div class="userinfo"><strong>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div class="userinfo"><strong>$vbphrase[age]: $post[age]</div></if>


<div class="userinfo"><strong>
$vbphrase[posts]: $post[posts]
</div>




$template_hook[postbit_userinfo_right_after_posts]
<!-- vBcredits -->

<if condition="$show['credits_post']">

<div class="userinfo"><strong> $vbphrase[credits]: <span id="cdt_$post[postid]_$post[userid]">$post[credits]</span> <if condition="$show['credits_donate']">[<a href="credits.php?$session[sessionurl]do=manage&amp;u=$post[userid]#donate">$vbphrase[donate]</a>]</if> <if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&amp;u=$post[userid]">$vbphrase[check]</a>]</if>
</div>
</div>
</if>



<!-- End of vBcredits -->

<if condition="$show['infraction']"><div class="userinfo"><strong>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>

<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="userinfo"><strong>$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">;background-color:$mcscolor;</if>">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]


$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<if condition="$post['signature']">
<!-- sig -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
<fieldset><legend>$post[musername]'s Sig:</legend>$post[signature]</fieldset>
</div>
<!-- / sig -->
</if>
</td>
</tr>

<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">background-color:$mcscolor;</if>border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$show['canbechecked']"> <if condition="$post['ischecked']"> <span class="smallfont"> <if condition="$show['mcsrecent']"> <strong class="highlight">$vboptions[mcs_recent_text] </strong> </if> <phrase 1="$mcpmember" 2="$mcpdate" 3="$mcptime" 4="$post[checkedbyu]">$vbphrase[marked_by_on_at]</phrase> </span> <else /> <span class="smallfont highlight" style="font-weight:bold">$vbphrase[mcs_post_not_checked]</span> </if> </if>
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<!-- daPLAYBOY banUser -->
<if condition="($bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7 || $bbuserinfo[usergroupid]==5)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban User: $post[username]</a></span></td></tr></if>
<!-- / daPLAYBOY banUser end -->
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
<div id="award$post[postid]" style="padding:$stylevar[cellpadding]px 0px 0px 0px;">
$awardbox
</div>

i cant find this <span class="usertitle">
{vb:raw post.usertitle}
</span>

Switch3130
01-13-2010, 07:58 PM
Nice work.

niadene
01-14-2010, 05:12 AM
you have this mod on 3.8.4?

Welshy2008
01-14-2010, 07:41 AM
$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><center>$post[musername]</center></a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont"><center>$post[usertitle]</center></div></if>
<center><if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if></center>
$template_hook[postbit_userinfo_left]

<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><center><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></center>
</div>
</if>

<div class="smallfont">
&nbsp;<br />
<if condition="is_member_of($bbuserinfo, 6, 7, 9)">
<if condition="$post['field15']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile">
<img alt="My Facebook" border="0" src="http://www.yourforum.com/images/misc/facebook.png" border="0"/>
</if></if>
<if condition="$post['joindate']"><div class="userinfo"><strong>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div class="userinfo"><strong>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div class="userinfo"><strong>$vbphrase[age]: $post[age]</div></if>


<div class="userinfo"><strong>
$vbphrase[posts]: $post[posts]
</div>




$template_hook[postbit_userinfo_right_after_posts]
<!-- vBcredits -->

<if condition="$show['credits_post']">

<div class="userinfo"><strong> $vbphrase[credits]: <span id="cdt_$post[postid]_$post[userid]">$post[credits]</span> <if condition="$show['credits_donate']">[<a href="credits.php?$session[sessionurl]do=manage&amp;u=$post[userid]#donate">$vbphrase[donate]</a>]</if> <if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&amp;u=$post[userid]">$vbphrase[check]</a>]</if>
</div>
</div>
</if>



<!-- End of vBcredits -->

<if condition="$show['infraction']"><div class="userinfo"><strong>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>

<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="userinfo"><strong>$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">;background-color:$mcscolor;</if>">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]


$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<if condition="$post['signature']">
<!-- sig -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
<fieldset><legend>$post[musername]'s Sig:</legend>$post[signature]</fieldset>
</div>
<!-- / sig -->
</if>
</td>
</tr>

<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">background-color:$mcscolor;</if>border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$show['canbechecked']"> <if condition="$post['ischecked']"> <span class="smallfont"> <if condition="$show['mcsrecent']"> <strong class="highlight">$vboptions[mcs_recent_text] </strong> </if> <phrase 1="$mcpmember" 2="$mcpdate" 3="$mcptime" 4="$post[checkedbyu]">$vbphrase[marked_by_on_at]</phrase> </span> <else /> <span class="smallfont highlight" style="font-weight:bold">$vbphrase[mcs_post_not_checked]</span> </if> </if>
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<!-- daPLAYBOY banUser -->
<if condition="($bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7 || $bbuserinfo[usergroupid]==5)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban User: $post[username]</a></span></td></tr></if>
<!-- / daPLAYBOY banUser end -->
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
<div id="award$post[postid]" style="padding:$stylevar[cellpadding]px 0px 0px 0px;">
$awardbox
</div>

i cant find this <span class="usertitle">
{vb:raw post.usertitle}
</span>

you have this mod on 3.8.4?


Hello niadene,

In 3.8.4:


The same applies in 3.8.4 EXCEPT For:

In posbit (That is what I use),

Find:

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



ADD BELOW:

<!-- Wy Country Flags Start -->
<if condition="$post['fieldX']">
Country: <img src="http://www.YOUR FORUM ADDRESS.COM/images/buttons/flags/$post[fieldX].GIF" alt="$post[username]'s Country Flag on PUT YOUR FORUM ADDRESS HERE!" border="" />
</if>
<!--// Wy Country Flags End -->


** Change the "X" to the fieldID **
** Replace the "Red Text" with Your Forum Address **
** Replace the "Magenta Text" with whatever text you wish to apper on "mouse over" on the actual flag **



** SAVE TEMPLATE **


Please note that you will have to change the "UK.gif" Flag in the flags folder - to - "UK.GIF" for that one to work.

niadene
01-14-2010, 09:16 AM
/public_html/images/buttons/flags<<<i upload it here but still not showing...

$template_hook[postbit_start]
<div id="post$post[postid]">
<div class="forbg">
<div class="forl">
<div class="forr">

<div id="post$post[postid]" style="float:right;padding:12px 90px 0 0;" $post[scrolltothis]>
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>

<div class="fortitel">
<!-- status icon and date -->
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</div>
</div>
</div>
<div class="c_border_left">
<div class="c_border_right">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt2" style="padding:0px">
<a name="post$post[postid]"> </a>
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
<td nowrap="nowrap">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]
</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">

<div class="smallfont">
<if condition="$post['joindate']"><div class="pibu"><div class="pib">$vbphrase[join_date]: $post[joindate]</div></div></if>
<if condition="$post['field2']"><div class="pibu"><div class="pib">$vbphrase[location_perm]: $post[field2]</div></div></if>
<if condition="$post['age']"><div class="pibu"><div class="pib">$vbphrase[age]: $post[age]</div></div></if>
<div class="pibu"><div class="pib">
$vbphrase[posts]: $post[posts]
</div>
<!-- Wy Country Flags Start -->
<if condition="$post['field6']">
Country: <img src="http://www.coders-realm.COM/images/buttons/flags/$post[fieldX].GIF" alt="$post[username]'s Country Flag on My Country!" border="" />
</if>
<!--// Wy Country Flags End --></div>$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"> <div class="pibu"><div class="pib">$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="pibu"><div class="pib">$vbphrase[reppower]: $post[reppower] </div></div></if><div class="pibu"><div class="pib">$post[reputationdisplay]</div></div></if>$template_hook[postbit_userinfo_right]
<if condition="$post[icqicon] or $post[aimicon] or $post[msnicon] or $post[yahooicon] or $post[skypeicon]"><div class="pibu"><div class="pib">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></div></if>
</div>

</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->
$template_hook[postbit_messagearea_start]

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$ad_location[ad_showthread_firstpost_start] $post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>

<!-- message, attachments, sig -->

</td>
</tr>
</table>
$template_hook[postbit_end]

</div>
</div>
<div class="c_border_bottombg">
<div class="c_border_bottom_left">
<div class="c_border_bottom-right">
</div>
</div>
</div>
<div style="padding-top:5px;"></div>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
</div>
<!-- / post $post[postid] popup menu -->

here's my posbit...i also done with editing templates and at ACP i follow instructions too..but flags can still see on my posts

Stefanus
01-14-2010, 06:08 PM
/public_html/images/buttons/flags<<<i upload it here but still not showing...

here's my posbit...i also done with editing templates and at ACP i follow instructions too..but flags can still see on my posts

<!-- Wy Country Flags Start -->
<if condition="$post['field6']">
Country: <img src="http://www.coders-realm.COM/images/buttons/flags/$post[fieldX].GIF" alt="$post[username]'s Country Flag on My Country!" border="" />
</if>
<!--// Wy Country Flags End -->

Look at the [fieldX].GIF change to [field6].GIF, if your field is 6 the images should appear.

$template_hook[postbit_start]
<div id="post$post[postid]">
<div class="forbg">
<div class="forl">
<div class="forr">

<div id="post$post[postid]" style="float:right;padding:12px 90px 0 0;" $post[scrolltothis]>
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>

<div class="fortitel">
<!-- status icon and date -->
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</div>
</div>
</div>
<div class="c_border_left">
<div class="c_border_right">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt2" style="padding:0px">
<a name="post$post[postid]"> </a>
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
<td nowrap="nowrap">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]
</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">

<div class="smallfont">
<if condition="$post['joindate']"><div class="pibu"><div class="pib">$vbphrase[join_date]: $post[joindate]</div></div></if>
<if condition="$post['field2']"><div class="pibu"><div class="pib">$vbphrase[location_perm]: $post[field2]</div></div></if>
<if condition="$post['age']"><div class="pibu"><div class="pib">$vbphrase[age]: $post[age]</div></div></if>
<div class="pibu"><div class="pib">
$vbphrase[posts]: $post[posts]
</div>
<!-- Wy Country Flags Start -->
<if condition="$post['field6']">
Country: <img src="http://www.coders-realm.COM/images/buttons/flags/$post[field6].GIF" alt="$post[username]'s Country Flag on My Country!" border="" />
</if>
<!--// Wy Country Flags End -->
</div>$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"> <div class="pibu"><div class="pib">$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="pibu"><div class="pib">$vbphrase[reppower]: $post[reppower] </div></div></if><div class="pibu"><div class="pib">$post[reputationdisplay]</div></div></if>$template_hook[postbit_userinfo_right]
<if condition="$post[icqicon] or $post[aimicon] or $post[msnicon] or $post[yahooicon] or $post[skypeicon]"><div class="pibu"><div class="pib">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></div></if>
</div>

</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->
$template_hook[postbit_messagearea_start]

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$ad_location[ad_showthread_firstpost_start] $post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>

<!-- message, attachments, sig -->

</td>
</tr>
</table>
$template_hook[postbit_end]

</div>
</div>
<div class="c_border_bottombg">
<div class="c_border_bottom_left">
<div class="c_border_bottom-right">
</div>
</div>
</div>
<div style="padding-top:5px;"></div>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
</div>
<!-- / post $post[postid] popup menu -->

Switch3130
01-14-2010, 07:16 PM
Some of my users are having the problem of flags not displaying, but I'm guessing that's due to all the options not having images.

Any way for all the options given to have an image?

Welshy2008
01-14-2010, 11:36 PM
/public_html/images/buttons/flags<<<i upload it here but still not showing...

$template_hook[postbit_start]
<div id="post$post[postid]">
<div class="forbg">
<div class="forl">
<div class="forr">

<div id="post$post[postid]" style="float:right;padding:12px 90px 0 0;" $post[scrolltothis]>
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>

<div class="fortitel">
<!-- status icon and date -->
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</div>
</div>
</div>
<div class="c_border_left">
<div class="c_border_right">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt2" style="padding:0px">
<a name="post$post[postid]"> </a>
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
<td nowrap="nowrap">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]
</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">

<div class="smallfont">
<if condition="$post['joindate']"><div class="pibu"><div class="pib">$vbphrase[join_date]: $post[joindate]</div></div></if>
<if condition="$post['field2']"><div class="pibu"><div class="pib">$vbphrase[location_perm]: $post[field2]</div></div></if>
<if condition="$post['age']"><div class="pibu"><div class="pib">$vbphrase[age]: $post[age]</div></div></if>
<div class="pibu"><div class="pib">
$vbphrase[posts]: $post[posts]
</div>
<!-- Wy Country Flags Start -->
<if condition="$post['field6']">
Country: <img src="http://www.coders-realm.COM/images/buttons/flags/$post[field6].GIF" alt="$post[username]'s Country Flag on My Country!" border="" />
</if>
<!--// Wy Country Flags End --></div>$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"> <div class="pibu"><div class="pib">$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="pibu"><div class="pib">$vbphrase[reppower]: $post[reppower] </div></div></if><div class="pibu"><div class="pib">$post[reputationdisplay]</div></div></if>$template_hook[postbit_userinfo_right]
<if condition="$post[icqicon] or $post[aimicon] or $post[msnicon] or $post[yahooicon] or $post[skypeicon]"><div class="pibu"><div class="pib">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></div></if>
</div>

</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->
$template_hook[postbit_messagearea_start]

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$ad_location[ad_showthread_firstpost_start] $post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>

<!-- message, attachments, sig -->

</td>
</tr>
</table>
$template_hook[postbit_end]

</div>
</div>
<div class="c_border_bottombg">
<div class="c_border_bottom_left">
<div class="c_border_bottom-right">
</div>
</div>
</div>
<div style="padding-top:5px;"></div>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
</div>
<!-- / post $post[postid] popup menu -->

here's my posbit...i also done with editing templates and at ACP i follow instructions too..but flags can still see on my posts


I have changed the X to your field number 6 for you, but you still won't see them.

The reason is that you are using the postbit_legacy and not the Postbit on your forum.

Welshy2008
01-14-2010, 11:37 PM
Some of my users are having the problem of flags not displaying, but I'm guessing that's due to all the options not having images.

Any way for all the options given to have an image?


Which flags aren't displaying? Have you uploaded the contents of the Three (3) flag folders?

Switch3130
01-15-2010, 12:50 AM
My users have reported to me Ivory Coast, and Russian Federation wasn't displaying.

niadene
01-15-2010, 05:18 AM
I have changed the X to your field number 6 for you, but you still won't see them.

The reason is that you are using the postbit_legacy and not the Postbit on your forum.

thats my posbit not the postbit_legacy....i dont know why it's not showing...i try to follow intsructions but still not showing

Welshy2008
01-15-2010, 07:14 AM
Good Morning, Switch.

I have a "Russian Federation" flag for you (attached).

Hope that Helps.

Welshy.

Welshy2008
01-15-2010, 07:17 AM
thats my posbit not the postbit_legacy....i dont know why it's not showing...i try to follow intsructions but still not showing


No Niadene,

I meant you posted up your postbit code, but on your forum the actual one that you are using is the "Postbit_Legacy".

You will not see it on your forum by changing the "Postbit" template.


What I found is that space is very limited on the Postbit_Legacy (this is based on my experience on testing it on the Postbit_Legacy).

niadene
01-15-2010, 07:26 AM
No Niadene,

I meant you posted up your postbit code, but on your forum the actual one that you are using is the "Postbit_Legacy".

You will not see it on your forum by changing the "Postbit" template.


What I found is that space is very limited on the Postbit_Legacy (this is based on my experience on testing it on the Postbit_Legacy).

here is my posbit legacy

$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><center>$post[musername]</center></a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont"><center>$post[usertitle]</center></div></if>
<center><if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if></center>
$template_hook[postbit_userinfo_left]

<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><center><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></center>
</div>
</if>

<div class="smallfont">
&nbsp;<br />
<if condition="is_member_of($bbuserinfo, 6, 7, 9)">
<if condition="$post['field15']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile">
<img alt="My Facebook" border="0" src="http://www.yourforum.com/images/misc/facebook.png" border="0"/>
</if></if>
<if condition="$post['joindate']"><div class="userinfo"><strong>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div class="userinfo"><strong>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div class="userinfo"><strong>$vbphrase[age]: $post[age]</div></if>


<div class="userinfo"><strong>
$vbphrase[posts]: $post[posts]
</div>




$template_hook[postbit_userinfo_right_after_posts]
<!-- vBcredits -->

<if condition="$show['credits_post']">

<div class="userinfo"><strong> $vbphrase[credits]: <span id="cdt_$post[postid]_$post[userid]">$post[credits]</span> <if condition="$show['credits_donate']">[<a href="credits.php?$session[sessionurl]do=manage&amp;u=$post[userid]#donate">$vbphrase[donate]</a>]</if> <if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&amp;u=$post[userid]">$vbphrase[check]</a>]</if>
</div>
</div>
</if>



<!-- End of vBcredits -->

<if condition="$show['infraction']"><div class="userinfo"><strong>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>

<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="userinfo"><strong>$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">;background-color:$mcscolor;</if>">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]


$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<if condition="$post['signature']">
<!-- sig -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
<fieldset><legend>$post[musername]'s Sig:</legend>$post[signature]</fieldset>
</div>
<!-- / sig -->
</if>
</td>
</tr>

<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">background-color:$mcscolor;</if>border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$show['canbechecked']"> <if condition="$post['ischecked']"> <span class="smallfont"> <if condition="$show['mcsrecent']"> <strong class="highlight">$vboptions[mcs_recent_text] </strong> </if> <phrase 1="$mcpmember" 2="$mcpdate" 3="$mcptime" 4="$post[checkedbyu]">$vbphrase[marked_by_on_at]</phrase> </span> <else /> <span class="smallfont highlight" style="font-weight:bold">$vbphrase[mcs_post_not_checked]</span> </if> </if>
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<!-- daPLAYBOY banUser -->
<if condition="($bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7 || $bbuserinfo[usergroupid]==5)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban User: $post[username]</a></span></td></tr></if>
<!-- / daPLAYBOY banUser end -->
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
<div id="award$post[postid]" style="padding:$stylevar[cellpadding]px 0px 0px 0px;">
$awardbox
</div>

Welshy2008
01-15-2010, 07:28 AM
My users have reported to me Ivory Coast, and Russian Federation wasn't displaying.


And here is the "Ivory Coast" flag for you (attached).


Hope that helps.


** Please note that you will have to change the'.gif' to '.GIF'.

Welshy2008
01-15-2010, 02:04 PM
Niadene,

I don't use Postbit_legacy. But; as I said above, as there is limited space with the Posbit_Legacy - if you have too many items in there, it won't work.

FIND:

<if condition="$post['age']"><div class="userinfo"><strong>$vbphrase[age]: $post[age]</div></if>

ADD BELOW:

<p>
<!-- Wy Country Flags Start -->
<if condition="$post['field6']">
Country: <img src="http://www.coders-realm.com/images/buttons/flags/$post[field6].GIF" alt="$post[username]'s Country Flag on My Country!" border="" />
</if>
<!--// Wy Country Flags End -->

It is a matter of moving it around to find a place that suits you and your forum best. :)

PS - Your flags are in the right Place. ;)

niadene
01-15-2010, 03:32 PM
got it..but can i put it above join date? https://vborg.vbsupport.ru/external/2010/01/78.jpg

Cobro
01-15-2010, 03:57 PM
Outstanding work Welshy2008

Switch3130
01-15-2010, 07:09 PM
Thanks for finding those 2 flags for me Welshy2008. :D

COL NIL SATIS
01-15-2010, 07:23 PM
Fantastic work welshy!!! love this mod its awesome...any chance we can have the northern ireland flag pal????

Welshy2008
01-15-2010, 08:10 PM
Outstanding work Welshy2008


:D

Thanks for finding those 2 flags for me Welshy2008. :D

No problem - Don't know why they weren't in the original foler.

Fantastic work welshy!!! love this mod its awesome...any chance we can have the northern ireland flag pal????

The flags were made by a friend of Cobro. :p

Welshy2008
01-15-2010, 08:19 PM
got it..but can i put it above join date? https://vborg.vbsupport.ru/external/2010/01/78.jpg



Please click Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=229511).



FIND:

<if condition="$post['joindate']"><div class="userinfo"><strong>$vbphrase[join_date]: $post[joindate]</div></if>


ADD ABOVE:

<p>
<!-- Wy Country Flags Start -->
<if condition="$post['field6']">
Country: <img src="http://www.coders-realm.com/images/buttons/flags/$post[field6].GIF" alt="$post[username]'s Country Flag on My Country!" border="" />
</if>
<!--// Wy Country Flags End --></p>

niadene
01-16-2010, 05:16 AM
can i make it in center?coz it shows on the right side...i want it on the center

argothiusz
01-16-2010, 09:05 AM
Cambodia Flag is missing :( and the option attached list is not listed in alphabetically order if you take a closer look at it toward the end. :(

Welshy2008
01-16-2010, 09:10 AM
can i make it in center?coz it shows on the right side...i want it on the center


I noticed that you're just using the flag and No text, So try...


FIND:

<if condition="$post['joindate']"><div class="userinfo"><strong>$vbphrase[join_date]: $post[joindate]</div></if>


ADD ABOVE:

<p>
<!-- Wy Country Flags Start -->
<if condition="$post['field6']">
<CENTER><img src="http://www.coders-realm.com/images/buttons/flags/$post[field6].GIF" alt="$post[username]'s Country Flag on My Country!" border="" />
</if>
<!--// Wy Country Flags End --></p>

Welshy2008
01-16-2010, 09:15 AM
Cambodia Flag is missing :( and the option attached list is not listed in alphabetically order if you take a closer look at it toward the end. :(

Attached.


I have noticed that the list is not in alaphbetical order - I will sort that out asap. :)

Welshy2008
01-16-2010, 09:55 AM
the option attached list is not listed in alphabetically order if you take a closer look at it toward the end. :(

It is not in alphabetical order throughout the Options text.

I have now re-done it all in aphabetical order and attached it below (and to the Origianal Opening Post).

Hope that Helps?!


Next one is to re-look at the Flag folders, and sort them out. :(

niadene
01-16-2010, 10:40 AM
Thanks Weshly:::now im done...i put it above avatar....it look good...thank you so much....

Welshy2008
01-16-2010, 11:25 AM
Thanks Weshly:::now im done...i put it above avatar....it look good...thank you so much....

I noticed Niadene. It looks great and you are very Welcome. :)

OmekaTeam
01-16-2010, 04:28 PM
With version 4.0.1 it works? The problem is that I do not see the red X even though I followed all the instructions. Thanks

argothiusz
01-16-2010, 06:23 PM
Thanks for the update Welshy :)

@Omeke, yes it works on 4.0.1 :)

COL NIL SATIS
01-16-2010, 08:26 PM
:D



No problem - Don't know why they weren't in the original foler.



The flags were made by a friend of Cobro. :p

Could Cobros mate make the northern ireland one pal :o

COL NIL SATIS
01-16-2010, 08:28 PM
Thanks for the update too mate..great stuff!!!

Welshy2008
01-17-2010, 09:37 AM
With version 4.0.1 it works? The problem is that I do not see the red X even though I followed all the instructions. Thanks


Please click installed for support.


Do you see a red X ?


or


You do not see a red X?

Welshy2008
01-17-2010, 09:40 AM
Thanks for the update Welshy :)

[QUOTE=COL NIL SATIS;1957663]Thanks for the update too mate..great stuff!!!

No Problem Gents. :)

Could Cobros mate make the northern ireland one pal :o

I am affraid that I don't know that. He has replied to this Mod - I will PM him on your behalf.

COL NIL SATIS
01-17-2010, 05:08 PM
Okey dokes pal thats great!!! thanks for the help :D

OmekaTeam
01-17-2010, 05:28 PM
Hi

Thank you all, I installed the product and it's all ok.

Welshy2008
01-17-2010, 06:09 PM
Hi

Thank you all, I installed the product and it's all ok.


Can you Click "Installed" Please?

OmekaTeam
01-17-2010, 06:15 PM
I did it with pleasure. Ciao

Welshy2008
01-18-2010, 07:16 AM
Thank You OmekaTeam. :)

dieKetzer
01-19-2010, 01:31 PM
great hack!
i do however recommend that {vb:stylevar imgdir_button} not be used due to a multi-style dilemma. also, <dt>Country:</dt> should be changed to <dt>Country</dt> as the semi-colon will be automatically added.

Welshy2008
01-19-2010, 04:03 PM
great hack!
i do however recommend that {vb:stylevar imgdir_button} not be used due to a multi-style dilemma. also, <dt>Country:</dt> should be changed to <dt>Country</dt> as the semi-colon will be automatically added.


Thanks for your feedback - I appreciate it.


I added the ':' because I prefer them and vB 4 did not include them. I added them to all the others manually too.

I don't know if the latest version has covered this (4.0.1) because I did a complete upgrade over my 4.0.0.

I must say that I have and continue to have used the {vb:stylevar imgdir_button} with No problems.

But everyone is free do change it to whatever they feel is best for their forum. And to give feedback on their experiences here.

One of the things that I don't like with the new vB is everything on the "Postbit" is aligned to the far right.


Does anyone know how to have that closer together like vB3? With just one space between the ':' and the Member's answer.


Ie:
Location: UK
Occupation: Plumber



Best Wishes,

Welshy2008.

Fynnon
01-19-2010, 07:03 PM
it would be nice to have the flagsin the Members List next to the name

dieKetzer
01-20-2010, 01:49 AM
i dont know the reason, but on my 4.01 install the semicolons are automatically added, and the use of <dt>Country:</dt> results in double-colons, ie Country::
whether this is specific to me, i dont know :confused:
the issue with {vb:stylevar imgdir_button} is that this nearly always varies from theme to theme, and a user will need to upload the flags dir into each and every themes button directory, which pretty much defeats the purpose of using variables full stop.
anyway, i didnt post these things to demand a change so much as for the use of others that may experience double-colons or wonder why the flags dont show in their non-default theme.
Thanks for your feedback - I appreciate it.


I added the ':' because I prefer them and vB 4 did not include them. I added them to all the others manually too.

I don't know if the latest version has covered this (4.0.1) because I did a complete upgrade over my 4.0.0.

I must say that I have and continue to have used the {vb:stylevar imgdir_button} with No problems.

But everyone is free do change it to whatever they feel is best for their forum. And to give feedback on their experiences here.

One of the things that I don't like with the new vB is everything on the "Postbit" is aligned to the far right.


Does anyone know how to have that closer together like vB3? With just one space between the ':' and the Member's answer.


Ie:
Location: UK
Occupation: Plumber



Best Wishes,

Welshy2008.

dieKetzer
01-20-2010, 01:51 AM
and i do love this hack!

Welshy2008
01-20-2010, 06:50 AM
Hello DK.

I am using vB 4.0.1 and there is only one (1) ':' showing for me.

But; as you say, if there are two (2) showing, just remove the one from my code. :)


Thanks again for your feedback. :D

Welshy2008
01-20-2010, 06:52 AM
it would be nice to have the flags in the Members List next to the name

I don't understand why it doesn't show on there to be honest?!

niadene
01-20-2010, 10:32 AM
:(( can i have a sri lanka flag?please n thanks

SledgeHead
01-21-2010, 07:18 AM
I just wanted to say thank you for such a great mod. I run a Vinylmation (Disney's vinyl toy) website and forum, and actually tweaked this mod up a little bit to have users display their favorite figure rather than their country. All it was was changing a few words and voila. The potential is far greater than simply showing countries. Fantastic job!

ywwz
01-23-2010, 03:30 PM
Amazing Hack

domi681
01-24-2010, 10:43 AM
hello, install flags as it says the instructions and not shows nothing.

What can I do?

Thank you.

Welshy2008
01-24-2010, 02:24 PM
hello, install flags as it says the instructions and not shows nothing.

What can I do?

Thank you.


What is your forum address? Post here or PM it to me. :)

Welshy2008
01-24-2010, 02:25 PM
What is your forum address? Post here or PM it to me. :)


Please also click "Installed" to receive support - Thank You.

kylek
01-31-2010, 03:50 AM
Got something weird that happened to the flags, they were fine and now are not displaying properly, any ideas what may be causing this?

111398

ChrisG.
01-31-2010, 05:21 AM
Hey, thanks for the hack!

I plan to use it. The flags included don't really match the esthetic of my site. But I have a set of flags from FAMFAMFAM, (they are free). They can be downloaded here:

http://www.famfamfam.com/lab/icons/flags/

I'll have to go through and rename all the files to match your script, but I think I'll do it.

Thank you for putting together the script.

When I get around to renaming all the files, I'll post a link to share them.

cheers,
Chris

ChrisG.
01-31-2010, 12:25 PM
Here they are. There is a text file included with additional instructions.

Download Alternate Flag Set. (http://www.awardshow.name/temp/alternate_flag_set.zip)

BTW - The script works beautifully. Thank you.

cheers,
Chris

Welshy2008
01-31-2010, 02:16 PM
Got something weird that happened to the flags, they were fine and now are not displaying properly, any ideas what may be causing this?

111398



I have just checked the forum in your signature, and if that is the one that you are referring to, It was working well when I looked at it.


Best Wishes,
Welshy.

Welshy2008
01-31-2010, 02:17 PM
@ ChrisG

Are you able to find ones that are slightly higher and loger? They are too small. :(


Thanks for sharing though.

dieKetzer
01-31-2010, 03:41 PM
this is a firefox 3.6 bug.
https://bugzilla.mozilla.org/show_bug.cgi?id=538752

Got something weird that happened to the flags, they were fine and now are not displaying properly, any ideas what may be causing this?

111398

kylek
01-31-2010, 04:57 PM
this is a firefox 3.6 bug.
https://bugzilla.mozilla.org/show_bug.cgi?id=538752

Thanks dieKetzer!!

ChrisG.
01-31-2010, 07:39 PM
@ ChrisG

Are you able to find ones that are slightly higher and loger? They are too small. :(


Thanks for sharing though.


There are many flag icon sets out there, and easy to find. Round ones, glossy/gel button ones. Big ones. Small ones.

Find some here:
http://www.google.com/search?hl=hp&q=flag+icons

For $6 this set is pretty nice:
http://jacorre.com/design/pixelflagicons.htm

Here's a bunch of different ones:
http://www.mostinspired.com/blog/2009/08/31/8-comprehensive-flag-icon-sets/


Note to others:

The terrific thing is, Jamie's script works with any set, so longs as your list in your custom menu matches the file names of the images in your folder.

On a side note: I realized after the fact that Jamie used ".GIF" and mine were lower case ".gif" so it initially gave me a broken link, but it was a simple fix to make the code lower case... easier than changing them to uppercase on all my file names. As a consequence, it would be just as easy to use PNGs or JPGs, and just change the suffix in the code.

PS. I really have to hand it to Welshy2008 / Jamie, it's a very flexible script. Simple, easy to customize and could be repurposed for so many things. Kudos. Voted: 5 stars.


.

ChrisG.
01-31-2010, 07:47 PM
I really want to figure out how to make this show up on the member list.

Switch3130
02-01-2010, 03:02 AM
Is there a reason why flag images appear on one skin and on another it doesn't appear. I copied over the same postbit_legacy code, so it can't be the coding I don't think. Help?

Nevermind figured out I had to move the flags over to the new skins images files.

edit: Left this up just in case it happens to someone else.

drummaster
02-01-2010, 08:59 PM
Hi

Can someone please help Installed all in the right places

But some users flag show and somw dont I cant figure it out
I have uninstalled and reinstalled several times but with no joy.

I would gratfull for any help

Thank You

Welshy2008
02-01-2010, 10:31 PM
What is your forum address and I will have a look? PM it to me if you prefer. :)

niadene
02-02-2010, 06:15 PM
seems my flags are broken ...

:((https://vborg.vbsupport.ru/external/2010/02/98.jpg

$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><center>$post[musername]</center></a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont"><center>$post[usertitle]</center></div></if>
<center><if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if></center>
$template_hook[postbit_userinfo_left]

<p>
<!-- Wy Country Flags Start -->
<if condition="$post['field7']">
<center><img src="http://www.coders-realm.com/images/buttons/flags/$post[field7].GIF" alt="$post[username]'s Country Flag on My Country!" border="" />
</if>
<!--// Wy Country Flags End -->
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><center><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></center>
</div>
</if>

<div class="smallfont">
&nbsp;<br />
<if condition="is_member_of($bbuserinfo, 6, 7, 9)">
<if condition="$post['field15']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile">
<img alt="My Facebook" border="0" src="http://www.yourforum.com/images/misc/facebook.png" border="0"/>
</if></if>



<if condition="$post['joindate']"><div class="userinfo"><strong>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div class="userinfo"><strong>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div class="userinfo"><strong>$vbphrase[age]: $post[age]</div></if>


<div class="userinfo"><strong>
$vbphrase[posts]: $post[posts]
</div>




$template_hook[postbit_userinfo_right_after_posts]
<!-- vBcredits -->

<if condition="$show['credits_post']">

<div class="userinfo"><strong> $vbphrase[credits]: <span id="cdt_$post[postid]_$post[userid]">$post[credits]</span> <if condition="$show['credits_donate']">[<a href="credits.php?$session[sessionurl]do=manage&amp;u=$post[userid]#donate">$vbphrase[donate]</a>]</if> <if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&amp;u=$post[userid]">$vbphrase[check]</a>]</if>
</div>
</div>
</if>



<!-- End of vBcredits -->

<if condition="$show['infraction']"><div class="userinfo"><strong>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>

<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="userinfo"><strong>$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">;background-color:$mcscolor;</if>">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]


$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<if condition="$post['signature']">
<!-- sig -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
<fieldset><legend>$post[musername]'s Sig:</legend>$post[signature]</fieldset>
</div>
<!-- / sig -->
</if>
</td>
</tr>

<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">background-color:$mcscolor;</if>border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$show['canbechecked']"> <if condition="$post['ischecked']"> <span class="smallfont"> <if condition="$show['mcsrecent']"> <strong class="highlight">$vboptions[mcs_recent_text] </strong> </if> <phrase 1="$mcpmember" 2="$mcpdate" 3="$mcptime" 4="$post[checkedbyu]">$vbphrase[marked_by_on_at]</phrase> </span> <else /> <span class="smallfont highlight" style="font-weight:bold">$vbphrase[mcs_post_not_checked]</span> </if> </if>
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<!-- daPLAYBOY banUser -->
<if condition="($bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7 || $bbuserinfo[usergroupid]==5)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban User: $post[username]</a></span></td></tr></if>
<!-- / daPLAYBOY banUser end -->
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
<div id="award$post[postid]" style="padding:$stylevar[cellpadding]px 0px 0px 0px;">
$awardbox
</div>

kindly check my postbit_legacy if something is wrong...

thanks

Welshy2008
02-02-2010, 06:45 PM
seems my flags are broken ...

:((https://vborg.vbsupport.ru/external/2010/02/98.jpg


thanks

Got something weird that happened to the flags, they were fine and now are not displaying properly, any ideas what may be causing this?

111398

this is a firefox 3.6 bug.
https://bugzilla.mozilla.org/show_bug.cgi?id=538752

Hi Niadene,

Please see the quotes, that I have quoted above. It appears that there is a known bug with firefox that does that to animated images.

I trust you are seeing that while using Firefox?


Welshy2008.

Welshy2008
02-02-2010, 06:47 PM
They are displaying perfect in Internet Explorer, by the way. :)

COL NIL SATIS
02-02-2010, 08:05 PM
yeah my flags are all a1 mate..top mod...any sign of the northern ireland flag welshy??

niadene
02-03-2010, 05:17 AM
thanks welshy...yeah ur right im using firefox when im viewing that..

now working perfect with opera browser..

balkanboy
02-06-2010, 12:45 AM
flags dont appear correctly with firefox...

But anyways how can i set it so its not under Country: but directly to the right???

Welshy2008
02-06-2010, 11:15 AM
flags dont appear correctly with firefox...

But anyways how can i set it so its not under Country: but directly to the right???

Please read posts, Above. It is a bug in FireFox.

The code that I gave - should place the flag to the right. :)

balkanboy
02-06-2010, 01:18 PM
Please read posts, Above. It is a bug in FireFox.

The code that I gave - should place the flag to the right. :)

Yep i understand the FF issue thats fine but about the code i did use that but seems like it still doesnt show on the right...


<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

Welshy2008
02-06-2010, 05:40 PM
Yep i understand the FF issue thats fine but about the code i did use that but seems like it still doesnt show on the right...


<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->


Again, That is a Firefox Bug. It shows perfectly, and how it should do, in Internet Explorer.


See attachments as proof.

balkanboy
02-06-2010, 11:12 PM
Again, That is a Firefox Bug. It shows perfectly, and how it should do, in Internet Explorer.


See attachments as proof.

ahh yea i understand there both FF issues mmm hope FF does some fixing to 3.6

Welshy2008
02-07-2010, 11:44 AM
ahh yea i understand there both FF issues mmm hope FF does some fixing to 3.6


Nope; They haven't, as I use Firefox 3.6. :( (And my screenshots in my post 2 above this are from my FF 3.6).

balkanboy
02-07-2010, 07:58 PM
Nope; They haven't, as I use Firefox 3.6. :( (And my screenshots in my post 2 above this are from my FF 3.6).

hrmmm not sure why it does it with your GIF's maybe the way you saved your GIF images because i have gone on animated GIF sites and they do load fine.... so not sure why FF will be displaying them like that...

Welshy2008
02-08-2010, 06:55 AM
hrmmm not sure why it does it with your GIF's maybe the way you saved your GIF images because i have gone on animated GIF sites and they do load fine.... so not sure why FF will be displaying them like that...



Me neither. Hmm.

They were working great until recently. So I don't know what FF have done.

And, they were made by someone else, so I haven't the foggiest idea how they were saved.

Hall of Famer
02-09-2010, 06:33 AM
Why does it only show the name of the country instead of the flag images?

Welshy2008
02-09-2010, 06:41 AM
Why does it only show the name of the country instead of the flag images?

Please click "Installed" if you require support! and then...

...If you PM me your forum address, I will take a look for you.

MichaelDance
02-10-2010, 08:36 PM
I put <!-- Wy Country Flags Start -->
<vb:if condition="$post['field6']"> <dt>Country:</dt> <img src="http://www.habbocamping.net/forum/images/buttons/flags/{vb:raw post.field6}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->
In postbit_legacy
and Nothing shows up, if you like to see http://habbocamping.net/forum/showthread.php?29-UK-Mods&p=69 Just says: "Country:" thats it.. Can you help me please..

No Worries i found out the problem but i dont know all the countries, if anyone has had the same problem as me go to the flags folder and you see where it says flag_au.GIF change that to Australia.GIF and the flag_uk.GIF change that to UK.GIF and the same to the rest that you think are important unless you know all the codes.

I know some of you guys also having the same problem i have uploaded a zip with ones i have edited so you can just upload this zip to flag folder and un-zip it..
Wales,United States, UK, Switzerland(i think), Scotland, Syria, Tenerife, Spain, Saudi Arabia, Sigapore, Rwanda, Russioan-Federation, Romania, Quatar, News Zealand, Germany, Great Britain, France, Europe, Finland, England, Denmark, Canada, Australia. Hope these may save you time.

MichaelDance
02-11-2010, 12:37 AM
Sorry about the Double Posts mods, but i thought it was better to post in here than make a thread..

Hello guys and gals, i know you have been having the same problem as i had, and i thought as i use most Mods available i like i thought i could re-pay you back by this Reply..

I took my time and changed all the names of the flags images so that you can just upload these Zips instead and follow the developers Installation and your Flags will and should work fully without modifaction to the Flag Names...

Save you some time..

Please note, i take no credit for this, just would like a small thank you for my time... After im off to bed but ill stay online on here like always..

Please Comment if they work for you like they do for me :)

Yours Faithfully,
MichaelDance

PS: remove Nicaraqua.GIF and upload Nicaragua.GIF or just upload and leave it as it wont be used anyway.

Switch3130
02-11-2010, 01:00 AM
How can we make it so a person can display no flag?

MichaelDance
02-11-2010, 01:08 AM
How can we make it so a person can display no flag?

Right if you uploaded my Zips instead and extracted them all into the flags file and you installed the way the developer has told us, then open AdminCP > User Profile Feilds and where Norway is put Not Telling under it and save it and when they click on the flags and see Not Telling and click and save it it will show up the Not Telling Flag.

Hope thats helpful

Welshy2008
02-11-2010, 08:42 AM
How can we make it so a person can display no flag?

Just add it with a Blank option. When your user selects that - Nothing (not even the 'Country' text) should show.


Michael - Thank You. :)

MichaelDance
02-11-2010, 10:36 PM
Just add it with a Blank option. When your user selects that - Nothing (not even the 'Country' text) should show.


Michael - Thank You. :)

No problem mate, and wicked i didnt know that.. very handy to know :)

RedHacker
02-20-2010, 12:32 PM
What cant show the flags property...? I have FF 3.6 Version....

MichaelDance
02-20-2010, 06:47 PM
What cant show the flags property...? I have FF 3.6 Version....

What do you mean your Firefox not showing the badges or you carnt edit or see the flags property?

RedHacker
02-20-2010, 08:12 PM
What do you mean your Firefox not showing the badges or you carnt edit or see the flags property?

I upload screenshot in Monday...

balkanboy
02-21-2010, 10:39 PM
Still would like a fix with this even with FF not only the image is disordered the layout isn't correctly aligned....

MichaelDance
02-21-2010, 11:30 PM
Still would like a fix with this even with FF not only the image is disordered the layout isn't correctly aligned....

They worked fine with me when i was on firefox 3.5 with Vb4.0.1 so im not sure why they arent for you. You just need the new zips which i uploaded with the names of the flags or they wont show up.

balkanboy
02-21-2010, 11:58 PM
i opened your images and the files still dont should correctly.... mind you not from the site i right even tested it locally right click open with firefox = same issue the GIF file doesnt seem to display correctly.... mmm, check the site on my sig let me know if it appears correctly so far i tried 2 other machines they display the same results hrmm

*Update*

Okay i have checked a third PC with FF GIF displayed correctly but its under "country" not beside it like the mood mod...

RedHacker
02-22-2010, 04:32 AM
With FF 3.6 Show this...

http://img42.imageshack.us/img42/9677/36254840.jpg

Welshy2008
02-22-2010, 08:44 AM
Still would like a fix with this even with FF not only the image is disordered the layout isn't correctly aligned....


Unfortunately, I have no control over FF, and I am unable to re-align everyones flag layout to suit. I did mention that if you would like to move or do anything else, then YOU are free to do so.

I will support as much as I can to get them working on your forum. On your forum, they are.

Welshy2008
02-22-2010, 08:49 AM
i opened your images and the files still dont should correctly.... mind you not from the site i right even tested it locally right click open with firefox = same issue the GIF file doesnt seem to display correctly.... mmm, check the site on my sig let me know if it appears correctly so far i tried 2 other machines they display the same results hrmm


*Update*

Okay i have checked a third PC with FF GIF displayed correctly but its under "country" not beside it like the mood mod...

With FF 3.6 Show this...

http://img42.imageshack.us/img42/9677/36254840.jpg


As I have already explained. They are like this because of a bug in FF. They are perfect in IE.

Firefox is out of my control. Have you reported this bug to Firefox?

RedHacker
02-22-2010, 09:01 AM
Sorry Welshy2008 i dont know...

No i not reported to firefox because not speak good English

Stefanus
02-22-2010, 05:50 PM
Okay i have checked a third PC with FF GIF displayed correctly but its under "country" not beside it like the mood mod...

This is the code i use: (tested on FF and IE8)

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"><span style="text-align:left"> Country : <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.gif" align="middle" alt="Users Country Flag" border="" /></span></vb:if>
<!-- Wy Flags End -->


You might have to add css code to format the Country flag, look at your Vmood css and do something simmilar for the country flags to have it display the same.

sinikuk
02-22-2010, 08:05 PM
Hi thanks for the mod. I was wondering how I can get the flags to show up next to users name in the latest posts.

See attatched, any help would be appreciated.

Thanks

MichaelDance
02-22-2010, 08:22 PM
I dont know why all you people are having trouble with this mod, i found it easy to follow ad installed it correctly.

The only problem i had was the names of the flags.

I use and checked my old VB4.0.1 with the following Browsers whichi worked fine:

Internet Explorer 8

Firefox 3.5

Google Chrome

Im also on Windows Vista..

Erm everything worked fine and its very very good.. if nothing works try another browser is what i myself recommend...

If you need the names of the flags read the last pages and see my zips which are full rights to the developer of this mod, i just renamed them.. First make sure you follow his Installation rules.

basilrath
02-22-2010, 08:26 PM
it is worth pointing out the UK.GIF should be UK.gif .......... pedantic but needs to be changed

it can be added into the same structure as real name and other postbit mods like this postbit

HERE (http://www.tabletennistalk.co.uk/forum/showthread.php?2651-Table-Tennis-Talk-Change&p=29052#post29052)

balkanboy
02-22-2010, 10:55 PM
This is the code i use: (tested on FF and IE8)

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"><span style="text-align:left"> Country : <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.gif" align="middle" alt="Users Country Flag" border="" /></span></vb:if>
<!-- Wy Flags End -->


You might have to add css code to format the Country flag, look at your Vmood css and do something simmilar for the country flags to have it display the same.

thanks mate that alignment works :D:D:D

sinikuk
02-23-2010, 07:59 AM
Hi thanks for the mod. I was wondering how I can get the flags to show up next to users name in the latest posts.

See attatched, any help would be appreciated.

Thanks

Anyone have any ideas?

Stefanus
02-23-2010, 07:14 PM
Anyone have any ideas?

Find the following:

Forum Home Templates
forumhome_lastpostby

<div class="lastpostby">
<vb:if condition="$lastpostinfo['lastposterid']">
{vb:rawphrase by_x_memberaction, {vb:raw memberaction_dropdown}}

(Place your code here)

<vb:else />
{vb:rawphrase by_x_guest, {vb:raw lastpostinfo.lastposter}}
</vb:if>
</div>

sinikuk
02-23-2010, 07:31 PM
Hi and thanks for the reply, I did try that but the flags do not show?

Heres the code I used for legacy and it works fine, but when I place it in forumhome_lastpostby nothing.

<vb:if condition="$post['field9']"> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field9}.gif" alt="Users Country Flag" border="" /></vb:if>

sinikuk
02-24-2010, 05:32 PM
Is there anyone one else who might know how to do this, Ive been trying for 2 days now lol.

MichaelDance
02-25-2010, 12:32 AM
Hello, do you have msn, if you do add michaeldance@live.co.uk and i can help you step by step.

Also if needed i can do it for you if you would like me too.

sinikuk
02-25-2010, 05:37 AM
Hi, I have it working but want it to show in lastpost next to the users name aswell.

https://vborg.vbsupport.ru/attachment.php?attachmentid=112817&d=1266876210

pushpullbar
03-03-2010, 12:48 AM
Thanks for posting this. I wanted to reinstate the flags since upgrading to vb4

Here is a little trick on how you can make it so when you hover the cursor over the flag, you actually get the name of the country.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" alt="{vb:raw post.fieldX}" border="" /></vb:if>
<!-- Wy Flags End -->

make sure of course you change the X to the correct field number.

It's a great way to learn country flags.

Welshy2008
03-03-2010, 10:53 AM
Thanks for posting this. I wanted to reinstate the flags since upgrading to vb4

Here is a little trick on how you can make it so when you hover the cursor over the flag, you actually get the name of the country.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" alt="{vb:raw post.fieldX}" border="" /></vb:if>
<!-- Wy Flags End -->

make sure of course you change the X to the correct field number.

It's a great way to learn country flags.


Thank You very much for that Mate - you have saved me doing it. I have been meaning to do it for a while, but never got around to it.

sinikuk
03-03-2010, 06:51 PM
But I guess you don't know how to get the flag to display in lastpost?

princeedward
03-03-2010, 08:02 PM
nice...HERE IS MY WAY! (https://vborg.vbsupport.ru/showpost.php?p=1996297&postcount=88)

vbbforfree
03-05-2010, 03:43 AM
You did not enter the correct format for the Country Flag field. Please read the field description for the expected format.
How ???

Welshy2008
03-05-2010, 08:00 AM
You did not enter the correct format for the Country Flag field. Please read the field description for the expected format.
How ???

Who are you replying too?

Extra PC
03-05-2010, 04:01 PM
thanks installed


http://www.extra-pc.com/vb/showthread.php?t=2594

TheHardest
03-05-2010, 05:57 PM
All the flags are looking weird on my forums. :-/

https://vborg.vbsupport.ru/

archet1337
03-09-2010, 03:01 AM
This mod works perfectly in postbit, but I would like to know if it's possible to show the actual flag in the memberlist and not just the text?

A693BCBAFD72
03-10-2010, 01:14 PM
Thanks for your work. I can't get this to work; I've done everything by the book, but I do not have this in User profile field: "Options = (OPTIONS)"! That field is missing ... Do I have to install another plugin in order to get the "Options" field?

Thanks in advance.

Welshy2008
03-10-2010, 01:37 PM
All the flags are looking weird on my forums. :-/

http://www.deltaops.eu/forums4.0/images/buttons/flags/United%20States.GIF

There is a known bug in Firefox (I trust you mean that you are seeing it displayed weirdly in that browser)?.

This mod works perfectly in postbit, but I would like to know if it's possible to show the actual flag in the memberlist and not just the text?

I haven't a clue - to be honest. That is something that I would have to look into.

Thanks for your work. I can't get this to work; I've done everything by the book, but I do not have this in User profile field: "Options = (OPTIONS)"! That field is missing ... Do I have to install another plugin in order to get the "Options" field?

Thanks in advance.

Can You PM me your forum address?

A693BCBAFD72
03-10-2010, 03:36 PM
Check your PM Welshy.
Thanks.

Welshy2008
03-10-2010, 06:35 PM
I Have replied.

Welshy2008
03-10-2010, 06:39 PM
Please also click "Installed" and rate accordingly, when I/you complete the install. :)

Welshy2008
03-10-2010, 07:03 PM
Ok,

I have done that for you and tested it all out with various flags.

All it was is that you selected "Sinlee Text line" instead of "single selection menu" and you only changed one of the "X"'s in the postbit_legacy code.

I had to delete your old "profile field" as I was unable to edit it. (strangely).

So I re-entered the new number in the BOTH 'X' positions and the country flags now work.

Enjoy,

Best Wishes,

Welshy2008.

A693BCBAFD72
03-11-2010, 07:26 AM
That I didn't understand: within vB settings the Postbit selected as Legacy or simple, I had no go ... I didn't realize that only one "X" field was set ... My bad.
Well done, Welshy. Hell of a job! Regarded with a 5 star!
Thanks.

Cheers,
Alex

Extra PC
03-11-2010, 07:46 AM
hot to change this (This is {vb:raw post.username}'s Country Flag)

to (this is the flag of USA By (user name)

Welshy2008
03-11-2010, 10:47 AM
That I didn't understand: within vB settings the Postbit selected as Legacy or simple, I had no go ... I didn't realize that only one "X" field was set ... My bad.
Well done, Welshy. Hell of a job! Regarded with a 5 star!
Thanks.

Cheers,
Alex



You're Welcome Alex.

Welshy2008
03-11-2010, 10:48 AM
hot to change this (This is {vb:raw post.username}'s Country Flag)

to (this is the flag of USA By (user name)


Sorry, I realise what you mean.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="http://www.youraddresshere/forum/images/buttons/flags/{vb:raw post.fieldX}.GIF" alt="This is the flag of {vb:raw post.fieldX} By {vb:raw post.username}" border="0" />
</vb:if>
<!-- Wy Flags End -->


Don't forget to change the forum address and replace the THREE (3) 'X's with the Field ID.


LET me know how you get on with that. ;)

Extra PC
03-11-2010, 01:27 PM
Sorry, I don't understand what you mean?


i mean when i move the mouse on the flag picture i want see the name of country flag + member name


like emotion here look https://vborg.vbsupport.ru/external/2010/03/64.jpg

Welshy2008
03-11-2010, 01:34 PM
i mean when i move the mouse on the flag picture i want see the name of country flag + member name


like emotion here look https://vborg.vbsupport.ru/attachment.php?attachmentid=113864&stc=1&d=1268321608



Hello Extra PC.


I clicked as to what you meant, and I have edited the post with what you need. Please see post #200.

Let us know how you get on. :)

Extra PC
03-11-2010, 01:42 PM
Hello Extra PC.


I clicked as to what you meant, and I have edited the post with what you need. Please see post #200.

Let us know how you get on. :)


wow perfect thanx:D


demo

http://www.extra-pc.com/vb/showthread.php?t=2454

sinikuk
03-11-2010, 01:46 PM
Hi thanks for the mod. I was wondering how I can get the flags to show up next to users name in the latest posts.

See attatched, any help would be appreciated.

Thanks

Still waiting for a reply on this!!

Alecsmith
03-12-2010, 06:11 AM
their is no switzerland flag in a list :(

Welshy2008
03-12-2010, 09:00 AM
their is no switzerland flag in a list :(


Attached, Alec. :)

Alecsmith
03-12-2010, 09:34 AM
Thanks Welshy2008 :)

Welshy2008
03-12-2010, 12:19 PM
Thanks Welshy2008 :)


You are most welcome, Alec. :)

archet1337
03-12-2010, 12:28 PM
This mod works perfectly in postbit, but I would like to know if it's possible to show the actual flag in the memberlist and not just the text?
I haven't a clue - to be honest. That is something that I would have to look into.

Thanks, would be awesome if you could implement that feature :)

Welshy2008
03-12-2010, 12:44 PM
Still waiting for a reply on this!!

I was working on this for you, but after your rediculous comment you left on here (now, rightfully removed by vb.org staff) - I have abandond all efforts and deleted the lot.

I did say in the start that I will help anyone (preferably with manners) to get this working. If you as the installer want it placed anywhere else on your forum, then that is upto you.

However, I have helped several people to do just that, and as I stated above, I was in the process of doing for you.

Kindly keep your comments to yourself.

sinikuk
03-12-2010, 01:01 PM
I removed it myself, but maybe I should have left my comment! I've repeatedly asked in this thread for help only to be ingnored everytime!

All I needed was a yes or a no.

Welshy2008
03-12-2010, 01:40 PM
It's a no, I am not doing all that again.

Venturer X
03-13-2010, 07:34 AM
I've got a problem...

It tries to load http://XXXXXXXXXXXXX/forum/images/buttons/flags/.GIF

Even though I have selected UK in my profile field (I have made sure that the fieldX is field5 like it is in the User Profile Field Manager) but still only trys to load .GIF

Welshy2008
03-13-2010, 08:50 AM
I've got a problem...

It tries to load http://XXXXXXXXXXXXX/forum/images/buttons/flags/.GIF

Even though I have selected UK in my profile field (I have made sure that the fieldX is field5 like it is in the User Profile Field Manager) but still only trys to load .GIF


You have Mail. :)

youradhere4222
03-13-2010, 11:35 PM
I don't think the UK flag is working correctly.

Edit: Nevermind, I just needed to change the gif on UK to all-caps.

Affixxx
03-14-2010, 01:20 AM
the images dont display right on some themes

Welshy2008
03-14-2010, 09:02 AM
I don't think the UK flag is working correctly.

Edit: Nevermind, I just needed to change the gif on UK to all-caps.

I have been informed that the latest flag folders to be attached are .gif and not .GIF, as you correctly pointed out with the UK flag.

If it is the case that all the flags are .gif (I haven't checked as yet), it would be easier to chage the code from .GIF to .gif:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

Becomes:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.gif" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

And:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> <img src="http://www.YOUR FORUM ADDRESS.com/images/buttons/flags/{vb:raw post.fieldX}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->

Becomes:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> <img src="http://www.YOUR FORUM ADDRESS.com/images/buttons/flags/{vb:raw post.fieldX}.gif" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->

As soon as I get some time, I will go through them.


the images dont display right on some themes

Are we talking about Firfox Here? If so, there is a known bug displaying some animagted gifs.

Jabong82
03-14-2010, 09:30 AM
Hello I installed this mod a while ago and actually haven't noticed this until just now but I have an unusual problem with this in IE8. When I use IE8 I get a weird horizontal rule under the flag (see attachment).

Oh and in Firefox I just realized that I get the blurry image others are talking about. These were both working fine before but I guess its because I updated to new browsers for both. Any chance of a fix on these? Or is it just browser problems?

Thank you again for this great mod.

Edit: Nevermind I fixed the horizontal line it was a conflict with another mod :). Anyway is there any fix yet for Firefox?

Welshy2008
03-14-2010, 11:11 AM
I know of the one in Firefox, but not the one in IE8. Unfortunately, that is down to those browsers and it is out of my hands, Sorry. :(

motorola
03-14-2010, 12:05 PM
My flags dont appear. What's wrong?

archet1337
03-14-2010, 01:39 PM
Anyway is there any fix yet for Firefox?

Read this post:

https://support.mozilla.com/en-US/forum/1/613598#threadId615519

:)

Welshy2008
03-14-2010, 02:44 PM
My flags dont appear. What's wrong?


I have tried my crystal ball, but I can't quite see. :D


I will need more info. And a link to your forum.


Regards,

Welshy2008.

Welshy2008
03-14-2010, 02:44 PM
Read this post:

https://support.mozilla.com/en-US/forum/1/613598#threadId615519

:)


Thank You. :)

Super-six
03-21-2010, 01:22 PM
Hi
[2] Questions:

Will this possibly work with v3.8.5 ?

Also, once installed on the board, does the full country name
show up with a mouse-over? Some people may not know what
.IE or .AU is.

Welshy2008
03-21-2010, 01:35 PM
Hi
[2] Questions:

Will this possibly work with v3.8.5 ?

Also, once installed on the board, does the full country name
show up with a mouse-over? Some people may not know what
.IE or .AU is.



Hello,

This particular one will Not work on 3.8.X

I do have a version that I could do for you, (I have 3.8.4 PL2) and I will be upgrading to 3.8.5.

Yes, I do have the alt code to show the actual" Country Flag" name.


Bare with with me and I will do it as soon as possible for you and the others that has requested it.

If you want to try it on the 3.8.5, I am afraid you will be the Guinea pig. I can't see why it won't work, but I can't guarantee that. As ALWAYS, do a forum back-up BEFORE adding any Mods or changes to your board, but preferably, use a "Test" forum.


Welshy2008.

MichaelDance
03-22-2010, 01:44 PM
Hello,

This particular one will Not work on 3.8.X

I do have a version that I could do for you, (I have 3.8.4 PL2) and I will be upgrading to 3.8.5.

Yes, I do have the alt code to show the actual" Country Flag" name.


Bare with with me and I will do it as soon as possible for you and the others that has requested it.

If you want to try it on the 3.8.5, I am afraid you will be the Guinea pig. I can't see why it won't work, but I can't guarantee that. As ALWAYS, do a forum back-up BEFORE adding any Mods or changes to your board, but preferably, use a "Test" forum.


Welshy2008.

Welshy :) That be great if you do a 3.8.5 version as i can use it atm as i have downgraded to 3.8.5 due to V4 bugs lol :)

Welshy2008
03-22-2010, 08:19 PM
Welshy :) That be great if you do a 3.8.5 version as i can use it atm as i have downgraded to 3.8.5 due to V4 bugs lol :)

Here we go, A 3.8.X version.


https://vborg.vbsupport.ru/showthread.php?p=2008371#post2008371

balkanboy
03-23-2010, 10:26 PM
Yesss new FIREFOX UPDATE FIXES THE GIF IMAGESSS WOOT !!! LOL

Update: 3.6.2

Welshy2008
03-24-2010, 07:59 AM
Yesss new FIREFOX UPDATE FIXES THE GIF IMAGESSS WOOT !!! LOL

Update: 3.6.2



So it has. |Thanks for the heads up. :D

Firefox 3.6.2 Upgrade (English UK) (http://www.mozilla-europe.org/en/firefox/)

Firefox 3.6.2 Upgrade (All other languages) (http://www.mozilla.com/en-US/firefox/all.html)


HTH.

El Orans
03-27-2010, 10:00 AM
Flags2.zip seems to be missing.

Welshy2008
03-27-2010, 01:05 PM
Flags2.zip seems to be missing.



Yes Sorry,

I took it off to change the UK flag to .GIF and forgot to put it back on. I have sone it now.


Thank You.

mikem164
03-28-2010, 03:23 PM
my "edit details" in last user profile setting is M.I.A. I put under User Profile....but no dice. Any suggestions how to bring back. Vb4.0.2 with minimal mods. THANKS!

Welshy2008
04-12-2010, 04:45 PM
Attached is the "Vatican" flag that appears to be missing.

J6488EEA8E90
04-24-2010, 02:06 AM
This is a nice mod for the forums. Thanks

COL NIL SATIS
04-30-2010, 06:26 PM
Welshy we have upgrade to 4.0.3 do i need to do anything different ....my flags have vanished ....gahhhh

Welshy2008
04-30-2010, 06:59 PM
Hello Col,

Try going into UserCP and reselecting the Country from your Dropdown list and click Save.

See if that sorts it for you?

PM me your forum address Mate.

COL NIL SATIS
05-01-2010, 04:36 PM
Hello Col,

Try going into UserCP and reselecting the Country from your Dropdown list and click Save.

See if that sorts it for you?


PM me your forum address Mate.

Sound mate.....i will pm you now Welshy bud.....

COL NIL SATIS
05-01-2010, 04:59 PM
Welshy forget that mate ...they have reappeared lol !!!!!

Welshy2008
05-01-2010, 05:02 PM
Lol, Ok Mate.


How's sunny Liverpool? :)

COL NIL SATIS
05-01-2010, 05:05 PM
Its great ....been enjoying the football today .....weather wasnt the best tho lol ...raining today:o

Welshy2008
05-01-2010, 08:26 PM
Ok, Thanks for the Update on your forgetting to do the "template edit".Lol


Regards,

Welshy2008. :D

raja811
05-03-2010, 11:04 PM
how to forced user select this option ?

Welshy2008
05-04-2010, 09:41 AM
how to forced user select this option ?



Add New User Profile Field Single-Selection Menu:

Title = Country Flag
Description = Add your country flag to your profile:
Profile Field Category = (Uncategorized)
Options = Copy & Paste the Whole contents of the file attached below (OPTIONS)
Set Default = None
Display Order = You Select this (dependant on how many you already have)
Field Required = yes, at registration and profile updating
Field Editable by User = Yes
Private Field = No
Field Searchable on Members List = No
Show on Members List = Yes


My Bold red, Above.

RK KINGKONG
05-13-2010, 01:52 PM
I have found it way better to use the following code the the one supplied. It made it look better and its in a better position. Also notice that when you hoover over the flag it will actually say the full name of the country.

Find:
{vb:raw template_hook.postbit_userinfo_right}

Add ABOVE:
<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldx']">
<a class="postuseravatar">
<dt>Country:</dt>
<img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldx}.GIF" alt="{vb:raw post.fieldx}" border="" />
</vb:if>
<!-- Wy Flags End -->

And of course X being your field id for the user profile field.

Welshy2008
05-13-2010, 04:36 PM
I have found it way better to use the following code the the one supplied. It made it look better and its in a better position. Also notice that when you hoover over the flag it will actually say the full name of the country.

Find:
{vb:raw template_hook.postbit_userinfo_right}

Add ABOVE:
<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldx']">
<a class="postuseravatar">
<dt>Country:</dt>
<img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldx}.GIF" alt="{vb:raw post.fieldx}" border="" />
</vb:if>
<!-- Wy Flags End -->

And of course X being your field id for the user profile field.


The following is the code that I use (I have put it on here in a post - But I should put it in my OP):


<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="http://www.YOUR FORUMADDRESS.COM/images/buttons/{vb:raw post.fieldX}.GIF" alt="{vb:raw post.username}'s Country Flag is: {vb:raw post.fieldX}" border="0" />
</vb:if>
<!-- Wy Flags End -->


Gives me - what you see in the "Attachment".

It is a case of - adjusting the code to suit your needs. :)

robbiefritz
05-13-2010, 08:06 PM
Thanks. Some of the mod tips were great and as such used a little of them too.

DeadRabbit
05-18-2010, 09:46 AM
where is the FieldID.jpg ?

Welshy2008
05-18-2010, 11:55 AM
where is the FieldID.jpg ?

Sorry, You have lost me. :confused:

fuffalo
06-10-2010, 02:50 PM
This is not working for me, I can't see it after I put the code in. I can pm you the postbit_legacy.

Welshy2008
06-10-2010, 03:58 PM
This is not working for me, I can't see it after I put the code in. I can pm you the postbit_legacy.


Go ahead Mate, PM it.


Note to anyone else. You don't need permission to PM, just PM me with your problem, suggestion(s) etc, and let me know which mod it is about and I will happily have a look for you.


Best Regards,
Welshy2008.