Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,076 through 14,100 (of 32,585 total)
  • Author
    Search Results
  • #135652
    mindblender
    Participant

    @fontadoni – Thanks for the info. I have tried several times and not having any luck.

    Here are somethings I have tried and still have not been successful:
    1. install bbPress 1.2 as a standalone without WP integration on a local test domain (bbpress.dev)

    2. Install WP with bbPress 2.3.2 on a local test domain (wordpress.dev) and then tried to do an import from bbPress1, using separate DB tables.

    3. installed WP and bbPress 1.2 in another local test domain (wordpressbbpress.dev), using the same DB, and selected the WP integration when I installed bbPress. Then I installed bbPress 2.3.2 and tried to do the import and no joy.

    In all the scenarios above, I get the yellow “Starting Conversion” box but then it shows:

    Conversion Complete
    No replies to convert
    
    Converting topic tags (0 - 99)
    Converting topics (0 - 99)
    No forum parents to convert
    

    Anyone have any other suggestions? I do have test data entered and forums created for testing but I don’t understand why it doesn’t find them. And yes, I did verify the prefix as bb_

    Thanks,
    Jeff

    #135651
    Stephen Edgar
    Keymaster

    bbPress includes a Vanilla Forums importer

    The basic instructions are here https://codex.bbpress.org/import-forums/

    And specific info for Vanilla here https://codex.bbpress.org/import-forums/vanilla/

    #135640
    Mailhilfe
    Participant

    Do you try to exclude the code in WordPress Minify 1.2.2?

    #135637

    In reply to: Allow HTML from users

    Rachel Biel
    Participant

    Well, when you have a forum that is image based, it is a pain to have to use image urls only. We are an art group and showing images is necessary for everything we do. It seems to me like the administrators of each forum should have the ability to decide whether to trust their users or not. I really wish that we could have the TinyMCE for all participants. I tried a couple of different plugins and some could see the editor and others couldn’t. Then, I tried RT-Media’s plugin and test each update of theirs, but it doesn’t work.

    A big problem with using image urls (if you can’t load them into wordpress as the admin) is that that image could disappear if the hosting post is deleted or if the site goes down. We are using the GD BBPress Attachments plugin for attachments, which is a nice thing to have, but it does not do well if you are explaining something and showing several images which would be best embedded inside of the text.

    I looked everywhere for an explanation of what the symbols mean in this bbpress editor and couldn’t find anything, so I did a demo for our members: http://www.tafaforum.com/user-groups/tafa-forum-help/forum/topic/text-editor-or-wysiwyg/

    It’s not intuitive and a couple of the buttons seem to be useless. Most of our members will have no clue as to what they mean and using symbols that are commonly around on text editors would have been helpful.

    Things are finally working pretty well, but it’s been quite the long road in getting this set up. I think there should be a warning in documentation on bbpress: “Non-coders beware! You will need coding experience to make this work!”

    #135635
    vfowler
    Participant

    It makes sense to show the topic title but not the forum title when in BuddyPress group forums. Plain old CSS won’t do the job of hiding just the Forum title as the same HTML is produced for both forum and topic title.

    <div id="bbpress-forums">
    <h3>forum or topic title here</h3>
    ...
    </div>
    

    I guess this might require creating child theme files of the relevant section…

    Faramarz
    Participant

    Hi,

    I am having a problem with bbpress forums and buddypress groups. I have activated bbpress and buddypress on a sub-site on my sub-domain (http://community.example.com). In bbpress settings, I selected the checkbox “Allow BuddyPress Groups to have their own forums”. Now in buddypress when I am creating a group, in step 3, I should be able to select a checkbox (Yes, I want this group to have a forum.) to enable forum feature for my group, but for some reason the checkbox is not showing up and I cannot proceed by clicking “Next Step” button. I am using the latest version of BP (1.8), bbpress 2.3.2 and WP 3.5.2. The same setting works just fine on my local XAMPP but it doesn’t work on production server.

    Here are some screenshots, this is how step 3 looks now: http://i.imgur.com/sT8jRv9.jpg

    And this is how it should be (local is fine): http://i.imgur.com/6mKn4uE.jpg

    After this error, when I click on my groups, I can see the group is created with no avatar (because I never got to step 4) and when I click on the group and go to Admin > Forum > Now I see the check box but when I enable it and then select one of my forums from the dropdown and click save, I get this error “Are you sure you want to do this? Please try again.”

    When I check my error_log file, I get this error:

    [28-Jul-2013 22:51:11] PHP Fatal error: Using $this when not in object context in /public_html/wp-content/plugins/bbpress/includes/extend/buddypress/group.php on line 461

    I followed these instructions step by step to create a sitewide forum and forum for my buddypress groups: http://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/

    Does anyone have the same issue with buddypress?

    Thanks

    #135619
    Matt McFarland
    Participant

    I looked at template-tags.php and that looks like it is getting the user’s favorites, like it’s getting a list of their favorite stuff.

    I’m trying to replace the word “favorites” with a glyphicon – to confirm you’re saying that the get_user_fav_link code is actually the code that puts the word “Favorite” and “Favorited??”

    #135618

    I’m confused by a few things here. How can comment spam also be forum spam? To my knowledge, there’s no way a non-registered user can create topics and replies unless you have the setting enabled in Settings > Forums allowing them to do so.

    For right now, you can use the bbp_get_user_topic_count_raw and bbp_get_user_reply_count_raw functions, respectively. These will eventually be replaced with cached functions, probably using usermeta to keep the counts.

    #135614

    Not dead; just resting. A quick search should have lead you to the bbp_get_user_favorites_link function in users/template-tags.php. You can pass your own arguments into it, or you can filter bbp_after_get_user_favorites_link_parse_args to override them.

    Daniel Lemes
    Participant

    To get register date i’m using:

    echo 'Member since: '.date("Y/m/d", strtotime(get_userdata(bbp_get_reply_author_id())->user_registered));

    Still working to show post count, soon i’ll get it 😉

    #135606

    In reply to: Allow HTML from users

    Hansaplastique
    Participant

    In the code Jared so kindly offered, you’ll need to add soemthing like this to the array:

    'div' => array(
    		'class'     => array()
    ),
    Ricardo
    Participant

    Hi everyone

    Is there a way of disabling bbpress jquery and css files loading when a user visits the blog?
    upon installing bbpress the “weight/loading” of a blog page increases a bit, anyway of disabling it? Only loading when someone visits the forum?

    The following code disables the bbpress css, is there a way to disable the javascript/jquery?
    Thanks

    function mp_deregister_bbstyles() {
    if ( function_exists( 'is_bbpress' ) ) {
    if ( !is_bbpress() ) {
    wp_deregister_style( 'bbp-default-bbpress' ); 
    }
    }
    }
    add_action( 'wp_print_styles', 'mp_deregister_bbstyles', 100 );
    prikid
    Participant

    I have tried to fix this issue by replacing the code but no luck, it switched off whole website))

    I think we will have to wait until new version comes out…any updates on this?

    This is major issue for many, would be nice to have the whole that group.php fixed file or code, so we can replace it, otherwise just changing the code for the people not familiar with php is difficult(

    #135589
    stuudio
    Participant

    Same problem here.

    
    #bbpress-forums ul {
    list-style: none outside none;
    }
    #bbpress-forums li {
    list-style: none outside none;
    }

    Has absolutely no effect whatsoever. 🙁

    HEEELLLLLP!

    #135587

    Topic: Forum statistics

    in forum Plugins
    blg002
    Participant

    I’m wondering if there are any good plugins for member forum statistics out there. I’m imagining an admin page that lists members name, email, number of replies, and number of topics created. It would probably look something like the Users page. Optimally there would be an option to export and the columns could be toggle-able.

    Searching hasn’t come up with much BBPress 2.0 Analytics Plugin is the closest but looks older, and there are many mentions of mini-stats but i can’t find it’s actual code anywhere (and it doesn’t sound like what I want).

    #135581

    Hey Jason! You could try resetting the user roles, in: Tools > Forums

    You can also try this neat little tool I wrote, to check out what capabilities specific users have in your forums: https://github.com/johnjamesjacoby/bbp-capabilities/

    What you’re experiencing sounds like bbPress isn’t sure what to do with the role those users have, or doesn’t like the capabilities those users have saved in the DB. Other users have had similar issues, and have fixed them by remapping the roles with the above tool(s).

    #135580
    blg002
    Participant

    @thesnowjunkies @johnjamesjacoby @undyingearth @olivier-lettinga So here’s what I did, it looks to work but I haven’t fully put it through its paces. I’m also kind of a n00b with this PHP WordPress thing so hopefully this isn’t a terrible idea. I basically used an add filter on bbp_get_time_since and did a regex string replacement on the output removing anything from the first comma up to ‘ago’.

    function short_freshness_time( $output, $older_date, $newer_date ) {
      $output = preg_replace( '/, .*[^ago]/', ' ', $output );
      return $output;
    }
    add_filter( 'bbp_get_time_since', 'short_freshness_time' );
    
    #135565
    dvharrison
    Participant

    Hi

    I have just set up BBpress on one of our websites (not live yet) and everything seems to be working ok except for one little problem:

    I have marked the forum private as I would prefer people to register first rather than bombard the forum with spam etc. But this generates a new problem as the private forum is automatically given a prefix of “Private:”

    Please advise how I can removed the said prefix? I saw a thread for a bit of code to change this but it doesn;’t say which page it needs to be added to:

    Please any help is gratefully received.

    Thanks

    senton1
    Participant

    thanks, but meta description not working since it will insert embed code and image code to header if the first brand of the post have markup code. thats an unsatisfactory thing ryt?
    my blog

    #135545
    blg002
    Participant

    I want to increase the size of an avatar on a forums landing page. I could just go into loop-single-topic.php and change this line:

    <?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?>

    But I’d rather not edit core files. I’m having troubles making this change in my functions.php with apply_filter. Wondering if anyone can help me out here.

    #135544
    ozgurpolat
    Participant

    In form-reply.php after the line:

    <div class="bbp-template-notice"><p><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></p></div>

    I inserted <?php else : ?><div class="bbp-template-notice"><p><?php _e( 'PLEASE NOTE: Your post will be sent to AWAITING MODERATION folder, will be posted if approved!', 'bbpress' ); ?></p></div>

    Which is not so good because I am changing the core file. Is there a better way to do this?

    #135534
    peter-hamilton
    Participant

    Ah no links allowed probably.

    site to see my code working is www cultivators-forum com/cultivators-forum

    sorry for the cheeky link, dont care about visitors nrs, is a work in progress.

    P.H.

    ps. see if this gets posted here.

    #135533
    peter-hamilton
    Participant

    wow just wrote long reply press post and all is gone??

    came down to that you can mail me at seedism@gmail.com and i will send code to thank you for your reply.

    I am not yet posting it here cause I want to use it for a theme i am trying to create.

    preview here:

    P.H.

    #135532
    peter-hamilton
    Participant

    The two examples you gave are close, but do not actually show what I need, this link is more like what I mean.

    But, they did make me realize that the desired hierarchy can be achieved with a combination of css and selecting the right category/forum/topic order, and that the existing three levels (categories/forums/topics) is one too little.

    This is what I think is a solution.

    1.Create/give parent Categories a name to display as title in a new category header, remove all other data through css from the header, like the “topics” and “freshness” text since this needs to be echoed only in the next level of categories.

    2.Create categories in parent category and change functions and css so they show as a list under each other and include topics and hierarchy text.

    3.create another level of categories to act as main forums, here we include the freshness-links and topic count.

    4.Topics/threads are created inside the fourth level.

    5.remove the original bb-header to allow the first level categories to take over this function.

    I think this makes sense to me, will have to try tomorrow if this works.

    I can not yet make my solution of the freshness-topic-title public since I am working on a theme with this function included, I can not send private messages on the bbpress forum else I would have pm’ed you it as appreciation for your reply.

    You can send me a mail and I will send you the code but please keep it to yourself.
    seedism@gmail.com
    Here is a link to a live demo, this is a work in progress and site is not close to finished but you can get an idea of what I did.
    http://cultivators-forum.com/cultivation-forum/

    Peter Hamilton

Viewing 25 results - 14,076 through 14,100 (of 32,585 total)
Skip to toolbar