Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 34,901 through 34,925 (of 64,736 total)
  • Author
    Search Results
  • #109873
    master5o1
    Participant

    First one isn’t ready to view yet :(

    #109946
    dominornovus
    Member

    I’ve had a look at bbp-includebpp-reply-template-php here:

    http://etivite.com/api-hooks/bbpress/path/bbp-includesbbp-reply-template-php/

    I looked through the following:

    bbp_get_reply_author_url

    bbp_get_reply_author_link

    bbp_get_reply_author_id

    bbp_get_reply_author_email

    bbp_get_reply_author_display_name

    bbp_get_reply_author_avatar

    bbp_get_reply_author

    It seems like you could use this one as a base for getting the role:

    http://etivite.com/api-hooks/bbpress/trigger/apply_filters/bbp_get_reply_author/

    There’s also a specific solution suggested here:

    https://bbpress.org/forums/topic/display-reply-author-role

    function get_the_author_role() {
    global $wpdb, $wp_roles, $authordata;

    if ( !isset($wp_roles) )
    $wp_roles = new WP_Roles();

    foreach($wp_roles->role_names as $role => $Role) {
    $caps = $wpdb->prefix . 'capabilities';
    if (array_key_exists($role, $authordata->$caps))
    return $Role;
    }
    }

    function the_author_role() {
    echo get_the_author_role();
    }

    There’s another topic here that discusses various ways of styling replies based on the user role:

    https://bbpress.org/forums/topic/different-style-for-key-master-and-administrator-replies-1

    Let me know how it goes.

    #108840
    dominornovus
    Member

    Q2: Seems like you got a useful answer here: https://bbpress.org/forums/topic/databases-1#post-93441

    Q3: Using a web developer tool like Firebug will allow you to view the styles your admin panel has inherited: http://getfirebug.com/ If your styles are being ignored, Firebug will show you what’s overriding them. It will also tell you what style sheet the inherited CSS is contained in.

    This could also be worth a try: http://webdesign.about.com/od/css/f/blcssfaqimportn.htm

    #40319

    Just getting around to playing with bbPress after it being released as a plugin. Curious if I’m missing something but is there a way to output the reply author user role with bbp_reply_class? I’d like to be able to style the entire row for a reply if the response is coming from a moderator.

    #109981

    In reply to: Database’s

    djoep
    Member

    A new host! That seems like a rediculous constraint.

    BTW, with bbPress 2.0 plugin (site wide bbPress), it does not use a separate DB or separate tables. It uses custom WP Posts inside the WP dB.

    As far as I can tell, BuddyPress does not use bbPress 2.0 plugin for group forums, instead, it uses an internal version of bbPress 1.x. It also uses separate dB tables.

    If you are using bp 1.5 with group forums, you should have a set of db tables with the prefix that includes bb_. You should also have a file called bb-config.php

    The file bb-config.php has settings for the bbPress (1.x) database name, user, and password, and table prefix. I’ve not tested this but conceivably you could create a separate db for your bbpress tables and modify the config file accordingly.

    It does not appear that the buddypress tables themselves are so easily separable.

    I would strongly recommend that you not try separating the databases until you have successfully done it in a test environment. Also, as always, do a site and dB backup before you do anything just in case.

    joe

    #40284
    antonchanz
    Member

    I’ve noticed a lot of people looking for plugins that add bbcode to the forum in the new bbPress 2.0 version. I was also interested so I paid attention. I think someone mentioned that the way to do it would be to use wordpress shortcodes, but that before enabling these in forum topics and replies it might be best to create a whitelist of safe shortcodes that you want to allow.

    Well I waited and no-one developed this, and so I looked into doing it myself. I have now done this and added my first ever wordpress plugins into the repository! These being:

    bbpress2-shortcode-whitelist

    and bbpress2-bbcode

    Using these two together creates a safer way of including bbcode in your forum. I will expand the whitelist to include other cool but safe shortcode plugins as I become aware of them. I also plan to add an admin page that allows manual addition of shortcodes you wish to allow.

    #109855
    PureRover
    Member

    Travis,

    Thank you for responding to my earlier question eventhough it’s a mute point now since I am beta testing another forum plugin.

    Our team needs a simple forum that can be plugged right into a full-width page. The template we are using was built with that in mind.

    The only problem we found with BBPress was it’s lack of one shortcode for the entire plugin. Why implement short-codes for bits and pieces of a software package and not the whole?

    We implemented BBPress into a full-width page. Looked good until we clicked on any link inside the forum. When it was redrawn, it would leave the full-width page and revert back to a normal width page with sidebar widgets being displayed.

    Modifying our template to fit a plugin is out of the question. Our template works with every other plugin we have installed and should not have to be modified to make a plug-in work. The plugin should work, regardless. If we start modifying a template everytime we load a plugin, we would be in trouble.

    In other words, you need a short-code for the entire forum, not section.

    We are currently beta-testing simplepress which uses one shortcode for the entire plugin.

    BBPress has a lot of potential but doesn’t quite meet the requirements for a seamless forum plugin.

    -Mark

    #109854
    travis.hill
    Participant

    @thetbasket, could you provide a URL, please?

    …but was a no-go for me.

    Your problem still exists because you probably have a completely different theme than that user did.

    …but the sidebars still remained.

    Are you using a Full Width Page Template? These templates do not have a sidebar. They are included with your theme. You select a template when you create a page.

    I removed the div.bbp-breadcrumb in bbpress.css as suggested…

    I didn’t suggest removing div.bbp-breadcrumb, I suggested removing the float:left from div.bbp-breadcrumb. You’ll probably want to style the breadcrumb.

    But there was no change.

    Again, this is probably because your not using a full width page template.

    …but at the same time the function of a forum does not necessarily adhere to that format or fit appropriately within it.

    Perhaps I shouldn’t have said “what WordPress is built to do”, because WordPress is nearly limitless. It’s only restriction is the ability of it’s builder. There is a solution to almost any problem within WordPress. Sure, a vanilla installation of WordPress is pretty limited, but alas, it can be extended to do very powerful things.

    A forum software is exactly what WordPress is. A Content Management System.

    A blog is a forum. A person creates a post (topic) and people comment (reply) on it.

    A forum is a blog. A person creates a topic (post) and people reply (comment) to it.

    A blog and forum are one in the same. How can it not fit appropriately?

    For me, the benefit of having such a plugin is to have a forum that operates well and lightly as a forum on a wordpress site, not necessarily a forum that works within the confines of a wordpress post or page, which is not how forums have functioned nor probably how they best function – considering the horizontal space they typically need for the post title, user that posted, number of replies, and so on, which take up quite a bit of horizontal real-estate.

    Again, I think your missing the full width page template.

    And since the typical widget that would be placed on the sidebar of a blog would be unlikely to directly apply to the forum, what you have in the end is an unnecessary utilization of space that would – for the end user – probably be better used to create a forum which is less cramped, more spacious, etc. – especially when they have the option to access the widgets and sidebars by going back to the blog – that which those widgets and sidebars were likely created for in the first place.

    The bulk of your post deals with your forum not “fitting” within a page, because of the sidebar. I understand where your coming from, so please verify that you are using a full width page template, as these typically don’t have sidebars. This should solve your sidebar issue. If you don’t have a full width page template, create one.

    WordPress Codex: Creating Your Own Page Templates

    The last resort, and not a good one, is to comment out the get_sidebar() code in your template files.

    #39796
    Trobee
    Member

    Hi all,

    I am currently running a multi-site wordpress site which has separate bbpress installations, as there are common forums, plus private ones for each sub site. As I needed multiple different private forums I though this was the best method to achieve this. I was wondering if it is possible to, using shortcode or otherwise, show a list of forums from more than one subsite on a page?

    #107954
    atiminou3
    Member

    I had the same problem with login, when I tried doing what mixlplex2 above explained.

    Tried some other options on https://codex.wordpress.org/Function_Reference/wp_logout_url

    but that seems to be the best one for now.

    #107953

    Seems to be working fine for me, did you run into the same problem with logging in as well? or user registration?

    I seem to have the same error for anything that is being redirected, it adds the subdirectory name twice… domain.com/subdir/subdir… which always returns a 404.. I can use a .htaccess redirect but it is an ugly fix.

    #107952
    atiminou3
    Member

    I was having the same issue, but it’s working now.

    I’m sure it’s not the perfect fix, but it works for now.

    bbp-includes/bbp-common-template.php

    line 1751

    Changed : wp_logout_url( $redirect_to )

    to : wp_logout_url( home_url() )

    Please share your experiences.

    Thanks

    #107951

    Anyone else have any temporary fixes or patches? I’m running into the same problem.

    I’ll be spending some time to see if I can come up with something.

    #109906

    With some more research it looks like others have run into the same problem.

    Logout error when bbPress plugin is active

    I think it is best if we leave this topic to concentrate on the other.

    #40341

    Topic: Database’s

    in forum Installation

    So my Hosting Provider gives me unlimited MySql Database’s but they can only be 1Gig in size. I am wondering how WordPress, BuddyPress, and yes bbPress is going to handle this. Can I set a seperate database up for each of my topics in the Forums? Will MySql simply start up a second database when the first one fills? Just not sure how this is going to affect the site, if at all. Any thoughts?

    #109964

    Something in your theme is causing the $post local to be reset, which makes it default to comments being turned on. bbPress forces this off for most themes, but with a custom theme that does its own global manipulations, bbPress can’t guarantee anything.

    You’ll want to figure out where your theme reloads the $post global, and either unset it, or force comments off. Start by looking in bbp-includes/bbp-core-compatibility.php fir how bbPress does it first.

    #109853
    thetbasket
    Member

    Thank you for the information.

    I just tried the solution you had posted for a Full-width forum, but the sidebars still remained. It seemed to work for the other user, but was a no-go for me.

    I removed the div.bbp-breadcrumb in bbpress.css as suggested and replaced it with:

    .bbp-forums {

    width: 100%;

    }

    But there was no change.

    Any tips would be great. I can understand what you’re saying about how wordpress is built for a certain function, but at the same time the function of a forum does not necessarily adhere to that format or fit appropriately within it.

    For me, the benefit of having such a plugin is to have a forum that operates well and lightly as a forum on a wordpress site, not necessarily a forum that works within the confines of a wordpress post or page, which is not how forums have functioned nor probably how they best function – considering the horizontal space they typically need for the post title, user that posted, number of replies, and so on, which take up quite a bit of horizontal real-estate.

    And since the typical widget that would be placed on the sidebar of a blog would be unlikely to directly apply to the forum, what you have in the end is an unnecessary utilization of space that would – for the end user – probably be better used to create a forum which is less cramped, more spacious, etc. – especially when they have the option to access the widgets and sidebars by going back to the blog – that which those widgets and sidebars were likely created for in the first place.

    #109933
    thetbasket
    Member

    I’m also considering how this can be done. I have a left and right sidebars with widgets in them that I wish would not even be displayed. As far as the forum is concerned, I would like it to be the full width of the theme without the sidebars/widgets but see no clear way to remove them.

    Any assistance on this would be helpful. Also, if I am not completely missing it, it may be a good option to release in the GUI for future users. Most blogs contain these sidebars which – however well they may work for a blog – will almost always make a forum which fits between them too narrow and cumbersome.

    The bbpress forum on install had four columns, and my wordpress blog has a 900px width with sidebars on each side. This doesn’t leave much room for the forum to operate within, and it is basically “squished”. I would imagine other users would have similar issues.

    As sidebar items such as search, categories, and archives usually are related more to the blog and not necessarily related to the forum at all, or necessary for the forum to operate (especially as the user can simply click “Home” on the menu and see the forum with all of it’s widgets and sidebars”), I would think there would be many cases where users would find keeping the widgets from the blog on the forum unnecessary and clunky.

    An option to disable sidebars and widgets from the current wordpress theme would be a fantastic addition to bbpress.

    Until that feature is implemented, how can one make the forum the full width as the OP request, disabling the WP widgets and sidebars?

    Great job, though, it’s a very promising project.

    #109972
    djoep
    Member

    Hey Andrew,

    I took a look at bbPress Post Toolbar but it seemed to add bbcodes either by hand or by clicking a button. With “normal” wordpress, and inside the buddypress group forums, if you just enter the url as text, with no added adornment, it just shows up as embedded video. I believe the same is true for image urls but haven’t tested recently.

    Also, I’m confused. On both the WPplugin directory as well as the master501 website, it shows the latest version as being back in August, not today???

    Thanks,

    joe

    #109971

    Just today I added a Plugin called “bbPress Post Toolbar” to correct the very issue you’re referring too here. My youtube video’s were coming out as links. After installing this Plugin I didn’t even have to repost the links. They just magically became imbedded video. Hope this helps ya! :)

    #109270

    In reply to: WYSIWYG-Editor?

    Anointed
    Participant

    @djoep

    As it sounds like you know what you are doing, check this out, your gonna flip over this one.

    https://core.trac.wordpress.org/ticket/17144

    Basically it means we can now use the full blown wp editor on the front end. I managed to get it setup in a few mins and for the most part it works perfectly.

    I know this is going to hit bbPress as soon as WP3.3 is released, but nothing is stopping us from playing around before that.

    #109970
    djoep
    Member

    BTW, had a similar experience adding a wysiwyg editor to bbPress. In that case, it worked in bbPress 2.0 site-wide but not in the individual group forums.

    It would be nice if bbPress behaved basically the same inside and outside groups for a buddyPress / bbPress install on the same site.

    Don’t get me wrong… both are awesome and exceedingly complex under the hood.

    Thank you!

    #109269

    In reply to: WYSIWYG-Editor?

    djoep
    Member

    OK, after a bit of testing this seems to work in my site-wide bbPress 2.0 forum but it does not seem to work in the bbPress froums embedded in budddyPress 1.5 groups.

    to get the groups to show the editor I tried several different element identifiers including #topic_text which is the ID for the text entry area for new posts… no joy!

    Any ideas as to what could be causing the difference in behavior would be greatly appreciated!!!

    joe

    #40336
    djoep
    Member

    When I paste a youtube link into a bbPress 2.0 forum posting or reply it comes out as a link.

    When I paste the same youtube link into a buddyPress 1.5 broup forum it comes back as I expected (like wordpress) as an embedded video.

    Is there a way to get the two versions of bbPress to act the same?

    Thanks, and please forgive my ignorance if this is a simple, obvious configuration setting that somehow I overlooked.

    joe

    djoep
    Member

    I looked at all the files for other forum converters but the joins seemed simpler than what smf might require or more likely I just did not understand the table conversion code.

    So, here are the specifics (smf_ is the prefix).

    for the topics area.

    for the topic title conversion.

    SMF has two tables required to get whatever it is you need:

    Table = smf_topics includes:

    field = ID_TOPIC – the table index for topics.

    field = ID_FIRST_MESSAGE – the index of the first message written for the topic.

    Table = smf_messages includes:

    field = ID_MSG – table index & source of ID_FIRST_MESSAGE above.

    field = subject – the actual text for the “topic title”

    If you can give me the corresponding syntax to replace the following, I think I can probably muddle through the rest of the converter. I am very hesitant to send the entire database. BTW, this is coming from an smf 1.x install, not the newer 2.x version.

    Current converter code for topic title

    // Topic title.

    $this->field_map[] = array(

    ‘from_tablename’ => ‘thread’,

    ‘from_fieldname’ => ‘title’,

    ‘to_type’ => ‘topic’,

    ‘to_fieldname’ => ‘post_title’

    );

    Thanks very much!!

    joe

Viewing 25 results - 34,901 through 34,925 (of 64,736 total)
Skip to toolbar