Robkk (@robkk)

Forum Replies Created

Viewing 25 replies - 3,201 through 3,225 (of 3,784 total)
  • In reply to: Quicktags out of line

    Robkk
    Moderator

    @robkk

    @nellples

    make me a user account too since i can only see the quicktags toolbar if im logged in

    i dont need an admin account i think a simple subscriber account should work fine.

    In reply to: Quicktags out of line

    Robkk
    Moderator

    @robkk

    link to your site.

    In reply to: User Porfile Page

    Robkk
    Moderator

    @robkk

    @brunof13712 did you import your users from some other forum software/cms software ??

    because how the functions work is that it uses the current users username that they use to login ,

    so if you login using

    username:admin
    password:(the password you chosen)

    the functions should work fine.

    but since your forum profile username is admin-2-2 it goes to a 404 not found error

    In reply to: User Porfile Page

    Robkk
    Moderator

    @robkk

    Do I need to create a page or a post?

    no

    is the edit profile link working?? is the profile link working?? both or no

    link me to your profile, because it seems to be working fine based on the url

    maybe edit each of the two functions , there might be a word in English that you need to change to be in your language.


    Robkk
    Moderator

    @robkk

    Thanks again, and if you accept donations please contact me or direct me to a place where I can contribute to all who helped here. Thanks again,

    no problem , any other issues make a new topic.

    Robin has donate links here.

    Home

    I can set up a wordpress.com account tomorrow with some paypal donate button if you really feel like donating to me.

    other ways of contributing i guess are helping out in the forums the best you can with other users, or the bbPress project itself.


    Robkk
    Moderator

    @robkk

    In reply to: User Porfile Page

    Robkk
    Moderator

    @robkk

    in both functions you see something similar to this

    $profilelink = '<li><a href="/forums/users/' . $user . '/">Profile</a></li>';

    change forums to forum , since you have changed your root slug.

    $profilelink = '<li><a href="/forum/users/' . $user . '/">Profile</a></li>';


    Robkk
    Moderator

    @robkk

    @media screen and (min-width: 1218px) {
    .bbpress .site-content .entry-content {
        margin-right: 0px;
    }
    }

    this should remove that space on the right of the forums


    Robkk
    Moderator

    @robkk

    @bsilverop

    remove the !important from

    @media screen and (min-width: 1008px) {
     .bbpress .site-content {
    	margin-right: 0 !important;
    	margin-left: 182px !important;
    }
    }

    there should be some space to the right, I will try to figure out that too, but tell me if removing the !important fixes the forums hiding under the left sidebar.


    Robkk
    Moderator

    @robkk

    @bsilverop i just checked and i dont see it

    and your suppose to lose the right sidebar only, the left one stays and it moves toward the footer on smaller screens.


    Robkk
    Moderator

    @robkk

    this css code i forgot to add , put it before the media queries

    .bbpress .hentry {
        margin: 0px auto 48px;
        max-width: 100%;
    }

    Robkk
    Moderator

    @robkk

    @chero123 this is probably custom development

    you can try making a custom plugin off of this and try to make it work on user profiles

    Write a “Love It” Plugin with Ajax to Let Users Love Their Favorite Posts / Pages


    Robkk
    Moderator

    @robkk

    alright this should be your entire css now

    if the @media queries still do not work try just adding them into your child themes style.css file.

    if it still doesnt work when you put the media queries in your style.css make sure you are not using @import and instead using this in your child themes functions.php

    add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX);
    function enqueue_child_theme_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
        wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style')  );
    }

    more info here https://codex.wordpress.org/Child_Themes

    and also contact jetpacks plugin support and see if there is a problem or if i made another mistake or something

    .site,
    .site-header {
    	max-width: 100%;
    }
    
    .bbpress-forums .col-2cl .main {
    	background: none repeat-y right 0;
    	padding-right: 0;
    }
    
    .site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content .entry-meta, 
    .page-content {
    	max-width: 100%;
    }
    
    .form-allowed-tags {
    	display: none;
    }
    
    div.bbp-breadcrumb, 
    div.bbp-topic-tags {
    	font-size: inherit !important;
    }
    
    #bbpress-forums ul.bbp-lead-topic, 
    #bbpress-forums ul.bbp-topics, 
    #bbpress-forums ul.bbp-forums, 
    #bbpress-forums ul.bbp-replies, 
    #bbpress-forums ul.bbp-search-results {
    	font-size: inherit !important;
    }
    
    #bbpress-forums {
    	font-size: inherit !important;
    }
    
    @media screen and (min-width: 1008px) {
            .bbpress .site-content {
    	margin-right: 0 !important;
    	margin-left: 182px !important;
    	}
    }
    
    @media screen and (min-width: 1080px) {
    	.bbpress .site-content {
    		margin-left: 222px;
    	}
    }
    
    @media screen and (min-width: 673px) {
            .bbpress .site-content {
    		margin-right: 0;
    	}
    }

    you can see i removed the width:100% on the #bbpress-forums css code , its because it didnt really do anything.


    Robkk
    Moderator

    @robkk

    bbPM was for the standalone version of bbPress , its outdated and will not work for the current version of the plugin.


    Robkk
    Moderator

    @robkk

    try this and make sure its above the other .bbpress .site-content {

    @media screen and (min-width: 1008px) {
    .bbpress .site-content {
    	margin-right: 0 !important;
    	margin-left: 182px !important;
    }

    Robkk
    Moderator

    @robkk

    @bsilverop

    well i just checked and its almost there,

    you have space on the left whenever you go to a smaller screen size so you probably need to bring back the @media statement so there is space for the left sidebar when it reaches 1008px but none when its on a smaller than 1008px.

    #bbpress-forums {
    	font-size: inherit !important;
    	width: 100% !important;
    }
    
    @media screen and (min-width: 1008px)
    .bbpress .site-content {
    	margin-right: 0 !important;
    	margin-left: 182px !important;
    }
    
    .bbpress .site-content {
    	margin-right: 0 !important;
    	margin-left: 0 !important;
    }

    i think your full width forum should be done now


    Robkk
    Moderator

    @robkk

    @robin-w 🙂


    @bsilverop
    well you can try adding !important to it too, or removing the @media screen and (min-width: 1008px)

    i just took it right off of inspect element.

    but for sure keep the margin-right:at zero pixels because that is where your old sidebar use to be.

    if all still doesnt work change .bbpress to #bbpress-forums

    reply back if you havent got it yet.

    In reply to: User Porfile Page

    Robkk
    Moderator

    @robkk

    you can use this to add links to the edit profile section of your profile in the menu.

    Layout and functionality – Examples you can use

    you can then use this to just lead to just the profile

    // Filter wp_nav_menu() to profile link
    add_filter( 'wp_nav_menu_items', 'my_nav_menu_pro_link' );
    function my_nav_menu_pro_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="/forums/users/' . $user . '/">Profile</a></li>';
            $menu = $menu . $profilelink;
            return $menu;
     
    }

    then you can just create a link to your topics archive by going to the menu section and adding a link to the menu with the link being yoursite.com/topics

    In reply to: some questions

    Robkk
    Moderator

    @robkk

    1. you change your permalinks to post-name

    2. its not really full width since there is a sidebar still, unless im misunderstanding . please specify what exactly you want your forums to be like from the one you linked to.

    3. i dont really see any plugins used , i think its more custom development


    Robkk
    Moderator

    @robkk

    change the width from 150% to just 100%, if you go to a smaller screen size the forums are cut-off.

    use this and see if it works

    @media screen and (min-width: 1008px)
    .bbpress .site-content {
    margin-right: 0;
    margin-left: 182px;
    }

    Robkk
    Moderator

    @robkk

    @atfpodcast yeah thats what people usually say there.

    try just switching to bbpress bbcode with the whitelist plugin

    and also bbpress direct quotes.

    the bbcode plugin just turns basic html into shortcodes , so its still fine even though it is 2 years old.

    but remember to use it with the whitelist plugin too so that other users cant post the bbpress login shortcode and other unwanted shortcodes you dont want in bbpress posts/wordpress comments/buddypress activity/buddypress private messages.

    bbpress direct quotes wont quote as fast as gd bbpress tools quotes but it still works fine too.


    Robkk
    Moderator

    @robkk

    link me to a post with a quote

    ill check and see if it can be easily fixed

    if not you probably have to find it out yourself or hire a person to fix it.


    Robkk
    Moderator

    @robkk

    well i cant see the links on your site because its only shown if you are logged in.

    but i just looked up the css selectors on here.

    see if this changes the color.

    a.subscription-toggle,
    a.favorite-toggle {
    color:328c00;
    }

    if you want to change the color of other links like for example the reply author link use inspect element in your web browser, and try to find the class/id then style it from there.

    if sometimes some css doesnt work you would have to probably go add the parent class/id in the css or add !important to the end.

    like

    li.bbp-header a.favorite-toggle {
    color:#328c00;
    }

    search up on google/youtube on how to use inspect element in your browser

    more info here

    Step by step guide to setting up a bbPress forum – part 2

    bbPress Styling Crib


    Robkk
    Moderator

    @robkk

    if you want your bbpress forum links to be different than your sites links use this

    #bbpress-forums div.bbp-topic-content a, #bbpress-forums div.bbp-reply-content a {
    background: none;
    border: none;
    display: inline;
    font-weight: normal;
    margin: 0;
    padding: 0;
    color: red;
    }

    Robkk
    Moderator

    @robkk

    1. the login issue , i cant do much about since its about the design of bbpress.org , i can pitch some desgin ideas like just showing login and register links in the admin bar instead of the anonymous user profile dropdown so that it could be more like the wp admin bar as it is now.

    2. i dont think bbpress login shortcode/widget have a referrer login redirect , use this plugin to get that kind of functionality.

    https://wordpress.org/plugins/peters-login-redirect/

    if it doesnt work , i dont know how else to help you on this issue.

    3. i think you should create a new topic for this, i dont really know much about this.

Viewing 25 replies - 3,201 through 3,225 (of 3,784 total)