ezLogin 0.31

February 24, 2007

Thanks David for writing in, his comment is here.    He has done a widgetized [tag]plugin[/tag] version.    John said it here that he was look for a plugin to work with widget.

If you are using 0.31 then you may like to do some little adjustments to the look of it.

At around line 70, you’ll see below

if ($numcomments):
$return .= ""
$return .= sprintf(__('(%s) comments in moderation'), number_format($numcomments));
$return .= " »
"
else: $return .= "no comments in moderation";
endif;
$return .= ""

The closing tag /ul is placed after “endif”.   It is better this way in fact

$return .= ""
if ($numcomments):
$return .= ""
$return .= sprintf(__('(%s) comments in moderation'), number_format($numcomments));
$return .= " »
"
else: $return .= "no comments in moderation";
endif;
echo $return;

The text or link about comment moderation is then placed outside the unordered listing on a separate line.

WARNING: don’t copy from the box above as codes are not displayed correctly above.

3 Responses to “ezLogin 0.31”

  1. silverelf Says:

    I can’t seem to get the plugin working with widget.. It only displays Login

  2. silverelf Says:

    Is it possible to add a tag in this code, such that certain contain will only appear after the user logged in? Eg. I want to add links that appears to users only after they logged in, is there anyway that I could do that? =)

  3. silverelf Says:

    It would be even better if it can be customized to display links that are specific to users only.. So that I can customize my blog for different frenz to view =D


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: