putnum01
Forum Replies Created
Viewing 13 replies - 1 through 13 (of 13 total)
-
Forum: Fixing WordPress
In reply to: adding ability to add image to the quickpress widgetok I am sorry about that I’ll wait. ??
Forum: Fixing WordPress
In reply to: adding ability to add image to the quickpress widgetCan anybody please help me with this??
Forum: Fixing WordPress
In reply to: adding ability to add image to the quickpress widgetI guess I need to know how the media-upload.php hands back the URL of either the file uploaded or the URL of the image to the widget??
Forum: Fixing WordPress
In reply to: how to link to quickpressok thanks inspired2write!
Forum: Plugins
In reply to: [Plugin: Front-end Editor]bump
Forum: Plugins
In reply to: [Plugin: Front-end Editor]I am sorry I forgot to put a title in! Can a admin do this for me?
Forum: Plugins
In reply to: a quickpress widgetjust bumping this up.
Forum: Fixing WordPress
In reply to: Adding the edit post as a option for the screen optionsYes I understand that but how do you set it up in the screen options?
Forum: Fixing WordPress
In reply to: How to let only registered users use search?I got it fixed ?? Thanks for your code snippets.
Forum: Fixing WordPress
In reply to: How to let only registered users use search?I am using buddypress I don’t know if this changes things??
Forum: Fixing WordPress
In reply to: How to let only registered users use search?nope ??
<?php do_action( 'bp_before_sidebar' ) ?> <div id="sidebar"> <div class="padder"> <?php do_action( 'bp_inside_before_sidebar' ) ?> <?php if ( is_user_logged_in() ) : ?> <?php do_action( 'bp_before_sidebar_me' ) ?> <div id="sidebar-me"> <a href="<?php echo bp_loggedin_user_domain() ?>"> <?php bp_loggedin_user_avatar( 'type=thumb&width=40&height=40' ) ?> </a> <h4><?php bp_loggedinuser_link() ?></h4> <a class="button logout" href="<?php echo wp_logout_url( bp_get_root_domain() ) ?>"><?php _e( 'Log Out', 'buddypress' ) ?></a> <?php do_action( 'bp_sidebar_me' ) ?> </div> <?php do_action( 'bp_after_sidebar_me' ) ?> <?php if ( function_exists( 'bp_message_get_notices' ) ) : ?> <?php bp_message_get_notices(); /* Site wide notices to all users */ ?> <?php endif; ?> <?php else : ?> <?php do_action( 'bp_before_sidebar_login_form' ) ?> <p id="login-text"> <?php _e( 'To start connecting please log in first.', 'buddypress' ) ?> <?php if ( bp_get_signup_allowed() ) : ?> <?php printf( __( ' You can also <a href="%s" title="Create an account">create an account</a>.', 'buddypress' ), site_url( BP_REGISTER_SLUG . '/' ) ) ?> <?php endif; ?> </p> <form name="login-form" id="sidebar-login-form" class="standard-form" action="<?php echo site_url( 'wp-login.php', 'login' ) ?>" method="post"> <label><?php _e( 'Username', 'buddypress' ) ?><br /> <input type="text" name="log" id="sidebar-user-login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" /></label> <label><?php _e( 'Password', 'buddypress' ) ?><br /> <input type="password" name="pwd" id="sidebar-user-pass" class="input" value="" /></label> <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="sidebar-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ) ?></label></p> <?php do_action( 'bp_sidebar_login_form' ) ?> <input type="submit" name="wp-submit" id="sidebar-wp-submit" value="<?php _e('Log In'); ?>" tabindex="100" /> <input type="hidden" name="testcookie" value="1" /> </form> <?php do_action( 'bp_after_sidebar_login_form' ) ?> <?php endif; ?> <?php /* Show forum tags on the forums directory */ if ( BP_FORUMS_SLUG == bp_current_component() && bp_is_directory() ) : ?> <div id="forum-directory-tags" class="widget tags"> <h3 class="widgettitle"><?php _e( 'Forum Topic Tags', 'buddypress' ) ?></h3> <?php if ( function_exists('bp_forums_tag_heat_map') ) : ?> <div id="tag-text"><?php bp_forums_tag_heat_map(); ?></div> <?php endif; ?> </div> <?php endif; ?> <?php dynamic_sidebar( 'sidebar' ) ?> <?php do_action( 'bp_inside_after_sidebar' ) ?> </div><!-- .padder --> </div><!-- #sidebar --> <?php do_action( 'bp_after_sidebar' ) ?>
Forum: Fixing WordPress
In reply to: How to let only registered users use search?<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bp_page_title() ?></title> <?php do_action( 'bp_head' ) ?> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" /> <?php endif; ?> <?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" /> <?php endif; ?> <?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" /> <?php endif; ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_head(); ?> </head> <body <?php body_class() ?> id="bp-default"> <?php do_action( 'bp_before_header' ) ?> <div id="header"> <h1 id="logo"><a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></a></h1> <ul id="nav"> <li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a> </li> <?php if ( 'activity' != bp_dtheme_page_on_front() && bp_is_active( 'activity' ) ) : ?> <li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>/<?php echo BP_ACTIVITY_SLUG ?>/" title="<?php _e( 'Activity', 'buddypress' ) ?>"><?php _e( 'Activity', 'buddypress' ) ?></a> </li> <?php endif; ?> <li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>/<?php echo BP_MEMBERS_SLUG ?>/" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?></a> </li> <?php if ( bp_is_active( 'groups' ) ) : ?> <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>/<?php echo BP_GROUPS_SLUG ?>/" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a> </li> <?php if ( bp_is_active( 'forums' ) && bp_is_active( 'groups' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) bp_get_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?> <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>/<?php echo BP_FORUMS_SLUG ?>/" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?></a> </li> <?php endif; ?> <?php endif; ?> <?php if ( bp_is_active( 'blogs' ) && bp_core_is_multisite() ) : ?> <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>/<?php echo BP_BLOGS_SLUG ?>/" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a> </li> <?php endif; ?> <?php wp_list_pages( 'title_li=&depth=1&exclude=' . bp_dtheme_page_on_front() ); ?> <?php do_action( 'bp_nav_items' ); ?> </ul><!-- #nav --> <?php do_action( 'bp_header' ) ?> </div><!-- #header --> <?php do_action( 'bp_after_header' ) ?> <?php do_action( 'bp_before_container' ) ?> <div id="container">
This is what I have in my header.php file
Forum: Fixing WordPress
In reply to: How to let only registered users use search?Thanks for your help. But I do not have this code in my header.php
<?php
include (TEMPLATEPATH . ‘/searchform.php’);
?>
Viewing 13 replies - 1 through 13 (of 13 total)