Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,251 through 15,275 (of 32,506 total)
  • Author
    Search Results
  • fuzzybee
    Participant

    Hi Zaerl,

    Thanks so much.
    I have found the answer for myself actally.

    Yes, I love the fact that bbPress is not obtrusive!
    It almost doesn’t matter at all how I am trying integrate BuddyPress here.

    So this narrow downs to customise bbPress template when installed as a plugin to WordPress.
    The answer is here: https://codex.bbpress.org/legacy/step-by-step-guide-to-creating-a-custom-bbpress-theme/ ๐Ÿ™‚

    It appears strange to me though.
    Why does this guide belong “legacy” documetation?

    #119425
    dwbroad
    Participant

    I have created a forum and can register a new user and log in using the short codes. I can also go to the forum page and post new topics, etc.

    http://www.davidbroad.co.uk/flac/forums/forum/forum/

    My only problem is when the user is logged in and on their Dashboard page when they click ‘Topics’ or ‘Reply’ in the ‘Right Now in Forums’ box they get this message:

    You do not have sufficient permissions to access this page. apart from this it seems to be working, but this is obliviously going to confuse some users..

    I’m using WordPress 3.4.2 and bbpress 2.1.2

    Thanks,

    David

    • This topic was modified 13 years, 4 months ago by dwbroad.
    • This topic was modified 13 years, 4 months ago by dwbroad.
    #119422
    cloner
    Participant

    Anyone have any idea how to fix the problem that generated this error message:

    bbPress database error: [INSERT command denied to user ‘dbo251638404’@’74.208.16.147’ for table ‘bb_posts’]

    INSERT INTO bb_posts (topic_id,post_text,post_time,poster_id,poster_ip,post_status,post_position,forum_id) VALUES (‘14733′,’

    how about now?

    ‘,’2012-10-31 18:51:07′,’521′,’184.174.187.66′,’0′,’6′,’7’)

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/14/d230503101/htdocs/mh900e/parlare/bb-includes/db-mysql.php:130) in /homepages/14/d230503101/htdocs/mh900e/parlare/bb-includes/pluggable.php on line 232

    The site address is http://www.mh900e.org/parlare/

    Thanks in advance.

    #119419
    GSmith84
    Participant

    Hello bbPress experts,

    I have searched through the forums to find some means of restricting user access to content and it looks like some of the solutions revolve around a Membership plugin that exists.

    The issue with that is several things, we’re not using User Roles. We’re trying to integrate with the MemberMouse premium plugin and users created via MemberMouse are not assigned roles in wordpress. This makes it useless to restrict access via User Roles. We’re also developing it on Thesis which seems to have a plethora of issues with bbPress regardless (so we have setup the compatibility plugin).

    However, MemberMouse does have user levels and tags to call them via wordpress functions. We can restrict other types of content with means like

    is_user_logged_in() && mm_isMembershipLevel(2)
    

    So we were looking for a means to hook into the forums to create conditional statements like this.

    For the time being we are hooking in the meta box and assigning an ID whether its public or restricted. Unfortunately we couldn’t find any solution letting us hook into the meta box and create restricts using traditional methods like described.

    As such, we are injecting javascript to rewrite html elements for users that do not pass restriction, which is occurring after the page loads. We’ve spent a lot of time on this and would be interested to find out from bbPress veterans if there might be a hook or init function we can connect to, in order to make restrictions not role based but member based using the means provided by the MemberMouse plugin.

    #119415
    tobwithu
    Participant

    Hello, I am newbie to bbpress. I want to setup software manual page like http://codex.bbpress.org/. It has owner, contributors on right side. How can I do it?

    #119404
    zeaks
    Participant

    Wondering if it’s possible to change what the “Code” button outputs on the bbpress editor (html and visual). I want it to use [code] instead of < code .

    Either that or is there a way to add a new button to the editor?

    • This topic was modified 13 years, 4 months ago by zeaks.
    • This topic was modified 13 years, 4 months ago by zeaks.
    #119398

    In reply to: 'Before' pagination?

    Shmoo
    Participant

    I’ve got almost the same problem as @Anointed here, no before and after option..

    Sorry to say but this is typically WordPress development they output Page navigations in < .a href's.. just one after the other and you can only hope there is enough classes to list and style them properly.

    I found this problem with WordPress the first time when i tried to apply Twitter's Bootstrap Page navigation to a WordPress theme.
    This is how a page-navigation should look like anno 2012 in default HTML. http://twitter.github.com/bootstrap/components.html#pagination

    not like this..

            <a href="#">page 1</a>
            <a href="#">page 2</a>
            <a href="#">page 3</a>
    

    • This reply was modified 13 years, 4 months ago by Shmoo.
    • This reply was modified 13 years, 4 months ago by Shmoo.
    #119394

    In reply to: Can't change themes

    noski2009
    Participant

    For some rease the code doesn’t appear here? but it was the php bb_new_topic_forum_dropdown code that I was taking about.

    • This reply was modified 13 years, 5 months ago by noski2009.
    • This reply was modified 13 years, 5 months ago by noski2009.
    #119392
    noski2009
    Participant

    Hi, I’ve been having trouble with bbPress, first I couldn’t post a new topic without getting referred to โ€œThis Topic Has Been Closedโ€. So I thought it might be a theme problem so I changed theme and now it’s stuck to that theme and wont let me go back! I haven’t touched the following or any code for that matter, does anyone have any ideas, really need help with this! Thanks,

    • This topic was modified 13 years, 5 months ago by noski2009.
    #119391
    Mimma
    Participant

    Yes I am sure, it contains eg. tag_ID=10, right?
    i write [bbp-single-topic-tag id=10] but it still shows the empty page

    #119390
    zaerl
    Participant

    Are you sure you selected the right ID from the admin page? The shortcode accept a numeric ID, not the slug.

    #119389
    Mimma
    Participant

    Yes, i mean shortcode that display all topics which have tag N.
    i still doesn’t work and result empty page ๐Ÿ™

    #119383
    zaerl
    Participant

    Maybe the email has been catalogued as spam. It is a common problem especially if you are using a shared host or something similar. The admin can activate the user in the admin area at http://example.com/wp-admin/users.php

    The activation codes are unique.

    #119382
    zaerl
    Participant

    > how about shortcode single topic tag?

    Do you mean a shortcode that display all topics which have tag N? [bbp-single-topic-tag id=N]

    #119380
    boatkorachal
    Participant

    dddd

    > sdfasdf

    ds![asdf][1]
    
    #119379
    Mimma
    Participant

    how about shortcode single topic tag? I have tried this [bbp-single-topic-tag id=10] and [bbp-single-tag id=10], but it result empty page on my website, can anyone help me ?

    #119378

    In reply to: Shortcode not working

    Mimma
    Participant

    i have try this one too, but it still doesn’t work :'(
    [bbp-single-tag id=12] or [bbp-topic-tag id=12]

    #119370
    chromancer
    Participant

    Hey folks, I had the same problem as you all. With no solution forthcoming, I dug down into the code and used a bunch of debug_zval_dump() statements to see the actual SQL.

    The problem is that the code is producing this query to find out whether or not you have subforums:

    SELECT ID FROM wp_posts WHERE post_parent = 31 AND post_status IN ( 'publish' ) AND post_type = 'forum' ORDER BY ID DESC
    

    But the status for your private subforums is ‘private’. You want to see this:

    SELECT ID FROM wp_posts WHERE post_parent = 31 AND post_status IN ( 'publish','private' ) AND post_type = 'forum' ORDER BY ID DESC
    

    I found this on line 1287 of bb-common-functions.php:

        $post_status = array( bbp_get_public_status_id() );
    

    That line of code is what puts the ( ‘publish’) list in the SQL. I changed it to:

        $post_status = array( bbp_get_public_status_id(), bbp_get_private_status_id() );
    

    Now my subforums are showing up correctly. To see if this fix would have any adverse affects, I created a public forum, added a private subforum and logged out. The private subforum was not visible. Seems like this fix worked for me.

    If you don’t have access to the actual source code, I’m afraid you won’t be able to do what I did, but I wanted to share that for those who do. Perhaps somebody can make some sort of plugin to help everyone else. I’m actually not a PHP guy and hardly know what I’m doing at all and I’m new to bbpress as well. If anybody comes up with anything better, I’d love to see it!

    #119365

    In reply to: Shortcode not working

    Shmoo
    Participant

    Looks like single-topic-tag ID isn’t a supported short code.

    It’s [bbp-single-tag id=12] or [bbp-topic-tag id=12]

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

    #119361

    In reply to: Shortcode not working

    Mimma
    Participant

    i have the same issue ..
    how to fix this problem? Anyone know?
    i have try any shortcode and it still doesn’t work ..
    Thx

    #119327
    JoanBotella
    Participant

    Hi everyone.

    I’m developing a web site with multilingual support, using WordPress 3.4.2 and the Polylang plugin 0.9.4 . I’d love to add a forum to the site, so I downloaded, installed and activated bbPress 2.1.2 .

    The first problem was that bbPress didn’t switch from one language to another, always keeping the default WordPress language. I solved this calling again bbpress()->load_textdomain() before loading the header template:

    function cbp_bbPressTranslate(){
    bpress()-&gt;load_textdomain();
    }
    add_action('get_header','cbp_bbPressTranslate');
    

    This worked great, but soon other problem appeared. If topics and replies doesn’t have translations, they doesn’t show up. I can add translation posts for they from the admin panel, but of course my users can’t. I’ve isolated the problem to the Polylang plugin: switching back to Twenty Eleven theme and deactivating all plugins but Polylang didn’t do anything. Deactivating Polylang showed the topics again.

    I’ve tried other multilingual plugins like xili-language, which works great with bbPress, but lacks of customizing menus panel, wich I need on my site.

    Anyone can help me? Encouraging words will be welcomed too! ๐Ÿ˜€

    #119315
    #119289

    In reply to: metadata for forums

    Shmoo
    Participant

    Metadata for search engines?

    Use a plugin maybe SEO by Yoast.

    Else use Custom Fields.
    https://codex.wordpress.org/Custom_Fields

    #119287
    Shmoo
    Participant

    I think what he’s trying to say that somebody is working on it.

    This means somebody outside WordPress is making a replica because i can’t believe WordPress giving away the code to the same sites they own. Normally nobody would do so.

    But usual it’s not problem to recreate them and make them look the same, it’s just somebody has to do it in there free time so it takes a little time to complete.

    But maybe i’am mistaken and WordPress is giving you this layout by default inside bbPress.
    Maybe instead of the Twenty Ten option.

    And last, bbPress.org is running on WordPress + bbPress version 2.2 this version hasn’t been released yet and don’t know why the team would do so or tell people that they do. It’s against WordPress ‘thinking’ they never tell people to use development software (code) on Live websites. Always test it on local websites.

    You can find stuff about bbPress version 2.2 and up on this website.

    https://bbpress.trac.wordpress.org/roadmap

    #119285
    Shmoo
    Participant

    I think the WordPress Adminbar is now been called the Toolbar.

    https://codex.wordpress.org/Administration_Screens#Toolbar

    Read and searsh a bit i think it’s very easy to add a link and remove stuff from this Toolbar.
    there are filters i believe you can add to your functions.php to make this happen.

    • There is also a plugin for locking members from going to your back-end made by @jjj
Viewing 25 results - 15,251 through 15,275 (of 32,506 total)
Skip to toolbar