Robkk (@robkk)

Forum Replies Created

Viewing 25 replies - 3,426 through 3,450 (of 3,784 total)

  • Robkk
    Moderator

    @robkk

    posting this so you know its me who sent you that email.

    do i really have to have a picture??


    Robkk
    Moderator

    @robkk


    I’ve been searching high and low with no promising leads.

    its been right in front of you the whole time!!!! (not yelling , being dramatic)

    ya know how the freshness column has a little avatar by the users name. high existence just moved it into an li and made it bigger.


    Robkk
    Moderator

    @robkk

    remove the #bbpress-forums code you added

    and also the code i gave you before

    use this

    .bbpress #primary {
    float:left;
    width:100%;
    }

    Robkk
    Moderator

    @robkk

    thats weird its part of your directory in your root installation.

    like on that error

    /home/vaghar123/public_html/wp-content/themes/mesocolumn/functions.php

    the url should have had the current logged in user , like your the admin so it should be

    http://www.astronomertalk.com/forums/users/admin/edit


    Robkk
    Moderator

    @robkk

    Ok, so your code solved moving the edit profile button to the far right, and removed it from the footer, yet all the above problems still remain.

    I probably dont need an account anymore, and im not going to experiment with your site with ftp.

    The other error your getting your going to have to contact your theme developer so they can see whats up with your theme.

    Tell me the url you get when you get the 404 on the edit profile link.


    Robkk
    Moderator

    @robkk

    weird that you werent a keymaster but glad you solved your own issue

    In reply to: Image click/resize

    Robkk
    Moderator

    @robkk

    no problem


    Robkk
    Moderator

    @robkk

    Maybe it just has to do with a plugin conflict

    if you think that you can try deactivating one plugin at a time to see whats causing the problem


    Robkk
    Moderator

    @robkk

    give me an account and ill take a look at what your talking about


    Robkk
    Moderator

    @robkk

    could it be that the editor background color , and text color are the same??

    would be nice to have pic too


    Robkk
    Moderator

    @robkk

    .bbp-login-links a {
    font-size:14px;
    display:block;
    }

    Robkk
    Moderator

    @robkk

    try

    .bbpress #content {
    width:100%
    } 

    else try

    .bbpress #content .clearfix {
    width:100%
    }

    Robkk
    Moderator

    @robkk

    this should hide the edit profile link in the footer

    .footer-right #bbp-editpro {
    	display: none;
    }

    Robkk
    Moderator

    @robkk

    to move the edit profile link right use this.

    replace the original edit profile code with this.

    // Filter wp_nav_menu() to add profile link
    add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
    function my_nav_menu_profile_link($menu) {  
        if (!is_user_logged_in())
            return $menu;
        else
            $current_user = wp_get_current_user();
            $user=$current_user->user_login ;
            $profilelink = '<li id="bbp-editpro"><a href="http://www.astronomertalk.com/forums/users/' . $user . '/edit">Edit Profile</a></li>';
            $menu = $menu . $profilelink;
            return $menu;
         
    }

    custom css

    #bbp-editpro {
    	float: right;
    }

    that should move it right.


    Robkk
    Moderator

    @robkk

    okay heres how to get full width

    this should be your bbpress.php in your child themes root directory wp-content/awesome/bbpress.php

    you can also remove the css that i gave you from this topic

    Hide author/admin

    since i removed the post author info in the template.

    <?php get_header(); ?>
    
    <?php do_action( 'bp_before_content' ); ?>
    <!-- CONTENT START -->
    <div class="content">
    <div class="content-inner">
    
    <?php do_action( 'bp_before_blog_home' ); ?>
    
    <!-- POST ENTRY END -->
    <div id="post-entry">
    <section class="post-entry-inner">
    
    <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
    
    <!-- POST START -->
    <article <?php post_class('post-single page-single'); ?> id="post-<?php the_ID(); ?>">
    
    <h1 class="post-title entry-title"><?php the_title(); ?></h1>
    
    <?php do_action( 'bp_before_page_content' ); ?>
    <div class="post-content">
    <div class="entry-content"><?php the_content( __('...more &raquo;',TEMPLATE_DOMAIN) ); ?></div>
    <?php wp_link_pages('before=<div id="page-links">&after=</div>'); ?>
    </div>
    <?php do_action( 'bp_after_page_content' ); ?>
    
    </article>
    <!-- POST END -->
    
    <?php endwhile; ?>
    
    <?php else : ?>
    
    <?php get_template_part( 'lib/templates/result' ); ?>
    
    <?php endif; ?>
    
    </section>
    </div>
    <!-- POST ENTRY END -->
    
    <?php do_action( 'bp_after_blog_home' ); ?>
    
    </div><!-- CONTENT INNER END -->
    </div><!-- CONTENT END -->
    
    <?php do_action( 'bp_after_content' ); ?>
    
    <?php get_footer(); ?>

    and heres some css

    .bbpress .content {
    	width: 100%;
    }

    this should get you full width


    Robkk
    Moderator

    @robkk

    @cybarmitzvah

    make an account for me then ill get #1 , #2 and #3 real quick.


    Robkk
    Moderator

    @robkk

    @cybarmitzvah

    so it still goes to the backend?

    also list all of your plugins


    Robkk
    Moderator

    @robkk

    did it work now??

    also, it added a edit profile to the footer menu as well. I would like to remove that.

    idk how to do that maybe robin can help on specifying what menu or something.

    u can hide it with css though.

    you just need the div class , menu id , and menu item id.

    use inspect element to find these.


    Robkk
    Moderator

    @robkk

    will need that code, would appreciate it

    ill try it to find out.

    Darn, tell me any steps if you remember

    i didnt use much php


    Robkk
    Moderator

    @robkk

    add it into functions.php in your child theme


    Robkk
    Moderator

    @robkk

    it didnt work for awhile on localhost , then i editing the href link to make it work.

    use this

    // Filter wp_nav_menu() to add profile link
    add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
    function my_nav_menu_profile_link($menu) {  
        if (!is_user_logged_in())
            return $menu;
        else
            $current_user = wp_get_current_user();
            $user=$current_user->user_login ;
            $profilelink = '<li><a href="http://www.astronomertalk.com/forums/users/' . $user . '/edit">Edit Profile</a></li>';
            $menu = $menu . $profilelink;
            return $menu;
         
    }

    Robkk
    Moderator

    @robkk

    works not, I just did not have the <?php in my site.

    it works now??

    So I just added the code from Robin W’s link,

    however it does not work,

    ill test out that profile link ,

    if you think its social login , deactivate and see if robins profile link code works.

    Plus, I would prefer it to stay all the way to the right.

    im sure its just positioning it with css , but hey it doesnt have to be floated right, not a big deal if it is or not.

    Plus, preferably, look more like this sites, with the username and photo of the person logged in, in the top right.

    i just achieved this today. But it required a lot of work with my theme.


    Robkk
    Moderator

    @robkk

    My goal is this: Attach BadgeOS rewards to users using specific words within forum posts;

    I feel like that is going to be a paid project

    http://jobs.wordpress.net/

    #1 outsourcing service for WordPress

    In reply to: Image click/resize

    Robkk
    Moderator

    @robkk

    was it just a link or using the img button ??

    example with img button


    Robkk
    Moderator

    @robkk

    in my child theme i have one functions.php

    this is the entire code.

    <?php
    
    /* Add custom functions below */
    add_filter('show_admin_bar', '__return_false');
Viewing 25 replies - 3,426 through 3,450 (of 3,784 total)