Changeset 41993
- Timestamp:
- 04/21/08 14:27:07 (3 months ago)
- Files:
-
- wp-useronline/trunk/readme.html (modified) (2 diffs)
- wp-useronline/trunk/wp-useronline.mo (modified) (previous)
- wp-useronline/trunk/wp-useronline.php (modified) (1 diff)
- wp-useronline/trunk/wp-useronline.pot (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-useronline/trunk/readme.html
r36799 r41993 470 470 </li> 471 471 <li> 472 Go to '<strong>WP-Admin -> Presentation -> Widgets</strong>'473 </li> 474 <li> 475 <strong>Drag</strong> the UserOnline Widget to your sidebar476 </li> 477 <li> 478 You can <strong>configure</strong> the UserOnline Widget by clicking on the configure icon479 </li> 480 <li> 481 Click 'Save changes'472 Go to '<strong>WP-Admin -> Design -> Widgets</strong>' 473 </li> 474 <li> 475 You can <strong>add</strong> the UserOnline Widget by clicking on the 'Add' link besides it. 476 </li> 477 <li> 478 After adding, you can <strong>configure</strong> the UserOnline Widget by clicking on the 'Edit' link besides it. 479 </li> 480 <li> 481 Click 'Save Changes' 482 482 </li> 483 483 <li> … … 494 494 </li> 495 495 <li> 496 After typing the title, WordPress will generate the permalink to the page. You will see an 'Edit' link just beside the permalink. 497 </li> 498 <li> 499 Click 'Edit' and type in '<strong>useronline</strong>' in the text field (without the quotes) and click 'Save'. 500 </li> 501 <li> 496 502 Type '<strong>[page_useronline]</strong>' in the post's content area (without the quotes) 497 503 </li> 498 504 <li> 499 Type '<strong>useronline</strong>' in the post's slug area (without the quotes)500 </li>501 <li>502 505 Click 'Publish' 503 506 </li> 504 <li>If you <strong>ARE NOT</strong> using nice permalinks, you need to go to 'WP-Admin -> Options -> Useronline' and under '<strong>UserOnline URL</strong>', you need to fill in the URL to the UserOnline Page you created above.</li>507 <li>If you <strong>ARE NOT</strong> using nice permalinks, you need to go to 'WP-Admin -> Settings -> Useronline' and under '<strong>UserOnline URL</strong>', you need to fill in the URL to the UserOnline Page you created above.</li> 505 508 </ol> 506 509 <div class="SubSubTitle">UserOnline Stats (Outside WP Loop)</div> wp-useronline/trunk/wp-useronline.php
r36799 r41993 551 551 $ip2long = ip2long($ip); 552 552 if($user_level == 10 && ($ip != 'unknown') && $ip == long2ip($ip2long) && $ip2long !== false) { 553 return "(<a href=\"http://ws.arin.net/cgi-bin/whois.pl?queryinput=$ip\" t arget=\"_blank\" title=\"".gethostbyaddr($ip)."\">$ip</a>)";553 return "(<a href=\"http://ws.arin.net/cgi-bin/whois.pl?queryinput=$ip\" title=\"".gethostbyaddr($ip)."\">$ip</a>)"; 554 554 } 555 555 } wp-useronline/trunk/wp-useronline.pot
r36834 r41993 2 2 msgstr "" 3 3 "Project-Id-Version: WP-UserOnline 2.30\n" 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2008-03-30 17:35+0800\n" 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2008-04-21 22:18+0800\n" 6 "PO-Revision-Date: 2008-04-21 22:18+0800\n" 7 "Last-Translator: Lester Chan <lesterchan@gmail.com>\n" 7 8 "Language-Team: Lester Chan <lesterchan@gmail.com>\n" 8 9 "MIME-Version: 1.0\n" 9 "Content-Type: text/plain; charset= utf-8\n"10 "Content-Type: text/plain; charset=UTF-8\n" 10 11 "Content-Transfer-Encoding: 8bit\n" 11 12 "X-Poedit-Country: SINGAPORE\n"
