Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,401 through 14,425 (of 32,519 total)
  • Author
    Search Results
  • #133174
    perineo
    Participant

    dylan helped me with this one, it works 100% it shows a flag using ip of the replier under the avatar (dance)

    http://pastecan.com/v/4oO9jLb

    you will need third plugins like quick-flag to work with this code, good luck

    #133168
    jezza101
    Participant

    Great, thanks for the new release. Always exciting to see new bbpress updates :)! Couple of comments from me.

    Search
    I’ve traditionally used Google search to search across my whole site, is there an easy way to switch the new form off? It appears to be forced upon the main forum list page.

    It is also not looking great on my sites main forum page, what’s the easiest way to style this, what can I add to my CSS file to change the look? See here.

    Stats
    For those looking, the Stats shortcode is [bbp-stats], there is also a widget. https://bbpress.trac.wordpress.org/ticket/2052

    Is it possible to style the output?
    Can I control which stats are shown? For example “empty tags” isn’t something I really want to boast about on my forum!

    #133166
    perineo
    Participant

    it works ! prints the ip of the reply user inside of its shortcode, and it works inside the posts (with plugins enable BBCODE GD BB TOOLS and stuff…) but, can I use do_shortcode for making the shortcode work other than in the reply content?

    something like this?

    http://pastecan.com/v/poO9jLb

    this dosnt work, but how could i use it? thanks in advance

    #133165
    jezza101
    Participant

    The new shortcode is:

    [bbp-statistics]

    Is it possible to style this or control which stats are visible? For example “empty tags” and “hidden replies” aren’t really stats to share about (are they?!)

    How is the “who’s online” done?

    #133151
    Erlend
    Participant

    Thanks so much! Seems to have updated without a hitch (well, see below). Tested the forum search right away and it appears to be working fine, although I’m still aching for those search results to be presented as excerpts.

    I did also find that I had to resave permalinks in order to see posts again, or else I would end up with a “topic not found”. That gave me quite the scare!

    We’ll be checking out those improvements to code posting now.

    #133150
    AlexiousRahl
    Participant

    Hello and thanks for the help!

    Two questions for a noob, though: how to enable the search? Also, where is the statistics shortcode? I can’t find it here. https://codex.bbpress.org/shortcodes/

    Thanks again!

    JayFoster
    Participant

    I’m not a website developer. I’m just a user of WP for two sites. I have a third site that I had a developer set up which is a forum and it is run with phpbb (he said this is what I should use).

    What frustrates me is the huge DIFFICULTY in installing a “mod.” I don’t want to have to contact my web developer to install a mod every time I need one. That’s why ALL my websites (except this forum one) are run on wordpress – I can install/change just about anything on it myself within seconds.

    What I’m wondering is, if I switch to bbpress is the installation of plugins just like wordpress? I don’t have any problem with that because it’s just click on a couple of buttons. Phpbb on the other hand, requires me to edit files and write code for a “mod” installation. It’s time-consuming and drives me nuts.

    My forum is http://www.ForumJudo.com if that matters to your recommendations. I just basically want a site where users can send/receive private messages, vote on posts, post video/audio files, start topics, mods can delete posts & ban users, etc., and possibly a chat feature in the future.

    I just know that phpbb is too difficult to install “mods.” I don’t want to learn code.

    Thanks for any advice on this!

    #133139

    There is no easy on/off switch to enable/disable this, unfortunately. It would take a bit of code to make it work (a custom plugin, etc…)

    #133135

    i have to pay for this?

    Hopefully not. A quick Google search found this plugin, though I’m not sure how well it works.

    #133129
    perineo
    Participant

    yes but with third plugins i can re-open this right? i have to pay for this? Thank you in advance
    not even with do_shortcode? globals, im very newbie in php understand my syntax mistakes 🙂

    #133127

    bbPress disables shortcode execution within it’s output, so that non-privileged users can’t gain access to all of the shortcodes available within WordPress. The problem is that shortcodes don’t come packaged with role/capability restrictions on their usage, allowing anyone that can create topics or replies to use any available shortcode. This is risky, so we globally disallow them.

    #133125
    perineo
    Participant

    wow John this works like a charm, thank you mate. Now it prints out the ip as I wantend, but I fronted a new problem, I cant execute shortcode’s outside the post of the reply where I tested and it works. In the contenct of the post it works, but otside not (under avatar) 🙁 Any suggestions ?

    thank you in advance!

    #133115
    lasticko
    Participant

    btw, the page:

    https://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/

    is out of date. Step 6 doesn’t work. 🙁

    lasticko
    Participant

    I went to #freenode’s IRC channel for #wordpress and I tried to find help there.

    They directed me to :
    https://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/

    But on Step 6 where it says to copy everything in wp-content > plugins > bbpress > bbp-themes > bbp-twentyten into your child theme folder I’m stuck.

    There is no wp-content\plugins\bbpress\bbp-themes directory in the latest bbpress.
    Outdated instructions… 🙁

    I wish someone would step in and clear things up.

    This page seems a little more udpated with the correct file structure. I guess I’m going to delve into this a bit more:
    https://codex.bbpress.org/theme-compatibility/

    #133113
    AlexiousRahl
    Participant

    I’ll add that the function is

    bb_new_topic_link()

    And our coder says he got “undefined function” in return.

    Tux Kapono
    Participant

    Are the instructions for migrating the BP Discussion Forums content to bbPress 2.3 the same as for migrating to bbPress 2.2, as described at the following link? http://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/using-bbpress-2-2-with-buddypress/

    #133109
    Robin W
    Moderator

    I have also added it in a page by creating a shortcode
    In functions.php in my child theme I added

    //edit profile
    function profileedit() {
    return ‘Amend Profile/Change password‘ ;
    }
    add_shortcode(‘profileedit’, ‘profileedit’);

    Then in any page type [profileedit] and up comes the href with the current user correctly filed in.

    #133108
    AlexiousRahl
    Participant

    As the title says. There appears to be no way to do so. http://www.worldsfactory.net/forums

    I thought that maybe the form was not included in the theme (which is custom by the way) by the original designer, could that be the case? I tried with our current coder but he said that he found a place to add function to new topic form, but that function doesn’t seem to work.

    Can you help us? It’s a pretty big problem for us, basically stopping our community progress. Thanks in advance.

    #133104
    sulliwane2
    Participant

    Hello, I have the exact same problem :

    On /forum page I put this bbpress shortcode : [bbp-topic-form]

    And when non-admin user is logged-in, it displays the message “You cannot create new topics.

    Any workaround ?

    Thx

    #133084

    In reply to: Template Tags

    Robin W
    Moderator

    Not sure which bit of your site you plan to put this in, but the following php code will put up some text which they can click

    <a href="edit” >Amend Profile/Change password

    without the “edit”, it’ll take them to their profile page.

    #133083
    stickFinger
    Participant

    I guess i have the same problem as you my file is different from moebis´ and so i could not find the correct lines.

    I´m not a coder but i can assure you that i know how to copy and paste 🙂

    But you´re right, maybe i´ll start with BP 1.6.5 and use this Nice PLug to get the project as I wish for now. I have a similar project as Yours but very smaller

    A district site ( with maybe 4 to 10 ) and with subforums like Health, Education, Secutity, Traffic, etc.

    So for instance:

    Brooklyn:
    –Health
    –Education
    –Traffic

    Queens:
    –Health
    –Education
    –Traffic

    But i still have some concerns about future updates, you know. i´m a bit stucked 🙂

    #133081
    Fraternity
    Participant

    That second codeblock (lines 567-581) should read:

    `
    // Suppress subforums for now
    //add_filter( ‘bbp_get_forum_subforum_count’, ‘__return_false’ );

    // Set up forum data
    bbpress()->current_forum_id = $forum->ID;
    bbp_set_query_name( ‘bbp_single_forum’ ); ?>

    <?php

    // Remove the subforum suppression filter
    //remove_filter( 'bbp_get_forum_subforum_count', '__return_false' );
    `

    The fact that bbPress doesn't automatically encode text between the code tags I used is a bit of a concern 😀

    #133080
    Fraternity
    Participant

    moebis – just took a look at this, I may have a more recent version than you use in your fix above.

    Here is how to play with my hack in the latest trunk:

    EDIT: /bbpress/includes/extend/buddypress/group.php

    Delete lines 609-614 and add “?>” back to line 609.

    The code I have at these lines is this:

    <?php bbp_get_template_part( ‘form’, ‘topic’ ); ?>

    <?php else : ?>

    <?php bbp_get_template_part( ‘feedback’, ‘no-topics’ ); ?>

    Probably not what I want to comment out. What I did find though is this (lines 567-581):

    // Suppress subforums for now
    add_filter( ‘bbp_get_forum_subforum_count’, ‘__return_false’ );

    // Set up forum data
    bbpress()->current_forum_id = $forum->ID;
    bbp_set_query_name( ‘bbp_single_forum’ ); ?>

    <?php

    // Remove the subforum suppression filter
    remove_filter( 'bbp_get_forum_subforum_count', '__return_false' );

    Group Subforums

    I highlighted a few things:
    1) Topics are only being displayed from group subforum 2 (believe you mentioned this above). This should be easy enough to fix
    2) I thought I was posting in the Group Forum when I used the default form below, but clearly (as per highlight 3) this is now set to group subforum 2
    3) Default Create New Topic is set to Group Subforum 2. I assume this was the “last retrieved forum” and is probably easy enough to fix. In my case, I’ll probably be changing my group forums to a category anyway, so I don’t actually want people starting new topics from this page.

    #133060
    lucop1
    Participant

    Hi,

    i’ve just installed buddypress 1.7 and bbpress 2.2.4.

    I created a custom theme for bbpress doing the following steps:
    1. create a folder bbpress inside wp-content/themes/mytheme/
    2. moved all the php files that were inside plugins/bbpress/templates/default
    3. moved the css file inside wp-content/themes/mytheme/css/

    after that

    I turned on the functionality to include the bbpress forum inside buddypress groups but I found and issue with the topic subscription and add to favorites.

    Because when i click on that link in the single topic view it open a blank page.
    I checked the bbp-function.php files stored in plugins/bbpress/templates/default and I found that it enqueue all the ajax function for the topic subscribe option and add to favorite options.

    But when I go the forum page inside BuddyPress Group and open the source code I don’t see any enqueue ajax files or functions.

    So what should I do to let it works?

    thanks

    #133049
    jeffacubed
    Participant

    Hi @lamarant,

    This ‘anamoly’ nearly drover me bonkers, until I finally discovered the ‘BuddyPress Group Email Subscription’ (when activated) plugin lead to the ‘Subscribe’ & ‘“Notify me of follow-up replies via e-mail” button/links to disappearing in bbPress Topics. In my case I’m using BuddyPress 1.6.4 & bbPress 2.3 RC1 & WP 3.5.1

    I’m not sure is this could be your issue, but it 100% was mine. I still need to dig-into the code to see what’s really causing the conflict, but (for-now) DE-activating the ‘BuddyPress Group Email Subscription’ does resolve this issue for me.

    Hope that helps,

    -Jeff

Viewing 25 results - 14,401 through 14,425 (of 32,519 total)
Skip to toolbar