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)

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

Quote:

Originally Posted by niadene (Post 1955284)
/public_html/images/buttons/flags<<<i upload it here but still not showing...

Code:

$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

Quote:

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

Quote:

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

1 Attachment(s)
Good Morning, Switch.

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

Hope that Helps.

Welshy.

Welshy2008 01-15-2010 07:17 AM

Quote:

Originally Posted by niadene (Post 1956233)
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

Quote:

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

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]

                        <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

1 Attachment(s)
Quote:

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

Code:

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

Code:

<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

Quote:

Originally Posted by Cobro (Post 1956621)
Outstanding work Welshy2008


:D

Quote:

Originally Posted by Switch3130 (Post 1956787)
Thanks for finding those 2 flags for me Welshy2008. :D

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

Quote:

Originally Posted by COL NIL SATIS (Post 1956800)
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

Quote:

Originally Posted by niadene (Post 1956607)
got it..but can i put it above join date? https://vborg.vbsupport.ru/external/2010/01/78.jpg



Please click Installed.



FIND:

Code:

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

Code:

<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

Quote:

Originally Posted by niadene (Post 1957143)
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:

Code:

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

Code:

<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

1 Attachment(s)
Quote:

Originally Posted by argothiusz (Post 1957205)
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

1 Attachment(s)
Quote:

Originally Posted by argothiusz (Post 1957205)
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

Quote:

Originally Posted by niadene (Post 1957247)
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

Quote:

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

Quote:

Originally Posted by OmekaTeam (Post 1957473)
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

[QUOTE]
Quote:

Originally Posted by argothiusz (Post 1957556)
Thanks for the update Welshy :)

Quote:

Originally Posted by COL NIL SATIS (Post 1957663)
Thanks for the update too mate..great stuff!!!


No Problem Gents. :)

Quote:

Originally Posted by COL NIL SATIS (Post 1957660)
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

Quote:

Originally Posted by OmekaTeam (Post 1958398)
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

Quote:

Originally Posted by dieKetzer (Post 1960186)
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.
Quote:

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


All times are GMT. The time now is 01:02 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.01927 seconds
  • Memory Usage 2,066KB
  • 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
  • (8)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