MyBB Community Forums

Full Version: [Code Modification] 244 Countries Flags with Wiki Links in Postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
This Not Work For Me. please help

{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="margin-bottom: 5px; {$post_visibility}" id="post_{$post['pid']}">
<tbody>
<tr>
<td class="tcat rounded_top">
<div class="float_left smalltext">
{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
</div>
{$post['posturl']}
</td>
</tr>

<tr>
<td class="trow1 {$unapproved_shade}">
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr>
<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
{$post['useravatar']}
</td>
<td class="post_author">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']} <a target="blank" href="http://en.wikipedia.org/wiki/Especial:Search?search={$post['fid4']}&fulltext=&go=Go" title="Look up {$post['fid4']} on wikipedia"style="cursor:help;" class="wiki"><img src="images/flags/{$post['fid4']}.png" ALIGN=ABSMIDDLE></a> <br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</td>
<td class="smalltext post_author_info" width="165">
{$post['user_details']}{$post['ougc_awards']}
</td>
</tr>
</table>
</td>
</tr>

<tr>
<td class="trow2 post_content {$unapproved_shade}">
<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

<div class="post_body" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}

<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</td>
</tr>

<tr>
<td class="trow1 post_buttons {$unapproved_shade}">
<div class="author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="post_management_buttons float_right">{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</td>
</tr>
<tr style="{$post['tyl_display']}" id="tyl_{$post['pid']}">
{$post['thankyoulike_data']}
</tr>
</tbody>
</table>{myadvertisements[zone_3]}



This Is My postbit Templet Please View And Tell What Problem.. My fid4 Also ok
great post!


+rep already!
(2012-11-09, 11:47 PM)Glenox Wrote: [ -> ]great post!


+rep already!

Thnaks. I have updated the OP so it has instructions on how to add the flags to the Members list page and members profile page.

Also included the blank flag image so there will be no more broken images. But I still recommend running a phpMyAdmin Query to set members that haven't picked a flag to "Undisclosed".

http://community.mybb.com/thread-87947-p...#pid660656
This is not plugin
(2012-11-11, 02:26 PM)Xbat Wrote: [ -> ]This is not plugin

The thread this is in, is called "Plugins & Code Modifications"
I have a weird problem with this.

When I choose "England" it works fine, and displays the flag.

However; if I choose a country other than "England" the flag does not display.

Any idea's
Can someone help me install this mod?I havent really understand it well,with fidX etc.
How i can make the code look like Country Flag:and the image here
(2013-10-16, 08:38 PM)Vkouk Wrote: [ -> ]How i can make the code look like Country Flag:and the image here

so bumppp
Pages: 1 2 3 4 5 6