vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO (https://vborg.vbsupport.ru/showthread.php?t=229511)

Welshy2008 01-20-2010 06:52 AM

Quote:

Originally Posted by Fynnon (Post 1960480)
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

Quote:

Originally Posted by domi681 (Post 1965112)
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

Quote:

Originally Posted by Welshy2008 (Post 1965250)
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

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

Attachment 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.

BTW - The script works beautifully. Thank you.

cheers,
Chris

Welshy2008 01-31-2010 02:16 PM

Quote:

Originally Posted by kylek (Post 1970985)
Got something weird that happened to the flags, they were fine and now are not displaying properly, any ideas what may be causing this?

Attachment 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

Quote:

Originally Posted by kylek (Post 1970985)
Got something weird that happened to the flags, they were fine and now are not displaying properly, any ideas what may be causing this?

Attachment 111398


kylek 01-31-2010 04:57 PM

Quote:

Originally Posted by dieKetzer (Post 1971351)

Thanks dieKetzer!!

ChrisG. 01-31-2010 07:39 PM

Quote:

Originally Posted by Welshy2008 (Post 1971291)
@ 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/200...lag-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

Quote:

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

Code:

$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

Quote:

Originally Posted by niadene (Post 1973278)
seems my flags are broken ...

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


thanks

Quote:

Originally Posted by kylek (Post 1970985)
Got something weird that happened to the flags, they were fine and now are not displaying properly, any ideas what may be causing this?

Attachment 111398

Quote:

Originally Posted by dieKetzer (Post 1971351)

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

1 Attachment(s)
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

Quote:

Originally Posted by balkanboy (Post 1975734)
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

Quote:

Originally Posted by Welshy2008 (Post 1975966)
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...

Code:

<!-- 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

1 Attachment(s)
Quote:

Originally Posted by balkanboy (Post 1976013)
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...

Code:

<!-- 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

Quote:

Originally Posted by Welshy2008 (Post 1976148)
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

Quote:

Originally Posted by balkanboy (Post 1976333)
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

Quote:

Originally Posted by Welshy2008 (Post 1976575)
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

Quote:

Originally Posted by balkanboy (Post 1976895)
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

Quote:

Originally Posted by Hall of Famer (Post 1978092)
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

1 Attachment(s)
I put
Code:

<!-- 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/showth...9-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

1 Attachment(s)
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

Quote:

Originally Posted by Switch3130 (Post 1979635)
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

Quote:

Originally Posted by Switch3130 (Post 1979635)
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

Quote:

Originally Posted by Welshy2008 (Post 1979834)
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 :)


All times are GMT. The time now is 05:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02035 seconds
  • Memory Usage 1,969KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete