This plugin was adapted and modification from iptocountry made by Priyadi and iptonation made by OZH.
Many blogger not know how to implementation and install in they blog. Not familiar with PhpMyAdmin, and how to dump the data. So i just wanna help people who’s cant install.
In my First Plugin, i just added editor to create table ( wp_iptocountry ) and query editor, but i suggest you to query1000 data once query. If over, it’s not work to query, just little or a half data success insert.
How to Install, first download Asalmu
1. Extract and copy to /wp-content/plugins/
2. Wrap this code on you Comment Loop
<? erw_print_country("Posted From ");?>
This is example Comment Loop
<?php if ($comments) : ?>
<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> <!--to <?php the_title('&amp;amp;amp;#8220;','&amp;amp;amp;#8221;'); ?>--></h3>
<ol id="commentlist">
<?php foreach ($comments as $comment) : ?> // here THe Loop //
<li id="comment-<?php comment_ID() ?>">
<p class="LUsr"><strong><?php comment_author_link() ?></strong><br />
// here you put the code
<br><?php erw_print_country("Posted from ");?>
<a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('d M, Y') ?> at <?php comment_time() ?></a> <?php
edit_comment_link('edit','&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;',''); ?></p>
<small class="LGrav"><?php if (function_exists('gravatar')) { ?>
<img src="<?php gravatar('PX', '40', get_bloginfo('template_url')."/images/AvatarReplace.png"); ?>" alt="<?php
//_e('Gravatar'); ?>" />
<?php } ?></small>
<div class="LCon">
<?php comment_text() ?> // here The Comment
</div>
<small style="color:#FF0000;"><?php if ($comment->comment_approved == '0') : ?>Your comment is awaiting moderation.<?php
endif; ?></small>
</li>
<?php $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : ''; ?>
<?php endforeach; /* end for each comment */ ?> // here end of The Loop
</ol>
Now, in your Admin Area choose Option menu -> Asalmu, read the information if table not exist just click add button. In query editor, copy paste from wp_iptocountry.sql file. Remember, just 1000 data once query. Then click go button
You can puts the code in the footer your sidebar. Happy try blogger, if you find bug please post your bugs
You can follow any responses of
Asalmu Beta Pluginby through RSS 2.0 feed. You can leave a response, i will appreciate if you give the comment, or trackback from your own site.6 Responses to “Asalmu Beta Plugin”
Please Insert Your Comment
#1
judy
25 Mei 2008 at 4:01 amTalk From :
Great Site - really useful information!
#2
Willem
26 Mei 2008 at 6:27 amTalk From :
made it .All information on this site is represented for users. A site is
#3
tFaWG
23 Juni 2008 at 4:08 amTalk From :
Have you seen this site?, by free get google rank top, by free get google rank top, 8-(,
#4
DxzbO
23 Juni 2008 at 9:46 amTalk From :
I like this wishes, calculator car free loan new york, calculator car free loan new york, guzh,
#5
Kathy
13 Juli 2008 at 9:40 pmTalk From :
Cool!.. Nice work…
#6
Kemana Ya Priyadi | erwin blog
30 Agustus 2008 at 3:08 pmTalk From :
[...] meng-update blognya. Saya sebagai blogger yang sering baca tulisannya dan memakai pluginsnya ( walau saya modifikasi sedikit ) heran, kemana ya si [...]