Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,001 through 17,025 (of 32,519 total)
  • Author
    Search Results
  • #110865
    tnwinn
    Member

    :( anyone?? should I delete the plugin and start over??

    #65587
    iftomkins
    Participant

    Hi! I’m a little late on this one. Using bbpress 2.0 but the above code still kinda works. When I add it, I get the edit button, but no delete button. Any tips? I want all users to be able to edit and delete their own posts. Also, I’m confused whether assigning someone the role Forum Participant vs. Subcriber has anything to do with it, but I’ve tried both. Here’s the code I was using from above:

    function delete_own_post($retvalue, $capability, $args) {
    if ($capability=="delete_post") {return bb_current_user_can( 'edit_post', $args[1]);}
    return $retvalue;
    }
    add_filter('bb_current_user_can', 'delete_own_post',10,3);

    #110970
    drewdavid
    Participant

    Hi Zofar,

    Thanks for your guidance.

    I was hoping to be able to set this without the use of another plugin, but I will use both for now. :)

    …Until the documentation is updated this (hopefully) will be a working solution!

    Best Regards,

    Drew

    #41410
    @Forint573
    Member
    #110969
    zofar143x
    Member

    I don’t think you fully understand what roles and capabilities are. Furthermore, did you try the plugin I suggested? It’s quite different from the “WordPress Access Control” plugin which doesn’t provide you with the ability to modify the capabilities different roles have. The documentation is indeed outdated since the way people register has changed in bbpress 2.x.. The same functionality that the user role map appears to have had (I never used bbpress before 2.x), can now be found under General > Settings > New user default role.

    #41405
    highexistence
    Participant

    How can I alter the output of the pagination template tag? Specifically bbp_topic_pagination_links();

    From the source, it appears not to accept any parameters directly.

    #107516
    juneman
    Member

    Awesome !

    Thanks hscoder

    really useful links

    best wishes

    _____________________________

    “I recently learned something quite interesting about video games. Many young people have developed incredible hand, eye, and brain coordination in playing these games. The air force believes these kids will be our outstanding pilots should they fly our jets.”

    #107554
    juneman
    Member

    Yes i use bbpress for Rpg

    because it’s fun to b a young

    :-)

    _____________________

    any comment

    “I think that if someone plays a video game, and then goes out and harms another human being, or themselves because of what they just saw in the video game, they were screwed up in the head long before they got their hands on a controller.”

    #107553
    lindevi
    Member

    I’m using BBpress for my L5R writing/roleplaying community, though it’s still under construction. I would also be interested in a dice roller with the kind of functionality Myth-weavers has for theirs. If anyone knows of any, I’d appreciate it as well. Otherwise, I may just have to break down and figure out how to write my own.

    #107382
    @Forint573
    Member

    Anybody? :) Suggestion?

    #110966
    drewdavid
    Participant

    Hi again,

    …Am I overcomplicating this? Should I just make the default new user a “subscriber”?

    Thanks. :)

    EDIT: Subscriber doesn’t seem to work.

    #110965
    drewdavid
    Participant

    Hi,

    Thanks John.

    Yes doing three private forums on a single website WP installation.

    I’d like to create users who can pretty much only access (and post to) the forums as a part of their user privileges.

    How would you tackle this?

    Thanks again. :)

    Drew

    #109648
    FTPpass
    Member

    Sorry – the file is form-topic.php

    and you have to remove the same code from form-reply.php

    #108077
    wvanderzee
    Participant

    De po-file lijkt me niet compleet, er zijn nog een hoop teksten die in Engels worden weergegeven. (Of heb ik het mis?)

    Ik heb nu zelf een hoop vertalingen gedaan, maar in de code zelf. Dat is natuulijk niet de meest handige oplossing, want bij upgrades van bbPress zou ik die weer kwijt zijn.

    Kun je zelf vertalingen aan de po-file toevoegen?

    Wil eventueel helpen bij verder vertalen van bbPress, indien nodig!

    #109647
    FTPpass
    Member

    I just had the same problem but figured it out.

    Probably not the cleanest solution but it works

    go to the bbp-themes/bbp-twentyten/bbpress/ folder

    open forum-topic.php

    search for “form-allowed-tags”

    select and delete

    <?php if ( !current_user_can( 'unfiltered_html' ) ) : ?>

    <p class="form-allowed-tags">
    <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress' ); ?></label>
    <code><?php bbp_allowed_tags(); ?></code>
    </p>

    <?php endif; ?>

    #41364
    effengfx
    Member

    heres my site

    http://de5igno.com/dosebox/

    its not letting me post a new topic….. i filled out the topic line with “this is a tester”

    and it said

    ERROR: Your topic cannot be empty.

    also i noticed at the top it said

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘bp_activity_at_name_filter’ was given in /home/content/32/5264432/html/de5igno/dosebox/wp-includes/plugin.php on line 170


    its not letting me post a reply… i filled out the text box but still it says

    ERROR: Your reply cannot be empty.

    and

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘bp_activity_at_name_filter’ was given in /home/content/32/5264432/html/de5igno/dosebox/wp-includes/plugin.php on line 170


    another issue im facing is finding the forum index page:

    im able to view this page:

    http://de5igno.com/dosebox/chatr/general

    but this page is broken

    http://de5igno.com/dosebox/chatr/


    i also noticed it says comments off

    GENERAL

    Posted on December 18, 2011, in , with Comments Off

    shooo
    Member

    Thx for our work. it’s really cool :)

    i try to import 169 000 post of my phpbb, it’s very very very long :D

    thx again :)

    #107514
    hscoder
    Participant
    #41363
    billnanson
    Member

    Import tool seems a little trial and error…

    I have a relatively modest ‘standalone’: 324 Registered Users and 1,573 posts.

    Backups done, plugins switched off, default template chosen; imported users apparently okay – though luckilly I did work out that it changed my wp login credentials to that of the bbpress standdalone – my wp-admin old admin account login no-longer functions – but hey, probably better for security ;-)

    The next stage of importing forums and topics stalled. Now if I try and start again I get the “There was a problem dropping the wp_users and wp_usermeta tables… …or drop the tables yourself” message.

    What to do next?

    Thanks

    #105887
    zofar143x
    Member

    I had to use the following code in order to get it to work:

    !(is_post_type_archive( ‘forum’ ) || is_singular( array( ‘forum’, ‘topic’, ‘reply’ ) ))

    I needed to use is_post_type_archive() in order to get the widget to disappear from the forum index because none of the following tags worked:

    !is_page() (tried with slug, id and title)

    !is_single() (tried with slug, id and title)

    !bbp_is_forum()

    !is_page_template( ‘page-front-forums.php’ )

    as well as a bunch of other stuff I forgot. Does anyone know if there is a simpler tag that I can use?

    #100787
    zofar143x
    Member

    I had to use the following code in order to get it to work:

    !(is_post_type_archive( ‘forum’ ) || is_singular( array( ‘forum’, ‘topic’, ‘reply’ ) ))

    I needed to use is_post_type_archive() in order to get the widget to disappear from the forum index because none of the following tags worked:

    !is_page() (tried with slug, id and title)

    !is_single() (tried with slug, id and title)

    !bbp_is_forum()

    !is_page_template( ‘page-front-forums.php’ )

    as well as a bunch of other stuff I forgot. Does anyone know if there is a simpler tag that I can use?

    #107380
    @Forint573
    Member

    Hello. I have some problems with the forum :( (location: http://boldogics.com/home/forums/)

    Some pages are working, and some pages are not visible…

    I’ve tried some shortcodes, but nothing logical….

    @folgerj : i’ve seen your forum. Can you please help me to configure mine too?

    #41308
    Marvin
    Member

    I believe that I have installed bbPress correctly and setup the shortcodes so that the forum displays on my site (both the topics, login, and registration). But the problem is that once I believe I’m logged in and I click on a topic to try to add something, it will not let me. It says this:

    “You must be logged in to create new topics.”

    Can anyone tell me what I’m doing wrong? I setup a new user to test it out and this is what I’m getting the problem with. I setup blank topics ok when I’m logged in as administrator so is it an issue with user rights? Here is my forum:

    http://www.theheartbandits.com/forum.html

    enderpal444
    Member

    I’d like to know this too.

    #108601

    Hi Steve,

    I would greatly appreciate it if you could post a link to the code here.

    Thanks,

    Chris

Viewing 25 results - 17,001 through 17,025 (of 32,519 total)
Skip to toolbar