Rick Patterson
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Duplicate of page title and homeif I use the ‘exclude=1’ argument the only page that shows in the menu list is home….
how about this…
if I make the second page “a members only” page, will the “home” page be hidden as well since they are the same?
Forum: Fixing WordPress
In reply to: Duplicate of page title and homepls help with this situation above…
I wish to have the home page to be listed only…in my menu list..the page lised after the “home page” is actually the same as the next page listed in the menu. I wish to eliminate the duplicate page name in the menu and just have it listed as home. You can go see the example at http://thehandymantoolbox.com
here is the code…..
<?php $menupages = $wpdb->get_results(“SELECT ID, post_title FROM $wpdb->posts WHERE post_type = ‘page’ AND post_status = ‘publish’ AND post_parent = 0 ORDER BY menu_order ASC”);
$menupagesnumber = count($menupages);
$menupagescount = 1;
foreach ($menupages as $menupage):?>Forum: Fixing WordPress
In reply to: AJAX Login WidgetI deactivated it until a fix can be performed…
Thank you for looking into this….
___________________________________________________________
<?php
/*
This is a template for AJAX Login Widget++.Elements which always must exist:
– The forms alw_registerForm, alw_loginForm and alw_lostPassword
– The message spans alw_registerMessage, alw_loginMessage and alw_lostPasswordMessageElements that must exist for the alw_show*()-functions to work:
– alw_login, alw_loading_login
– alw_register, alw_loading_register
– alw_lostPassword, alw_loading_lost
*/
?><div><div class=”main”><div class=”middle”><div class=”bottom”>
<?php
global $user_ID, $user_identity;
get_currentuserinfo();
if (!$user_ID) {
/* This part is for when the user is NOT logged in. */
?>
<div id=”alw_login” style=”padding-left:10px”>
<form onsubmit=”return false;” id=”alw_loginForm” action=”#” method=”post”>
<table>
<tr>
<td><?php _e(‘User’) ?>:</td>
<td><input onkeypress=”return alw_loginOnEnter(event);” type=”text” name=”log” size=”20″ style=”height:18px;”/></td>
</tr>
<tr>
<td><?php _e(‘Password’) ?>:</td>
<td><input onkeypress=”return alw_loginOnEnter(event);” type=”password” name=”pwd” size=”20″ style=”height:18px;”/></td>
</tr>
</table>
<p id=”alw_login_p”>
<label><input onkeypress=”return alw_loginOnEnter(event);” type=”checkbox” name=”rememberme” value=”forever”/> <?php _e(“Remember me”); ?></label>
| Register
| Lost password?
<input type=”button” name=”submit” value=”<?php _e(‘Log In’); ?> »” onclick=”alw_login();” style=”font-size:10px;height:24px;”/>
<span id=”alw_loginMessage”></span>
<span id=”alw_loading_login” style=”display:none; height:22px; width:22px; vertical-align:bottom”>
<img src=”<?php bloginfo(‘wpurl’); ?>/wp-content/plugins/ajax-login-widget/alw_loading.gif” alt=”Loading”/>
Logging in …
</span>
</p>
</form>
</div><div id=”alw_register” style=”padding-left:10px; display:none”>
<div>
<form onsubmit=”return false;” id=”alw_registerForm” action=”#” method=”post”>
<table>
<tr>
<td><?php _e(‘User’) ?>:</td>
<td><input onkeypress=”return alw_registerOnEnter(event);” type=”text” name=”user_login” size=”20″ style=”height:18px;”/></td>
</tr>
<tr>
<td><?php _e(‘E-mail’) ?>:</td>
<td><input onkeypress=”return alw_registerOnEnter(event);” type=”text” name=”user_email” size=”20″ style=”height:18px;”/></td>
</tr>
</table>
<p>
<span id=”alw_registerMessage”>A password will be mailed to you.
</span>
Log In
| Lost password?
<input type=”button” name=”submit” value=”<?php _e(‘Register’); ?> »” onclick=”alw_register();” style=”font-size:10px;height:22px;”/>
<span id=”alw_loading_register” style=”display:none; height:22px; width:22px; vertical-align:bottom”>
<img src=”<?php bloginfo(‘wpurl’); ?>/wp-content/plugins/ajax-login-widget/alw_loading.gif” alt=”Loading”/>
Registering …
</span>
</p>
</form>
</div>
</div><div id=”alw_lostPassword” style=”padding-left:10px; display:none”>
<div>
<form onsubmit=”return false;” id=”alw_lostPasswordForm” action=”#” method=”post”>
<table>
<tr>
<td><?php _e(‘User’) ?>:</td>
<td><input onkeypress=”return alw_retrievePasswordOnEnter(event);” type=”text” name=”user_login” size=”20″ style=”height:18px;”/></td>
</tr>
<tr>
<td><?php _e(‘E-mail’) ?>:</td>
<td><input onkeypress=”return alw_retrievePasswordOnEnter(event);” type=”text” name=”user_email” size=”20″ style=”height:18px;”/></td>
</tr>
</table>
<p>
<span id=”alw_lostPasswordMessage”>A message will be sent to your e-mail address.
</span>
Log In
| Register
<input type=”button” name=”submit” value=”<?php _e(‘Retrieve’); ?> »” onclick=”alw_retrievePassword();” style=”font-size:10px;height:22px;”/>
<span id=”alw_loading_lost” style=”display:none; height:22px; width:22px; vertical-align:bottom”>
<img src=”<?php bloginfo(‘wpurl’); ?>/wp-content/plugins/ajax-login-widget/alw_loading.gif” alt=”Loading”/>
Looking up your credentials …
</span>
</p>
</form>
</div>
</div><?php
} else {
/* This part is for when the user IS logged in. */
?><div>
<span class=”ajax_login_widget”>Logged in as <?php echo $user_identity; ?></span>
(“>log out)
<?php
if ( current_user_can(‘manage_options’) ) {
echo ‘(‘ . __(‘admin’) . ‘)’;
} else {
echo ‘(‘ . __(‘profile’) . ‘)’;
}
?>
</div><?php
}
?></div></div></div></div>
Forum: Fixing WordPress
In reply to: Fork in the road!Cool, I will check these out….
Forum: Fixing WordPress
In reply to: Duplicate of page title and homeOK this info is good…
now how can I hide the page name and just use the default, “home” in the navigation menu?
Forum: Fixing WordPress
In reply to: the use of “www.”Thank alll for your comments and input. I appreciate your time.
Forum: Fixing WordPress
In reply to: AJAX Login Widgetok looks good, but does not work…LOL
enter in login info and nothing happens….
any suggestions?
Forum: Fixing WordPress
In reply to: AJAX Login WidgetThank you . I will see if this works for me. I appreciate your time.
Forum: Fixing WordPress
In reply to: WP Anti-Captcha 20090821Thank you esmi… I am going with door #1, upgrading to 2.9.1…..
Forum: Plugins
In reply to: [Plugin: Register Plus] JQuery problems? Password strength meter not changinghey guys…
I am having the same issues…on 2.8.5
did you have an luck with the logo install?…mine did not come up on the WP Log Page.
Got any suggestions?
Forum: Fixing WordPress
In reply to: WP Anti-Captcha 20090821sorry to be so vague here…pardona mi so
for log in….
I already have Akismet running for comments.
Forum: Fixing WordPress
In reply to: Duplication of home page and page titlteSecond attempt here…
I installed AJAX Login Widget++….login info is very vague and obscure….
How can I get the AJAX Login Widget++ into a matching sidebar frame?
goto htp://thehandymantoolbox.com look on top of the side bar boxes.
Thanks for considering my query.
Forum: Fixing WordPress
In reply to: AJAX Login WidgetSecond attempt here…no takers yet!
I just installed AJAX Login Widget++….
How can I get the AJAX Login Widget++ into a matching sidebar frame?
goto htp://thehandymantoolbox.com
Thanks for considering my query.
Forum: Fixing WordPress
In reply to: WP Anti-Captcha 20090821Yes, I do…. I appreciate your quick response esmi.
Using it to stop bad bots…. any ideas.
Forum: Fixing WordPress
In reply to: drop down page menu neededThank you for the help… I am going with door #1 since it is compatible to 2.8.5..
Now I just need to know how to get this set up!