Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 17,276 through 17,300 (of 64,516 total)
  • Author
    Search Results
  • #156140
    Phil995511
    Participant

    Hello,

    I have some problem on my site, the preview of my theme don’t work correctly. When I in WP_DEBUG_LOG limited to 128 Mb I have this results :

    Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /var/www/virtual/xy.com/htdocs/wp-includes/functions.php on line 3547

    Reading more at this problem :

    Troubleshooting

    #156137
    Zemi12
    Participant

    Thank you, I solved it.

    #bbpress-forums div.odd,
    #bbpress-forums ul.odd {
    font-size:12px;
    margin-top:0;
    }
    
    #bbpress-forums div.even,
    #bbpress-forums ul.even {
    font-size:12px;
    margin-top:0;
    }
    #156135
    Robin W
    Moderator

    Like many plugins the documentation is not great, and as a humble user I have added to it as I have learnt, a good deal of the documentation is mine.

    bbpress is a complex plugin, and I sympathise that it is not great to grasp.

    With templates, all functions are written to allow you to filter what is there, this is a standard wordpress/php process, so you’re sort of expected to know about it as part of wordpress! I did try to explain it in

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

    you can filter many bbpress functions using ‘parse args’ capability – a standard wordpress technique or just filter the whole function, you’ll see a return apply_filters in all template functions and this is the hook that you use.

    so for you you could us the code in your other post

    Display the last topic updated in the forums loop

    If you’d like to help with documentation, just find where something is poor and write what you think it needs changing to, it is newcomers like you that can really help improve what is there

    #156134
    Robin W
    Moderator
    #156133
    Robin W
    Moderator

    just use shortcodes

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

    in particular

    [bbp-single-forum id=$forum_id]
    
    siddardha
    Participant

    Hello I am making a bbpress forum site. How can I make my forums and categories as child pages or sub pages.

    Thank you.

    #156131
    pinkhare
    Participant

    Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init().

    I have been getting this message from 2 years ago and I have been reading all the related posts and Q&As from time to time, but it seems that this problem is not resolved yet. I sure that this is a bbPress issue or the issue of Customize template/function for wordpress. Because I have tested with no plugin, so it’s not the case of conflicting plugin and I used WordPress default themes(Twenty Fourteen & Twenty Fifteen).
    My wordpress version is 4.1 & my bbpress version is 2.5.4.

    The most important thing is that message is only shown on the admin’s ‘Customize‘ page.
    I’m developing my own theme, so I want to fix it without disabling WP_DEBUG config.

    #156130
    Robin W
    Moderator
    Robin W
    Moderator

    put this in your functions file

    function rw_custom_freshness_link( $forum_id = 0 ) {
    		$forum_id  = bbp_get_forum_id( $forum_id );
    		$active_id = bbp_get_forum_last_active_id( $forum_id );
    		$link_url  = $title = '';
    
    		if ( empty( $active_id ) )
    			$active_id = bbp_get_forum_last_reply_id( $forum_id );
    
    		if ( empty( $active_id ) )
    			$active_id = bbp_get_forum_last_topic_id( $forum_id );
    
    		if ( bbp_is_topic( $active_id ) ) {
    			$link_url = bbp_get_forum_last_topic_permalink( $forum_id );
    			$title    = bbp_get_forum_last_topic_title( $forum_id );
    		} elseif ( bbp_is_reply( $active_id ) ) {
    			$link_url = bbp_get_forum_last_reply_url( $forum_id );
    			$title    = bbp_get_forum_last_reply_title( $forum_id );
    		}
    
    		$time_since = bbp_get_forum_last_active_time( $forum_id );
    
    		if ( !empty( $time_since ) && !empty( $link_url ) )
    			$anchor = '<a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_attr( $title ) . '</a>';
    		else
    			$anchor = esc_html__( 'No Topics', 'bbpress' );
    
    		return apply_filters( 'rw_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );
    	}
    	
    	add_filter('bbp_get_forum_freshness_link', 'rw_custom_freshness_link' );

    Functions files and child themes – explained !

    #156125
    Zemi12
    Participant

    Hi,
    I have problem with replies. Text and avatars are smaller than topic (c. 1px). In addition, there is a space at the top. http://bahn.dopravni.net/?topic=pokus

    I’m using:
    WordPress 4.1
    Czech for WordPress
    bbPress 2.5.4
    bbPress Enable TinyMCE Visual Tab
    GD bbPress Tools

    Thanks for help.

    medousa
    Participant

    Hi all!
    I am sorry if this question has been answered in the past. I looked for everywhere, in bbpress and google and did not find anything similar or those I found were not understandable.
    On my forum index there are shown last posters (what members were the last that posted a topic in each forum) but instead, I want to show last topic titles.
    What do I have to do?
    Any help will be appreciated.

    Thank you!

    #156118
    Chad
    Participant

    Yesterday I posted in the troubleshooting forum about some problems I was having with redirects on a new bbpress install. I posted it, and viewed it. It was there. Then, shortly after it disappeared, was deleted.

    So, I reposted it again. I check again today, it’s gone. Why are you mods deleting my thread?

    #156116
    Piani
    Participant

    I have tested bbpress forums in diffrent themes. In Techism and Colorway the “Latest post” and “Latest threads” display the users avatar in the widgets.

    But now I am testing twenty twelve and there is no avatar showing in these widgets.

    Please advice where to activate avatars in the widgets or where the CSS code for this is found.

    #156111

    In reply to: Help for roles

    Sam Rohn
    Participant

    i have not tried it myself, but this plugin says it allows user media uploads (photo & video) & inline posting for bbpress + buddypress

    rtMedia for WordPress, BuddyPress and bbPress –

    https://wordpress.org/plugins/buddypress-media/

    sam

    #156110

    In reply to: Avatar padding issue

    Robkk
    Moderator

    try this CSS

    #bbpress-forums div.bbp-forum-author img.avatar, 
    #bbpress-forums div.bbp-topic-author img.avatar, 
    #bbpress-forums div.bbp-reply-author img.avatar {
    border: none;
    max-width: 130px;
    padding: 0 0 10px 0;
    margin: 12px auto 0 auto;
    float: none;
    }
    #156108
    Jake Hall
    Participant

    Why has this not been documented anywhere?

    That is probably my biggest problem with bbPress right now, documentation is non-existant. You’ve got to crawl through the plugin code to find what you’re after.

    #156107
    Robkk
    Moderator

    i had this kind of layout one day messing around with bbPress templates in my child theme.

    i think its close to this but i havent tested it to make sure.

    its without the permalinks though , i had permalinks before but right now i just breezing through the templates and trying to find them.

    for the forum loop

    <a href"<?php bbp_forum_last_topic_permalink(); ?>"><?php bbp_forum_last_topic_title(); ?></a>

    for the topic loop

    <a href"<?php bbp_topic_last_reply_permalink(); ?>"><?php bbp_topic_last_reply_title(); ?></a>

    EDIT: added permalinks

    #156106
    TTTonWP
    Participant

    Update..

    I have no cache related files/plugins/etc.

    I have disabled all plugins one at a time and none were causing the issue.

    The issue appears to be related to the inFocus_BuddyPress_Child_Theme which has replaced inFocus as a solution – it is not working either.

    bbPress is working fine with WP 2012, 2013, 2014 themes and BusinessPro theme.

    Anyone resolve this issue with inFocus or know how to troubleshoot/customize the theme?

    #156104

    In reply to: Help for roles

    Robkk
    Moderator

    @boertje

    then maybe BuddyPress is more for your needs its not forum software but more of a social hub plugin. it does work with bbPress flawlessly though.

    there are tons of plugins for BuddyPress that allow users to upload media such as pictures, videos, music, and maybe slideshows too.

    the uploading of other types of media can only be achieved in bbPress usally if you have
    the url of the media, well except images from that gd bbpress attachments plugin, but in BuddyPress you could upload it right in the site.

    i would go to BuddyPress support if that might be where you will sway to .

    https://buddypress.org/support/

    #156102

    In reply to: email needed to post

    Robkk
    Moderator

    you just want to keep track of who is posting

    why not just try this https://wordpress.org/plugins/bbpressmoderation/

    then moderate everything in the back-end of WordPress

    unless your trying to gain the email and name for email marketing??

    #156101
    Jake Hall
    Participant

    Can I just say, whilst bbPress is a great SSO solution for those wanting to hook up their WordPress with a forum, it is very difficult to get it going how you like it. There is virtually no decent documentation going over anything except the basics.

    I am trying to achieve something relatively simple, however have had to resort to editing the actual plugin itself in an attempt to get it working how I’d like it to be.

    What I am trying to do, is edit the freshness part of bbPress. What do I mean by that? Well, I am trying to edit the following:

    null

    So what I wanted it to do, was display the actual Topic Title. It makes sense, because as default – what has updated? What thread was last updated without having to drill into the forum?

    I also found it bizarre that the title was added within the title tag of the freshness, really? Can we just have some sort of option to allow us to change how things are layed out, or at least create some documentation on how to actually change this without editing the bbPress plugin files (which is what I have had to resort to…)

    My question is, how can I change what is displayed there? Surely there’s a better way around it that doesn’t involve hacking my way through the plugin files.

    Which bbPress file actually changes this? Like I say, absolutely no documentation on what each file does – it is just guesswork………………

    If I am missing something I apologise, but after looking for countless hours I just decided to edit the plugin source to achieve half of what I wanted – still doesn’t help as I would like to change the location of the author picture and time edited and I am not editing the plugin for those.

    Am I being stupid?

    If anyone would like the most recent topic name within the forum to display on the index, you can edit the Plugin source code directly like so:

    if ( !empty( $time_since ) && !empty( $link_url ) )
    			$anchor = '<a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $time_since ) . '</a>';
    		else
    			$anchor = esc_html__( 'No Topics', 'bbpress' );
    
    		return apply_filters( 'bbp_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );

    Find that chunk of code within bbpress/includes/forums/template.php and change to the following:

    if ( !empty( $time_since ) && !empty( $link_url ) )
    			$anchor = '<a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $title ) . '</a>';
    		else
    			$anchor = esc_html__( 'No Topics', 'bbpress' );
    
    		return apply_filters( 'bbp_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );

    All we have done here is changed the $time_since to $title. Now you need to re-add the $time_since variable in there somewhere, which is a pain because you may not want it right after the thread title (like myself…)

    #156093

    Topic: Topics hidden

    in forum Troubleshooting
    Jayavinoth
    Participant

    I created a forum and a topic. When the forum is opened, topic and description are hidden. Please help em to fix it. Thanks

    WP version : 4.1
    BBpress : 2.5.4
    http://www.etechtricks.com/forums/forum/operating-systems/

    #156089

    Topic: Avatar padding issue

    in forum Themes
    Divine_Apex
    Participant

    Hello! I am new to bbpress. I have just made a new site for my clan and I decided to try out WordPress for the first time. Anyway, I’m going to try and keep this short for you guys. So, I have uploaded a theme and right off the bat there was an issue with the padding between the user’s avatar and username display.

    Example:

    View post on imgur.com

    I have plenty of experience with CSS and I’ve been looking through my FTP files to figure out where this issue is occurring but I can’t seem to find it. I would love to get some direction, or possibly a code to add somewhere in my CSS to fix this. Thanks!

    #156087

    In reply to: email needed to post

    melanie bund
    Participant

    HI
    I have my own simple login – not a plugin just a script, the site is for a seal charity and there is an area for the wardens to communicate which is the forum, so they have to login to access that area, but its a generic login, 1 user and pass for all so i need in the forum the form for name and email to keep track of who is posting. I assume the login overrides the anonymous posting so is there a way to add the form despite… in the bbpress functions file add an over-ride?
    thank you
    Melanie

    #156085

    In reply to: No spacing in posts.

    Yolle
    Participant

    Hi!

    Thank you for the quick reply. It still does not work. I hope I am applying the correction right – I put the code into bbpress.css and then disabled my CDN and caching so it wouldn’t interfere.

    The link to one of the posts is: http://www.lolabuland.com/forums/topic/madde-lucy-bc-6-month-sweden-participant/#post-24022 (post 24022). The forum is for subscribed users only however. Can you please let me know your email so I can send you the login info? Thanks.

Viewing 25 results - 17,276 through 17,300 (of 64,516 total)
Skip to toolbar