Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,976 through 11,000 (of 32,521 total)
  • Author
    Search Results
  • #150477

    In reply to: Change quote color

    Robkk
    Moderator

    check your wordpress themes stylessheet

    look for blockquote { copy everything that has blockquote { then edit then add to custom css

    #150473
    Masoud Golchin
    Participant

    Hi,
    thank you robin

    i checked this link:
    https://codex.bbpress.org/import-forums/bbpress-1-x-buddypress-group-forums/
    but it empty!

    Do you know how i can find the importer plugin?

    #150469
    Sam Rohn
    Participant

    try adding something like this to your child theme css, this will give you a light grey box around the role title, but there does not seem to be a selector to differentiate roles and thus use different color per role

    div.bbp-author-role {
    	background-color: #eee;
    }

    otherwise, you can use your browsers web inspector etc to examine any element and use that as starting point to alter appearance of bbpress

    sam

    #150468
    defcon1186
    Participant

    Hi guys, I’m pretty new(bie) on WordPress, hope some1 could help me.

    I’ve created a little test site here: http://www.elite-force.it/test

    Then, I’ve installed bbpress and I’ve created menu entries with those magical-fantastic short codes.

    Everything seems going fine, of course it will need some CSS adjustment but I don’t panic on that… else way I panic because I can’t reach profile page…

    My forum is: http://www.elite-force.it/test/forum/
    And profile for my user should be: http://www.elite-force.it/test/forums/user/goose/

    When I go to my profile page, something strange happen… It seems that bbpress use my homepage php to build the page.. of course result in a home-similar, with a “THESE POSTS ARE BY: ” on top and any other infos…

    I read that bbpress look for page.php if there is no bbpress.php on theme root folder, but if I also create a copy of my page.php or post.php doesn’t fix the problem.

    Is because that template uses dynamic pages? there is no solution? I mean, There is no way to override bbpress page settings and make a different view for the profile page?

    Please… help those noob

    #150465
    Doug Smith
    Participant

    I’m attempting to log into the codex to help with documentation. I always show as anonymous on the codex pages and the log in link goes to BuddyPress. I log in there and end up on the BuddyPress support forum instead of being redirected back. If I come back manually and refresh the page, I am still not logged in.

    I have tried logging in on WordPress.org to see if that carries over, but not luck. Obviously, I’m logged into the support forum now to post this.

    I’ve also tried clearing cookies and tested with multiple browsers with no change either.

    Clint Mallon
    Participant

    Hi Robin,

    Not sure what was confusing about my questions? I’ll try and make them a bit more clear.

    1. The only place within bbPress that says: “Sorry, this forum is for verified users only. Please Login or Register to continue” is on the page after clicking on a topic if you’re not logged in. This is what needs to be edited and I can’t find the php code to edit this.

    I need to edit the text that’s contained in the yellow box because the default links to Login and Register take you to the default WordPress login and register screen. I don’t want that and would like to:

    A. Remove the links altogether and just leave the text.
    B. Edit those two links to lead to my front-end Login / Register pages instead.

    In other words, If you go to the default forums page, after clicking on a forum you are taken to the discussions page. If you’re not logged in, at the bottom is a yellow box that says “You must be logged in to create new topics.” This is fine because it not only says exactly what I want it to say, it doesn’t have links to Login and Register.

    Next step…

    After clicking on any of the listed discussions, you are then taken to the topics within that discussion. If you’re not logged in, at the bottom is a yellow box that says “Sorry, this forum is for verified users only. Please Login or Register to continue. This is the text that I need to edit because the login and register links don’t take my users to the pages I want them to go to. Instead of the front end login and register pages that I’ve created, these two links go to the default WordPress login register. I can’t have this.

    How can I:

    A. Remove the links altogether.
    B. Edit the links to lead to my front-end Login / Register page.

    Thank you so much for your time!!

    Cheers!

    #150458
    tylertervooren
    Participant

    bbPress Geniuses! I need your help!

    According to the theming docs, bbPress is designed to look for a series of layout templates in this order:

    ‘plugin-bbpress.php’,
    ‘bbpress.php’,
    ‘forums.php’,
    ‘forum.php’,
    ‘generic.php’,
    ‘page.php’

    The standard way to change your layout is to build a layout, and name it one of those so that bbPress finds it and displays it. This is simple, but it does not work if you use the “Headway Theme (or others like it) because it does not use traditional page layouts. Instead, layouts are created dynamically and output to php (somewhere… working with Headway to figure out where). This means I have no static php to copy or modify.

    HERE’S WHERE I NEED YOUR HELP

    My idea to fix this is to change the way bbPress looks for template files. The easy way to do this is just modify the code, but then it would be overwritten every time I update.

    I think the best way to do this is to write a little plugin or a function for my functions.php file that modifies that list above to look for a different file than page.php.

    But… I’m not so good with php, and hoping someone could help me figure out how to write that function or filter or whatever it would be called. 🙂

    #150457
    Findolfin
    Participant

    Hello

    I’ d like to change my font size in bbpress, because its to small. I found a lot of stuff and I could change the most of the fonts but there are some fonts left:

    user role is still very small
    the topic descriptions are still small

    Like:

    Topic title (i could change this size)
    startet by: Findolfin (this text is still very small)

    Which is the right atribute?

    Actually my code looks like that:

    /*bbpress Forum Text fix – text ist lesbar*/
    #bbpress-forums { font-size: inherit !important; }
    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 .bbp-forums-list li { font-size: inherit !important; } 

    #bbpress-forums .bbp-topic-content p,
    #bbpress-forums .bbp-reply-content p {
    font-size: 18px;
    }

    span.bbp-admin-links a {
    color: #bbb;
    font-weight: normal;
    font-size:14px;
    text-transform: uppercase;
    text-decoration: none;
    }

    div.bbp-template-notice {
    border-width: 1px;
    border-style: solid;
    padding: 0 0.6em;
    margin: 5px 0 15px;
    border-radius: 3px;
    background-color: #ffffe0;
    border-color: #e6db55;
    color: #000;
    clear: both;
    }

    #150454
    Robkk
    Moderator
    Robin W
    Moderator

    ok, that’s most of the way there

    what the code does next is to look in wp_bp_xprofile_data for the value where data type 20 (‘city’) and the user_ID exist.

    select VALUE from $xdata where ID  = '$xpid' AND user_id = '$user_id' 
    

    so either the $user_ID is not correct or there is no data in there

    I can cut another test version to look further, but in case I can shortcut it, arr you any good at being able to look at the mtsql database?

    If so I’ll come back with further instructions, if not, I’ll cut a further test.

    #150442

    Topic: Change quote color

    in forum Themes
    gogitossj34
    Participant

    So, this is my forum http://mmo4teen.com/forum/topic/still-another-testing/
    and as you can see. The quote color is not very good. Does anyone know any css code I can use to make it look better, like normal grey in other forum ?

    Robin W
    Moderator

    sorry, but very long and quite confusing questions.

    you url would be very helpful so that we can see what your issues are.

    on # 1 – where are you seeing these? – on shortcodes, widgets or where. Please describe current process, and what you would like to happen.

    on #2 – need a url so that we can see

    #150436
    Sam Rohn
    Participant
    #150430
    Robkk
    Moderator

    your emoticons look squashed

    try this

    img.wp-smiley {
    max-height: 25px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    }

    i just saw a quoted emoticon , and it seemed fine after i added this code,

    does this fix your overall issue??

    #150429
    Stephen Edgar
    Keymaster

    Use the ‘Views’ widget in a sidebar or shortcode [bbp-single-view id="no-replies"]

    https://codex.bbpress.org/widgets/ https://codex.bbpress.org/shortcodes/

    #150427
    gogitossj34
    Participant

    Wow, this is unexpected. Changing them to html and then change back to bbcode worked. Thanks alot Robkk.

    #150423
    Robkk
    Moderator

    only thing i could think of is changing your quote method to bbcode.
    or deactivate your plugins, and activate them one at a time to find if there is a plugin issue.

    but yeah not sure at all, you could also contact wp-monalisa support too

    https://wordpress.org/support/plugin/wp-monalisa

    but yeah its more of getting support from gd bbpress tools.

    #150422

    In reply to: Text Color and Font

    Robkk
    Moderator

    @desiamerican26 your suppose to edit the function , add more html tags to make them unrestricted to users.

    it looks like just add the tag , and attributes that are allowed

    for example if i have this

    <a href="http://example.com" title="this is an example" target="_blank"></a>

    with these allowed attributes

    // Links
    ‘a’ => array(
    ‘class’ => true,
    ‘href’ => true,
    ‘title’ => true,
    ‘rel’ => true,
    ‘class’ => true,
    ‘target’ => true,
    ),

    everything would show up fine.

    but if i have <a href="http://example.com" title="this is an example2" target="_blank"></a>

    with these allowed attributes

    // Links
    ‘a’ => array(
    ‘class’ => true,
    ‘href’ => true,
    ),

    the link would not have a title , and not open in new window anymore to users

    #150417
    gogitossj34
    Participant

    Hi, I’m currently using WP 3.9.1 and bbpress 2.x
    My site is at mmo4teen.com
    I’m using the Stargazer theme. I installed the gd bbpress tools for quoting.
    Here’s the problem. When I quote a comment that have emoticon ( using wp-monalisa ), I can see them normally on visual editor and see their code on text editor but when I post it, I can only see the code.
    If anyone wanna try it. Login with:
    user: 55
    pass: 123123
    Thanks in advance.

    #150410

    In reply to: Full Width Forum Help

    xplusboy
    Participant

    you should be remove *template Name : ….*
    its not a page template, should be have some code like this in start file :

    
    <?php
    /**
     * The template for displaying bbPress content.
     *
     * @package WordPress
     * @subpackage BuddyBoss
     * @since BuddyBoss 3.0
     */
    
    get_header(); ?>
    
    	<!-- if widgets are loaded in the Forums sidebar, display it -->	
    	<?php if ( is_active_sidebar('forums') ) : ?>		
    		<div class="page-right-sidebar">
    
    	<!-- if not, hide the sidebar -->
    	<?php else: ?>
    		<div class="page-full-width">
    	<?php endif; ?>
    
    			<!-- bbPress template content -->
    			<div id="primary" class="site-content">
    			
    				<div id="content" role="main">
    
    					<?php while ( have_posts() ) : the_post(); ?>
    						<?php get_template_part( 'content', 'page' ); ?>
    						<?php comments_template( '', true ); ?>
    					<?php endwhile; // end of the loop. ?>
    
    				</div><!-- #content -->
    			</div><!-- #primary -->
    
    			<?php get_sidebar('bbpress'); ?>
    
    		</div><!-- closing div -->
    
    <?php get_footer(); ?>
    #150377
    jetfalcon
    Participant

    Sorry!

    The login widget, including register and lost password links.

    I know there are shortcodes for each of them, but I want it to look like the login widget.

    Thanks!

    #150376
    Robin W
    Moderator

    First one :

    add this code to your functions file

    //disable toolbar for non-admins
    if (!current_user_can('manage_options')) {
    show_admin_bar(false);
    }

    see

    Functions files and child themes – explained !

    Second one

    use my plugin

    https://wordpress.org/plugins/bbp-private-groups/

    This will let you set exactly who can see forums

    #150374
    jetfalcon
    Participant

    I have found a couple of similar forums posts about this, but they have not been resolved.

    Is there a shortcode for the bbpress widget? It is not listed in the shortcode page.

    If not, is there a way to implement the widget on a page without a sidebar? I do have a sidebar on the forum page, but I would like the widget implemented in the front page as well.

    #150367

    In reply to: Text Color and Font

    Robin W
    Moderator

    Please let me know where I can insert this code

    Into your functions file see

    Functions files and child themes – explained !

    #150356
    Stephen Edgar
    Keymaster

    I am expecting this will be a reply in the source database has some weird content.

    To quote @JohnJamesJacoby here:

    These types of faults are typically due to some encoding issue in that post. Sometimes this is from an encoding conversion to UTF8 that was done at some point. Whatever it is, it’s nearly impossible to detect without setting a time limit on queries and bisecting the difference until we can narrow down the offending entry, and skip it. Because queries could naturally take a long time, and because it results in missed data, I’m not comfortable with this approach.

    The workaround is to find and delete the offending reply which is time consuming and tricky but the only way at this stage.

    Here’s how I do debug this and find the offending topics/replies:

    • Once the import hangs, click stop, take a note of where it was up to, e.g. Converting 11,299 – 11,300
    • Click start again and the import will continue from where it left off
    • If it hangs again, take note of where it was up to again
    • Once finished make a fresh copy of the source database
    • Now drop all the rows in the database that are not in the range of rows that failed during import
    • Perform a fresh import using this database with the “Rows Limit” setting set to 1
    • The import should hang on the offending topic/reply
    • Again, take note of the topic/reply it was up to
    • Click stop, click start again to continue on
    • Once you have your list of offenders and the import has finished delete these rows from this database and test again to make sure it completes without hanging
    • Now back in your full database (presumably a copy of the original) delete these same rows from the database and run the import again
Viewing 25 results - 10,976 through 11,000 (of 32,521 total)
Skip to toolbar