Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 22,276 through 22,300 (of 64,742 total)
  • Author
    Search Results
  • #141894
    Shmoo
    Participant

    – Yes the plugin is 100% sure active and working because you can see ( red border ) the topic is reported , I’ve even deactivated & activated it again to make sure when I saw that error.

    – It’s a clean copy-/paste from the plugin’s functions file. I’ve even added echo in front of it to check if there was a difference but both with & without echo have the same error.

    Why I ask if a plugin function can be private or protected is, when I take a look inside the plugin function-file I see all functions wrapped inside a class which is pretty standard for making plugins I’ve seen online.

    But I also see something like this:

    
    	protected $version = '1.0.0';
    	protected $plugin_slug = 'bbpress-report-content';
    	protected static $instance = null;
    	protected $plugin_screen_hook_suffix = null;
    	protected $plugin_path = null;
    ____
    	private function __construct() { ....
    
    ____
    	public static function get_instance() {
    
    		// If the single instance hasn't been set, set it now.
    		if ( null == self::$instance ) {
    			self::$instance = new self;
    		}
    
    		return self::$instance;
    	}
    
    

    Most functions have public function function_name() and the function I would like to use has only function function_name()

    That made me think maybe my function it’s protected, so I started testing and searching online and did this inside my page template.

    
    <?php if(function_exists('get_topic_report_link')) {
    echo get_topic_report_link( $args = '' );
    } else {
    echo 'Function does not exists..';
    }
     ?>
    

    It takes the ELSE option so there is something wrong right.

    ___

    This is what I did to kill for example the Merge link from the admin_links, preventing it would show up something else when called upon.

    
    function shmoo_kill_topic_merge_link( $r ) {
    	$r = null;
    	return $r;
    }
    add_filter( 'bbp_get_topic_merge_link', 'shmoo_kill_topic_merge_link' );
    

    I’m a Check Norris fan, when I change stuff it has to be NULL 😉

    I know, I probably add and write too much functions-/codes of my own to alter the bbPress core but at least I’m getting it done right now and starting to understand how it works a little. In a few years I will be better ( hopefully ) and add more logic to my projects.

    #141889
    Shmoo
    Participant

    – Plugin to filter bad words can done by almost any WordPress plugin that does this kinda trick, it will also filter bbPress posts.

    – Who’s online I have no idea. I don’t think this is available.

    #141888
    Shmoo
    Participant

    If you know a little CSS and you’re not afraid the change the bbPress templates a little you can make this happen with through the forum_id(); which is unique for each forum.

    Take a look inside loops-forums.php ( the template that starts the forums loop ) you’ll find this. <?php bbp_forum_id(); ?>

    Copy that, next open your loop-single-forum.php and paste that code where you would like your image to show up.
    For example something like this could be possible.

    
    <img class="bbp-featured-img" src="http://example.org/images/forums/featured_forum_<?php bbp_forum_id(); ?>.png" alt="<?php bbp_forum_title(); ?>" /><a class="bbp-forum-title" href="<?php bbp_forum_permalink(); ?>"><?php bbp_forum_title(); ?></a>
    

    All you have to do now is make sure you call your forum images featured_forum_[ID].png and upload them to the path you set in the image tag.

    If you Hover over the forum names at the WP back-end you’ll see where the URL-page is pointing to if you would’ve clicked it, this link has a number like 88 or something, each forum has an unique number so your could pick that number and call it in your images, featured_forum_88.png >> upload the image and it will show up next to the forum title.

    Change-/position it a little by CSS ( img.bbp-featured-img { } ) and you’re done.

    I’ve done this myself the same way only with icon-fonts in front of the forum titles.
    It’s a little bit of customization and it has a static feeling but it’s not that difficult and works perfect.

    Edit

    Almost forgot to say, don’t change the bbPRess template files inside your plugins directory but copy those files to your theme directory.
    https://codex.bbpress.org/theme-compatibility/

    #141884
    Kris35
    Participant

    Hi. Is there a way to add mandatory custom fields in the BBPress registering process? I did get someone to add a text field for the location but it wasn’t mandatory and for the UK, they were adding variations like England, Britain etc so in my user directory and search, people looking for people in the UK would only find people in the UK and not in England or the United Kingdom etc. So I had to go and edit their profiles to say United Kindom so they would come up in the search. Sooo…what I really need is not a text field but a drop down or other thingy where new members have to choose where they are from from the options they are given. So I need a list of all countries and then for now, a list for US states and UK counties. I have a coder to do this for me (Ive not got a clue)….is it possible to do this by configuring BBpress or is a custom code thingy needed? If I can do it, I will show it here maybe so others can see?

    #141882
    barnabe
    Participant

    Hi all,

    I try to make a multilingual website with WordPress and I have a bug (?) when I activate bbPress and qTranslate both.
    Indeed, the bbPress’ menu in admin appears correctly when qTranslate is disabled, but disappears when both are activated. And if I try to go to the edit topic’s page, WordPress says to me I don’t have rights. I debug the allcaps WP_User property and I don’t find the edit_topics capability.

    How can I fix that problem?

    Subsidiary question: Does bbPress allow multilingual?

    My config :

    – WordPress 3.8.1 (last)
    – bbPress 2.5.3 (last)
    – qTranslate 2.5.39 (last)

    Thanks!

    #141877
    Kris35
    Participant

    Ta John,

    I need to look into this as currently I am using amr user list for a list of members. Hmm. Never knew BuddyPress profiles even existed. Maybe I should combine the two – both BBPress and BuddyPress? Ive read that sometimes the two dont play well togfether so am a bit worried about that. The BBPress profiles are quite basic I think, so would you say that BuddyPress is the same regarding layout etc? Also, going off topic slightly – amr has a search function….is there a way via the BBPress or BuddyPress registration to add a location field that people have to fill in via a drop down menu and not a text box. At the moment I have a text box location in my BBPress registration thingy but its not mandatory, and also members are adding their locations as UK, United Kingdom, Britain, England and such so I have to go in and edit those to say United Kingdom so they come up in the search. Does my message make sense? Ive just got up! Thanks.

    #141876
    dichter4fun
    Participant

    Same here. Fresh install of WP 3.8.1 an bbpress 2.5.3. Cannot create a new forum always getting the error invalid post type. I’ve checked the user roles and created a second user with administrative rights but nothing helped.

    Any ideas what went wrong?

    Thank you, Stefan!

    #141874
    Sreekanth Reddy
    Participant

    I tried to install bbpress for several times . Its installing correctly but no links were displayed to create a new forum or settings.

    One time it shown an error ” you have no sufficient permissions”

    Please let me know where i did wrong.

    Latest WordPress
    Latest bbPress

    Thank you

    Sreekanth

    #141873

    In reply to: bbPress 2.5.3

    lanse20
    Participant

    Hello admin.

    I m from china and my english is not good, so please forgive me for my words
    I dont know if this question is mentioned before
    I run a simple website ,
    evilstore.me for my group of people
    and bbpress is a very important part.we chat and discuss with it a lot.
    I have a problem.in the “Activity” , Comments and replies have no notifications ,this make me really hard to see whats happening,I hope the next buddypress can have a notification for Comment reply notifications. that would really helpful
    please tell me how can i solve this problem ,or if there is any similar cases,thank you so much

    #141868
    Tearstone
    Participant

    It has been about two weeks since I converted my vBulletin forum over to BBPress. The existing forum has been around since 2008 and since the conversion, we have been receiving emails over entire history of the site that topics have been replied to. These are notifications that have been sent non-stop since the conversion.

    I installed Buddypress and BBPress at the same time, so I’m not sure exactly what is causing all of these emails to continue to be sent out. How do I stop these notification emails from going out? I’ve already attempted to add the following code to my site specific plug-in, but it does not seem to have helped much. I guess it helped with mentions but not the replies.

    remove_action( ‘bp_activity_posted_update’, ‘bp_activity_at_message_notification’, 10, 3 );
    remove_action( ‘bp_groups_posted_update’, ‘groups_at_message_notification’, 10, 4 );

    What are the BBPress hooks to stop reply notifications? I just want them to stop for awhile without disabling email site wide.

    #141865

    Sure did; thanks. I ways able to create an account easily enough, but it looks like logins are completely broken on your site; they do not even work through WordPress’s traditional wp-login.php directly (which is what bbPress sends login data to.)

    Something else is wrong, outside of bbPress, though it’s difficult to troubleshoot on this end. It might be the case-sensitive URL (with “Install” in there) or it could be any other server config, plugin, theme, or random cookie issue.

    Sorry I can’t be much more help, but hopefully this helps you sniff it out.

    #141862

    A few things to check:

    • Is the plugin active?
    • Are you calling the function correctly (named correctly, etc…)?
    • Cherry picking functions and putting them in your functions.php file can be tedious, since you’re stuck supporting all your own new code rather than letting the plugin do the work. Are you sure you’re comfortable with this?
    • If the function says it’s undefined, it means whatever file you’re putting that code in, isn’t loading. Why not?

    You’ll likely have better results if you filter the results of bbp_after_get_topic_admin_links_parse_args like so:

    /**
     * Replace the individual link calls with your own functions
     */
    function foo( $args = array() ) {
    
        $args['links'] = array(
            'edit'  => bbp_get_topic_edit_link ( $args ),
            'close' => bbp_get_topic_close_link( $args ),
            'stick' => bbp_get_topic_stick_link( $args ),
            'merge' => bbp_get_topic_merge_link( $args ),
            'trash' => bbp_get_topic_trash_link( $args ),
            'spam'  => bbp_get_topic_spam_link ( $args ),
            'reply' => bbp_get_topic_reply_link( $args )
        );
    
        return $args;
    }
    add_filter( 'bbp_after_get_topic_admin_links_parse_args', 'foo' );

    Keep in mind that each link function accepts its own parameters (including the ability to change the text to anything you want) so you can either pass new parameters, or filter each link and adjust them. This way you can just filter bbPress’s core functionality rather than rewrite everything on your own

    #141860
    Shmoo
    Participant

    I kinda know how filters work right now and I’ve used them a few times to hide or change default bbPress functions.

    As you can see at my screenshot I’ve completely removed the Merge, Split, Move and Reply links from my admin_links() function because I don’t need them. It’s a fun thing to do if you start to understand how it works.

    The only problem is,
    bbp_topic_admin_links(); is just a wrapper for all the links, each link has it’s own function and if you play nice with them you can copy them and use them straight into your page templates and you’ll see your link-/button show up wherever you want them to show up.
    This is great, I’ve done something like this shmoo_bbp_topic_edit_link(); changed and reused the default topic link function and placed it at the top of the content as you can see in my screenshot.

    Great, only thing is, if I try to do the same with a function from a plugin developer it says; Fatal error: Call to undefined function get_topic_report_link()

    Why is this function undefined ??
    The developer has made that function in his plugin file – which hooks straight into my functions.php , why can’t I use his functions the way I do use the Core bbPress functions inside my functions.php file..

    I would like to remove the report link from the admin_links and bring it solo to the top of the content.

    #141859

    In reply to: Private Messaging?

    Integrating BuddyPress and bbPress should be a breeze. One thing to keep in mind however, is that bbPress user profiles yield to BuddyPress’s member profiles. This could be overridden with a plugin, but is the default experience when integrating them together.

    #141857

    By default, closed topics get a greyed out text color. You can override this with some CSS tweaks that target it specifically. Something like:

    #bbpress-forums .status-closed,
    #bbpress-forums .status-closed a {
        color: red;
    }
    #141854

    Maybe this is already obvious, but if you’re already logged in, those pages aren’t going to work for you; bbPress will either show a message, or redirect away from them, depending on what you’re setup is.

    The login page here is a (much more complicated) version of what is already in bbPress core, using a WordPress Page and the shortcode. (It’s only complex because of shared logins and integration with WordPress.org, Trac, BuddyPress.org, etc…) Meaning, it can’t be broken for you, because if you’re only using bbPress’s method and shortcodes, it’s exactly what’s also working here.

    We’ve considered a few different ways of auto-creating the login/register/lost-password pages (and maybe there are some improvements we can make in this regard) however we haven’t settled on a solution we feel works for the 80% of users that want the out-of-the-box experience, that also doesn’t conflict with existing WordPress registration plugins.

    If you could describe what you think the ultimate experience would be, we’re all ears. 🙂

    #141850

    BuddyPress’s PMs are an okay solution for most people, the only problem being that most people will need to use BuddyPress’s profiles as a means for interacting with the UI. A custom one could be built to integrate directly with bbPress’s profiles instead, but I don’t think most users will want to go that route.

    #141847

    In reply to: Private Messaging?

    Kris35
    Participant

    Hello all. I’ve been reading the boards to see if their is a BBPress PM thingy and it seems we need to install BuddyPress and use their PM system? But I’ve also read that some people have had problems integrating the two? I might give this a go, but in the meantime I am using Cartpauj PM which works well. Not as streamlined as I would like it but it does the job.

    #141846
    Kris35
    Participant

    I know I can block them in WP Users – is that how its done does anyone here know? I tried this on a testname and no I couldnt click on the BBPress topics but was taken to the forum topic page (chat-boards/topic/another-birthday-looms) that has all my sites pages links on it? Urgh, it even has Membership Cancel, Membership Checkout pages on it. Anyone know how to either get rid of this page or take the banned person to the homepage or somewhere else on my site? Thanks.

    #141845

    In reply to: How to remove voices

    shauny007
    Participant

    Hi. How do I access ‘bbpress css’?

    Is it plugins, and then edit, but then what links do I press after this, cant seem to find bbpress css.

    #141844

    In reply to: How to remove voices

    Asynaptic
    Participant

    How do I remove "Voices"?

    this might also help for changing other things:
    https://wordpress.org/plugins/bbpress-string-swap/

    #141843
    shauny007
    Participant

    On a site I don’t allow any sort of registration. Everything is accessible and functional without being registered.

    I am making the BBPress function in the same way. So for this reason I was wondering if it’s possible to remove Voices. It does not look good when for example 10 people have posted in a topic but it only says 2 voices or something.

    Is there a simple straightforward way to do this.

    #141842
    Erica
    Participant

    I don’t even know that this is really an error with the plugin itself but I’m hoping someone may have some suggestions. I currently host my WordPress site through DreamHost. After a recent upgrade (I think to 2.5), I started getting a lot of complaints about socket errors after people tried to post a new topic or reply. It comes and it goes, I haven’t found any consistent time, nor have I experienced it myself because it’s not an every time sort of problem.

    DreamHost talked about other sites loading down the server, but after they fixed that, it continued. So I requested my site be moved to a new server, but it’s STILL happening. Does anyone have any ideas of what I can do? My users are getting rather frustrated.

    Thanks!

    WordPress: 3.8.1
    bbPress: 2.5.3

    Homepage

    #141840
    Corey.stinar
    Participant

    I am using the theme responsive, and I downloaded bbpress to access the forums. I have my forums set up on wordpress, but I get the error message “Please go to the admin section and change your Website Toolbox forum settings” when I try to visit my site and view them. I had a plug in called website tool box but I deactivated and deleted it. Please help!

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