Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 8,476 through 8,500 (of 32,508 total)
  • Author
    Search Results
  • #163522
    lilmisskatie
    Participant

    Hi Rob!

    Sorry I wasn’t able to get back to you sooner. I had a bunch of things going one later in the day and only now able to sit back down to my computer to take a look at this. The code works like a Charm! Thank you so much for doing this. I’ll be happy to send you something your way and plan to tomorrow for the time you took to solve this.

    I will also be passing this along to the template support team for them to be aware of this.

    Thanks again so much! Really appreciate this!

    Kind Regards,
    Katie

    #163517
    Robkk
    Moderator
    #bbpress-forums input#bbp_topic_title {
    	float: none;
    	padding: 0;
    }
    
    #bbpress-forums .bbp-form p {
    	float: none;
    	margin: 0;
    }

    sorry made a little mistake haha writing it here.

    #163516
    Robkk
    Moderator

    @lilmisskatie

    Its the themes CSS causing an issue with the input box for the topic title.

    This custom CSS should do it.

    #bbpress-forums input#bbp_topic_title {
    	float: none;
    	padding: none;
    }
    
    #bbpress-forums .bbp-form p {
    	float: none;
    	margin: 0;
    }

    Tell your themes support this too.

    If you feel like donating you can do so here

    About Me

    #163495
    Robkk
    Moderator

    It is just the quicktags api from WordPress. You see the same button when entering the html mode when creating a blog post.

    See if this post helps, it says tinymce but there is also quicktags code in there.

    Add TinyMCE and Quicktags visual editors to WordPress comments form

    you can also use the basic comment quicktags plugin

    #163480
    Robkk
    Moderator

    This could be from some security/spam plugin.

    Go through these troubleshooting steps

    Troubleshooting

    #163475
    Robkk
    Moderator

    @mrose74

    You also modify the main template that bbPress uses but this would also require FTP data.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    You should contact your host to find the FTP data you have.

    #163474

    In reply to: Plugin v. built-in

    Robkk
    Moderator

    Read this , This is a frequently asked question so I added it on to here.

    Frequently Asked Questions

    #163473
    Robkk
    Moderator

    search for unread/read posts plugins for bbPress.

    They are listed in here too.

    Feature Plugins Tracking

    #163470
    Robkk
    Moderator

    this might be coming from some other plugin you are using.

    Try the plugin troubleshooting steps here

    Troubleshooting

    you can also try theme too if you have some really advanced theme or something.

    #163468
    Robkk
    Moderator

    Is this what you are looking for??

    #bbpress-forums .entry {
      margin-bottom: 40px;
      padding: 50px 0px;
    }
    
    Robkk
    Moderator

    i have to create a new widget for own customization work and where i have to place that file

    If you know what you are doing , you can place it in a child themes functions.php , or just place it in a new file like says widgets.php to better organize your content then include the file using something like this in your functions.php

    require get_template_directory() . '/inc/widgets.php';

    You can also place the code in a custom plugin too.

    You shouldnt place any customizations in the bbPress plugins folder, because you will lose the changes next update.

    And You dont need to place the customized widget funcitons in the bbpress folder in your child theme either.

    #163455
    lilmisskatie
    Participant

    I’m discovering it is a theme issue…I have squarecode and have contacted them to see if it is a known issue. However what do can I do if they can not resolve this issue? It seems like it would be a simple fix being it’s only the topic text field that does not work. I’ve also tried to do the tool repair forums and also changed the permalinks and did nothing. I really like this forum but feel I may have to go else where…

    #163450

    In reply to: Menu link to Profile

    crzyhrse
    Participant

    Thanks Robin,

    It is a very. very nice plugin that you have created… But it won’t do for my needs in these regards… It puts the Edit Profile link into the main menu as a primary menu item, with no ability to change where it is or do anything else with it… It is there in the primary main site menu or nothing…

    If your plugin put the Edit Profile link into the Menu section of Admin, with the same ability to use it however, in the same way that pages, posts, forums, CPTs and all the rest are there to be used as needed or not, then it would be very helpful, even perfect for my needs… Where the link goes TO is perfect…

    I don’t need the rest of what your plugin does, as I have done some very extensive modifications of bbPress via my child theme over the last couple years…

    But anyone starting out or in early stages with bbPress should find your plugin very helpful indeed…

    So, still wondering what you think about getting some code similar to what this thread is discussing to work via one of the PHP plugins I mention above…? I want to be able to just have a discrete but clear little (page/post) link that I can place in a specific place in a specific sidebar, like I have done with other links, that lets logged in folks who are using the forums directly link to their particular Forums profile page and make changes… Basically accomplish the same thing that I can accomplish for the main WP profile page with this link: http://www.yourwebsite.com/wp-admin/profile.php… If someone not logged in clicks this link they are taken to a WP login page…

    Thanks for all the hard work you are doing for a while now to make bbPress better and better and better…

    Kind regards…

    #163438

    In reply to: Menu link to Profile

    crzyhrse
    Participant

    Hi Robin,

    This thread is a bit old, but hoping it is still a place to pursue this..

    The WP Exec PHP plugin that was suggested above to enable this has not been updated in over two years, but in trying to use two different current well reviewed plugins that enable placing php in pages via shortcodes, Shortcode Exec PHP and PHP Code For Posts, I get the following same error with your last offered php snippet above…

    Parse error: syntax error, unexpected ‘<‘ in /home/spirawake/public_html/wp-content/plugins/shortcode-exec-php/shortcode-exec-php-class.php(895) : eval()’d code on line 1

    In both cases I created the shortcode using this, as per above;

    <meta http-equiv="refresh" content="0;URL=http://mysite.com/forums/users/<?php global $current_user;
          get_currentuserinfo();
    
         echo  sanitize_file_name($current_user->user_login). "";
          
    ?>/edit/">

    I’ve often used shortcodes in other ways, and am hoping that maybe there is something that needs to be changed in this code because it is being inserted into the page via a shortcode…?

    Kind regards…

    #163411
    project_subdomain
    Participant

    got it to work with some messy beginners’ change of content-single-user.php right after <div id="bbp-user-wrapper"> with:

    <?php if ( bbp_is_single_user_profile()       ) bbp_get_template_part( 'user', 'details');  ?>
    <?php if ( bbp_is_single_user_profile()       ) bbp_get_template_part('user', 'profile'); ?>
    
    <?php bbp_get_template_part( 'user'); ?>
    
    		<div id="bbp-user-body">
    			<?php if ( bbp_is_favorites()                 ) bbp_get_template_part( 'user', 'favorites'       ); ?>
    			<?php if ( bbp_is_subscriptions()             ) bbp_get_template_part( 'user', 'subscriptions'   ); ?>
    			<?php if ( bbp_is_single_user_topics()        ) bbp_get_template_part( 'user', 'topics-created'  ); ?>
    			<?php if ( bbp_is_single_user_replies()       ) bbp_get_template_part( 'user', 'replies-created' ); ?>
    			<?php if ( bbp_is_single_user_edit()          ) bbp_get_template_part( 'form', 'user-edit'       ); ?>
    			
    		</div>
    	</div>
    </div>

    may need new css-styling.

    Could anyone tell me, how to improve the coding part to avoid the repetition of
    <?php if ( bbp_is_single_user_profile() ) bbp_get_template_part('user', ' ?

    #163407

    In reply to: Plugin v. built-in

    mycon
    Participant

    Thanks @Robkk

    I have a couple more regarding registration and login. In both instances, how can I control the page the user goes to after successful login?

    I am using WordPress 4.2.2 running Jupiter theme and using bbpress login shortcode on a page.
    (currently it stays on same login page with a successful login message)

    Any assistance is greatly appreciated.

    Thanks

    #163406
    Robkk
    Moderator

    Twenty Fifteen had something similar to that issue.

    The resolution to the issue in Twenty Fifteen was to follow to copy all the bbPress templates from the plugin to your child theme in a folder called bbpress.

    https://codex.bbpress.org/theme-compatibility/

    #163401
    mycon
    Participant

    I have these exact questions, so thank you Robin!

    I have a couple more regarding registration and login. In both instances, how can I control the page the user goes to after successful login?

    I am using WordPress 4.2.2 running Jupiter theme and using bbpress login shortcode on a page.
    (currently it stays on same login page with a successful login message)

    Any assistance is greatly appreciated.

    Thanks

    #163389
    daniel84uk
    Participant

    Using latest version of all plugins.

    So i am wanted to disable all forum notifications, as i get endless new reply notifications.

    I have removed all code from the file

    /bbpress/includes/extend/buddypress/notifications.php

    leaving only <?php

    Which after testing seems to do what i want.

    I realise this isnt the correct method, can anyone point advise me on the proper way to do this, do i use a series of remove_actions ?

    Thank you 🙂

    #163382
    Robkk
    Moderator

    try these troubleshooting steps.

    Troubleshooting

    #163379
    Robkk
    Moderator

    I see you are using something different from the default bbPress registration shortcode.

    Did your own issue??

    #163378
    Robkk
    Moderator

    In some themes this may be just tossing the bbPress templates in a folder called bbpress in a child theme to fix this.

    https://codex.bbpress.org/theme-compatibility/

    You might also have to modify the main bbPress template .

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    #163372
    Robkk
    Moderator

    This is a common issue

    Your theme may think that the bbPress forum pages are a blog post and displays it in excerpt form.

    This guide usually helps users fix this.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    Need any help with this reply back.

    If you can think of any improvement for the guide, then tell me some suggestions on how to improve it.

    #163370

    In reply to: Plugin v. built-in

    Robkk
    Moderator

    If you want to develop it manually you can use any of these conditional tags for bbPress and WordPress.

    bbPress Conditional Tags


    https://codex.wordpress.org/Conditional_Tags

    or you can use a plugin like

    • Restrict Widgets
    • Widget Logic
    #163369
    Robkk
    Moderator

    Well there might be other ways , but it would be more complicated.

    The guide just says

    Find the file bbPress is using (use What the File)
    Copy and rename the file to bbpress.php (use FTP)
    Edit the file to your liking. (use a code editor like notepad++)

    The edit the file part may seem complicated but it is really quite easy , and I would help you out on this part.

    If you want find the file bbPress is using and copy the content in the file to a gist.

    https://gist.github.com/

    After that I will post a link to a gist to help you out.

Viewing 25 results - 8,476 through 8,500 (of 32,508 total)
Skip to toolbar