Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 7,401 through 7,425 (of 32,505 total)
  • Author
    Search Results
  • #168658
    Robkk
    Moderator

    @balmfoc48

    As the user above states some hosts have a limit of emails that are able to be sent out.

    Install this plugin to fix possibly part of the issue. The code used in the plugin will probably be used in a future version of bbPress.

    https://wordpress.org/plugins/asyncronous-bbpress-subscriptions/

    You may need to also look into asking your server support to increase the email limit if your emails sent grow significantly or use a service like sendgrid or mandrill.

    #168656
    Robkk
    Moderator

    I forgot about this plugin which will essentially allow certain shortcodes like the caption shortcode.

    Just add caption to the input box for the allowed shortcodes in the plugins settings page.

    https://wordpress.org/support/plugin/bbpress2-shortcode-whitelist

    #168653
    Robkk
    Moderator

    @numan_shaikh

    Place your custom role code in a gist file at gist.github.com and post the link to it here.

    #168651
    Robkk
    Moderator

    @arcillaguzman

    Try some troubleshooting to see if this happens only in a certain theme or if any active plugins are conflicting with bbPress posts.

    Troubleshooting

    #168647
    Robkk
    Moderator

    This might related to the issue in this trac ticket since you said bbcode.

    The plugin author of the plugin you are probably using created the ticket.

    https://bbpress.trac.wordpress.org/ticket/2889

    #168646
    Andreas Andersen
    Participant

    When I insert a link in bbpress it does not show correct on my page. All links will be stacked on the left site of the message. Here is a picture of the HTML code that is generated and how it is showed.

    Link not showing correct

    The problem is only in bbpress, not when inserting links in WordPress in general. It is the same no matter i I insert the link using bbcode or using the WordPress toolbar.

    What can be the problem here? Is there some CSS that controls this in bbpress?

    #168644
    Pascal Casier
    Moderator

    Hi Rhonda,
    Is it a public site ? If so, could you post the link ?
    Did you create a dedicated WordPress page with a [shortcode] or you just want the use the built-in page by adding /forums after your domain ?
    Pascal.

    #168638
    TKServer
    Participant

    I’ve been working for weeks (on my off time) on a threaded view of bbpress posts and replies. Here’s the beta:

    Ute Fan Board

    A different look more similar to an old school list forum style. Lots of work to do but here’s what it does so far:

    1. Different format, more list/threaded. Recent topics show with the topic replies below
    2. Works on a page outside of bbpress, but hooks some bbpress functions.
    3. Posts new messages and replies, with metadata.
    4. Allows user to expand/shrink content area of each post/reply
    5. Posts/replies show as modal popup window instead of at the bottom of the forum.
    6. WordPress visual editor enabled (some bugs)
    7. Pagination

    Current bugs and pending additions:

    • Edit post/reply
    • Posts made from forum-threads do not show up in buddyPress “recent activities”
    • Visual editor add link does not work.
    • Twitter share button not setup yet
    • Facebook share button not setup yet

    It’s pretty hacky and I’m sure the code is not all that great, but it “seems” to work. I’ll be working on my bugs and new features soon.

    fjalom
    Participant

    I want to create a forum in a page where have restricted access (like a course unit from a course which is sold by woocommerce) and I am using bbpress shortcode for embed the forum in that course unit.

    The problem is that when I make it, link to a page where all forum are appears( like http://www.mydomain/forum). How to configure to remove this link for appearing when I use bbpress shortocode for embed forum? In this way avoid other user to know this link and access without pay the course

    thank you all

    #168624
    Robkk
    Moderator

    Participants cannot use shortcodes by default in bbPress.

    You will have to use a filter to allow the shortcodes.

    I will post a code snippet and possibly link to a guide when I am off mobile.

    Also weird picture to use for your second example haha

    #168622
    o.m.j
    Participant

    I found this filter somewhere in the forums, but it still leaves the yellow box…just removes the text…

    function change_translate_text( $translated_text ) {
    	if ( $translated_text == 'Your account has the ability to post unrestricted HTML content.' ) {
    	$translated_text = '';
    	}
    	if ( $translated_text == 'Oh bother! No topics were found here!' ) {
    	$translated_text = '';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );

    using firebug, I found the code for the yellow box, then I added this code to my CSS, but will it cause other issues?

    thx

    .bbp-template-notice {
    	display: none;
    }
    #168619
    gene-stevo
    Participant

    WP= 4.3.1 Theme= Jolene bbPress= 2.5.8 bbP Toolkit= 1.0.4 bbP Manage Subscriptions= 1.2.0
    bbPress Enable TinyMCE Visual Tab= 1.0.1
    Hi Guys,
    I’m having a bit of bother when using the visual editor in my forums. As an administrator I can get the image to align (eg) centrally but as a regualy user (Participant) the alignment wont take unless I add a caption.
    In all cases when I add a caption the html for the caption tag shows in the post.
    I’ve checked all the settings for all the plugin’s but cant find anything to correct this.
    Two examples via links. First as Admin second as Subscriber/Participant.
    posted by admin
    posted by a regular user
    Here is the code that is showing via the Text tab in the users post dialogue:

    HOT, HOT, HOT...or what?
    
    [caption id="" align="alignright" width="306"]<img src="http://i.dailymail.co.uk/i/pix/2015/08/22/21/2B94BD3600000578-3207215-The_original_Spamela_Hamderson_puppet_recycled_to_create_curvy_b-a-40_1440274103479.jpg" alt="miss piggy" width="306" height="372" /> You want some of this?[/caption]
    #168613

    In reply to: Reply threading issue

    Robkk
    Moderator

    @omj-1

    You can completely remove the code and I think it will fix some other issues being present with margins and padding.

    #168612

    In reply to: WP Debug Error Message

    Axel13
    Participant

    Since the page you refer to, Pascal, says:

    Unfortunately, it’s difficult to ascertain from within bbPress exactly what other plugin causes this to happen, so bbp_setup_current_user comes up in the logs.

    Perhaps it’s useful to know that I also see this notice, yet only on localhost and that Yoast SEO has something to do with it. The notice disappears when deactivating Yoast SEO. I do not see any notice when activating both plugins on my site.

    Here is the error with some more details:

    ( ! ) Notice: bbp_setup_current_user was called <strong>incorrectly</strong>. The current user is being initialized without using $wp->init(). Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.3.) in C:\wamp\www\wp\wp-includes\functions.php on line 3622
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0026	424608	{main}( )	..\plugins.php:0
    2	0.0032	493464	require_once( 'C:\wamp\www\wp\wp-admin\admin.php' )	..\plugins.php:10
    3	0.0035	511616	require_once( 'C:\wamp\www\wp\wp-load.php' )	..\admin.php:31
    4	0.0037	522552	require_once( 'C:\wamp\www\wp\wp-config.php' )	..\wp-load.php:37
    5	0.0042	620608	require_once( 'C:\wamp\www\wp\wp-settings.php' )	..\wp-config.php:89
    6	0.1986	28145704	do_action( )	..\wp-settings.php:237
    7	0.2427	32127520	call_user_func_array:{C:\wamp\www\wp\wp-includes\plugin.php:503} ( )	..\plugin.php:503
    8	0.2428	32127584	wpseo_admin_init( )	..\plugin.php:503
    9	0.2432	32196168	WPSEO_Admin_Init->__construct( )	..\wp-seo-main.php:292
    10	0.2464	32361392	WPSEO_Admin->__construct( )	..\class-admin-init.php:31
    11	0.2493	32460912	WPSEO_GSC->__construct( )	..\class-admin.php:42
    12	0.2493	32462088	current_user_can( )	..\class-gsc.php:60
    13	0.2493	32462120	wp_get_current_user( )	..\capabilities.php:1441
    14	0.2493	32462392	get_currentuserinfo( )	..\pluggable.php:60
    15	0.2516	32513872	wp_set_current_user( )	..\pluggable.php:125
    16	0.2520	32542032	do_action( )	..\pluggable.php:41
    17	0.2525	32547552	call_user_func_array:{C:\wamp\www\wp\wp-includes\plugin.php:503} ( )	..\plugin.php:503
    18	0.2525	32547632	bbp_setup_current_user( )	..\plugin.php:503
    19	0.2525	32548072	_doing_it_wrong( )	..\sub-actions.php:147
    20	0.2527	32549376	trigger_error ( )	..\functions.php:3622

    I hope that helps!

    Momshof
    Participant

    Wordpress: 4.3.1
    Divi Theme: 2.5.5
    BBPress: 2.5.8
    bbp style pack: 2.8.3
    http://dtcdancecentral.com/DTCTest/forum/

    Hi – I am new to BBPress. I am hoping some one may be able to assist with the page formatting of the forums/category/topic pages et etc. I am trying to get it as close to this:

    http://dtcdc.freeforums.net/

    as I can.

    With bbpress style pack I was able to do alot without having to mess with any code of files -I do not have alot of coding experience or working within the server on files.

    Right now – I have the following short codes in a Divi Page – this is my Forum Index Page:

    [bsp-display-forum-index forum= ‘1106’ breadcrumb=’no’ search=’no’]
    [bsp-display-forum-index forum= ‘1130’ breadcrumb=’no’ search=’no’]
    [bsp-display-forum-index forum= ‘1154’ breadcrumb=’no’ search=’no’]

    1. This is giving me the “boxed” look for each separate forum I want – I can not figure out how to get the header title of each forum changed. Where it says “Forums, topics,posts, freshness” instead of Forum – I would like it to state the name of the forum I have created (like the first one be “Community Forum”, then the 2nd one would be “Platinum Members Forum” & the 3rd “Diamond Members Forum”).

    These would not be links to anything. Just the forum title. So that when an actual forum below in the “box” is clicked on it goes straight to that forum page showing all topics under that forum.
    (I hope I am using the correct terminology here.)

    2. I can not get the description to show up underneath each category on the forum index page. Is the only way to achieve this to do something to the files in wp?

    3. The topic pages (submit & view) have a big line running down the right side of the pages down into the footer – is there anyway to remove that line and make the pages full width or a custom width?

    Divi Theme does provide an Epanel where I can put css coding in without having to change any files. If anyone has any ideas how to achieve these changes (hopefully without altering files) I would appreciate the help & guidance.

    Thanks!

    #168586

    In reply to: Reply threading issue

    o.m.j
    Participant

    @robkk thx Rob! I checked my style.css in my child theme & found that code…I think I copied/pasted from somewhere…I changed it & it fixed it! thx again!!!

    #168585

    In reply to: Reply threading issue

    Robkk
    Moderator

    @omj-1

    This is the CSS causing the issue.

    #bbpress-forums .bbp-body div.bbp-reply-content {
        clear: both;
        margin: 10px;
        padding: 0;
    }

    The reason why when reply threading is enabled fixes the issue is because the list .bbp-body self closes and makes the above CSS not work.

    Here is the ticket about the reply threading markup bug.

    https://bbpress.trac.wordpress.org/ticket/2757

    You can use this custom CSS to fix the issue.

    #bbpress-forums .bbp-body div.bbp-reply-content {
        clear: none;
    }
    #168577
    Robkk
    Moderator

    This is for the ranking images right?? Did you ever try what I suggested in the other topic with using something similar to this code this user has posted?? All you have to do is replace the svg tag code with an img tag with the link to the images you want to use.

    User ranking system?

    #168576
    Robkk
    Moderator

    Check out this guide for help with an internal server error.

    https://codex.wordpress.org/Common_WordPress_Errors#Internal_Server_Error

    You can also check out this guide for any help with login issues.

    https://codex.wordpress.org/Login_Trouble

    #168575
    Robkk
    Moderator

    If you placed a shortcode in a page, you do not have to add the forum index shortcode to a page but instead use the default forum root url /forums. If you did use a custom index page using the shortcode, editing the forum root slug in Settings > Forums to be the same as custom index page’s slug should help with the breadcrumb thing.

    You can always create custom menu links if the pages are not in the menus section.

    #168566
    Robkk
    Moderator

    I tested out the patch and it works pretty well for a custom user role I created. I just used the tutor role mentioned in this guide https://codex.bbpress.org/custom-capabilities/ and it worked when I created and switched to that test user.

    Make sure to not touch the core plugin files again. This was a simple thing to do which is not bad, but something else might cause further conflicts.

    #168560
    Robkk
    Moderator

    1. How do I set up my site to where people can log in with a WordPress / Gravatar account?

    Jetpack has a module in it for users to login using their wordpress.com account, if that is what you want.

    https://jetpack.me/support/sso/

    2. The profile page title does not show up and using the Yoast plugin I can’t find any way to target it. Any advice?

    You have to use a filter and use custom code to customize the titles. Here is an example of some custom code to that that type of thing for some of the profile pages.

    Change meta/page title for user pages

    3. What’s a good plugin to use for things such as easy navigation for users?

    It depends on what exactly you want. I really do not have any opinions on this type of thing, but it depends on how the rest of your site is set up and the look you are going for.

    #168558
    Robkk
    Moderator

    I think you guys can just hot-patch the issue until the bug is fixed in core and so you guys do not mess with any other core code to cause any other possible issues.

    https://bbpress.trac.wordpress.org/changeset/5852

    #168555
    Pascal Casier
    Moderator

    Hi Filip-T,

    What I know is that forum moderation is being reviewed and improved a lot for v2.7 of bbPress. For now there is standard moderation and blacklisting as described here: https://codex.bbpress.org/moderation-and-blacklisting/

    I’m not aware of other plugins then the one you have found, but it seems to have some issues with the latest WordPress/bbPress.

    Pascal.

    antonydennis
    Participant

    Okay, I think I am getting nearer… it seems it is to do with creating a nonce – a unique WP generated code to stop spammers from accessing the form. So in my functions.php, I have entered the call:

    
    wp_nonce_field( 'new-reply_'.$topic_id );
    

    which has created in my HTML:

    
    <input type="hidden" id="_wpnonce" name="_wpnonce" value="31279b1d8f" />
    <input type="hidden" name="_wp_http_referer" value="/" />
    

    I think I’m warm, but it still doesn’t work… can anyone give me the final little detail to make it work…?

Viewing 25 results - 7,401 through 7,425 (of 32,505 total)
Skip to toolbar