Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 13,251 through 13,275 (of 32,688 total)
  • Author
    Search Results
  • Uncle Nerdicus
    Participant

    I have a piece of PHP code that gets a list of allowed extensions from the WordPress Database and only allows files uploaded that are those file extensions. What I would like to do is make the code allow ALL extensions but NOT allow only a couple of file extensions (executables like exe, shells, binaries, etc.)

    Here is the code:
    $allwd_ext = get_option( ‘ma_allowedExtension’ );
    $allowedExts = explode(“,”,$allwd_ext);
    $extension = end(explode(“.”, $_FILES[$f_u][“name”]))`;

    Any ideas appritiated 🙂

    #169412
    @mercime
    Participant
    #169397
    Andrea Fercia
    Participant

    @sbrajesh 🙂

    testing bp live notification 1.0.3 plugin, I’m not sure maybe this may vary depending on your PHP error reporting setting, btw it didn’t work for me so I checked the ajax response in Firebug and it started with some html (PHP warning):

    <br /><b>Warning</b>: Missing argument 2 for wpdb::prepare() … etc. and then the actual JSON started with {“change”:”yes” … etc.

    investigating a bit I came to this Andrew Nacin post:

    PHP Warning: Missing argument 2 for wpdb::prepare()

    so I just changed a line in bp-live-notification.php, inside function “bpln_get_notification_messages”

    this line:
    $notifications =$wpdb->get_results( $wpdb->prepare( “SELECT * FROM {$bp->core->table_name_notifications} WHERE id in {$list_ids} AND is_new = 1”) );

    changed in:

    $notifications =$wpdb->get_results( $wpdb->prepare( “SELECT * FROM {$bp->core->table_name_notifications} WHERE id in {%s} AND is_new = %d”), $list_ids, 1 );

    this suppressed the PHP warning and now seems everything is perfectly working.
    Would you consider the patch? 🙂
    thx very much, greetings from Italy
    Andrea

    #169387
    StuartManning
    Participant

    I’m also on

    WordPress 3.6
    BuddyPress 1.8

    And I get:

    http://[website]/members/%5Buser%5D/profile/edit/group/1/

    And get a 404

    reggie3
    Participant

    WordPress 3.51 (soon to be 3.6); BuddyPress 1.8

    We have a central bank of photos for all of our users. These are to be used by a number of different applications (WordPress, Drupal, etc.) across the organization.

    We have written a script that will create Word/BuddyPress avatar images & thumbnails, hash the user’s id to create the filenames, move the images to the correct directories, etc. and all this works fine.

    We want to prevent users from uploading different avatars into Word/BuddyPress after the photos from the central bank have been created. Is there a way to do this other than hacking the code?

    If hacking the code is the only way, any suggestions as to which php scripts to modify, and/or how to do that?

    Thanks!

    #169373
    Ünsal Korkmaz
    Participant

    Uhm, It seems, I forgot to update this topic.

    Here is theme:

    FirmaSite

    kuching
    Participant

    I’m trying to make a BuddyPress plugin using these guidelines

    http://codex.buddypress.org/theme-compatibility/how-to-enjoy-bp-theme-compat-in-plugins/

    however, if I try to add a class that extends BP_Component WordPress will crash and return the error.

    I tried to load my plugin after BuddyPress using the following code:

    function bp_pop_load() {
    
        require_once( dirname( __FILE__ ) . '/bp_pop.php' );
    }
    add_action( 'bp_include', 'bp_pop_load' );

    but it doesn’t work

    if I wrap my whole plugin with a class_exists( ‘BP_Component’ ) conditional, nothing will happen (condition is false)

    How can I fix this?

    fiy, I’m just calling BP_Component like this:

    class BP_PostsOnProfile extends BP_Component {
      // my stuff... but error is thrown at the line above
    }
    #169370
    paddelboot
    Participant

    Hi,

    I am creating a function that hooks into the WordPress core hook ‘wp_insert_comment’ in a multisite environment. To my complete surprise, this function will not have the BuddyPress vars and functions available. Needless to say that I am depending on these functions.

    I am a bit lost – how is it possible that BuddyPress is not being initialized at this point?

    Paddelboot

    #169355
    erp_linkin
    Participant

    Wordpress Version 3.6
    Buddpress Version 1.7.1 ( Yes I will upgrade )
    bbpress Vesrion 2.3.2

    —
    The Forums in Groups uses plugins-php (buddypress/bp-themes/bp-default/groups/single/plugins.php) instead of forum.php(buddypress/bp-themes/bp-default/groups/single/forum.php)

    Why is this happening and how do I rectify it instead.

    ( I have installed bbpress and each group is marked to have its own Forum )

    Please advice,

    Thank you.

    #169351
    bp-help
    Participant

    @parmkals
    As @ubernaut stated I would FTP BuddyPress because if you do not have access to the php.ini then you can not change it and it may hang when downloading and installing BP. If that is the case then just download BP to your hard drive extract it and FTP it to: your-site/wp-content/plugins on your server. You will need the credentials from the server to do this and that is something only you can acquire. I supplied a link that will hopefully help you get started if your not familiar with this process. Good luck!
    https://codex.wordpress.org/Using_FileZilla

    #169349
    DesignFirm
    Participant

    Hi Boone,

    Thanks for the response. The “no-ajax” class did load users on subsequent pages, but I’m still experiencing other odd behavior:

    If I have the &per_page argument like this: `
    <?php if ( bp_has_members( bp_ajax_querystring( ‘members’ ) . ‘&page_arg=bapage&per_page=10’ ) ) : ?>` I receive no members on the first page, and two members on the second page if the filter is set to “newest registered” or “last active”. If it’s set to “alphabetical”, one member shows up on the first page, none on the second page, and one on the third page.

    If I remove the &per_page argument, I get both members on the first page for “newest registered” and “last active.” For “alphabetical”, I get one member on the first page, and one on the second.

    I’m using the social buddy theme. It’s set up like this:

    socialbuddy/buddypress/
    ajax.php
    functions-buddypress.php
    global.js
    style-buddypress.css

    socialbuddy/members/
    index.php
    members-loop.php
    single/(a bunch of files)

    I’ve added bloggers.php, which is a modified members’ index.php that I’m using as my page template, to the main “socialbuddy” folder. I changed the locate_template() function so that it uses my modified members-loop: members-loop-bloggers.php, which I’ve placed in the “members” folder.

    Thanks for any insight you can provide.

    Regards,
    Scott

    #169348

    In reply to: BP Groups and Forums

    Hugo Ashmore
    Participant

    @mercime

    @faramarz thanks for posting the error, see https://bbpress.org/forums/topic/fatal-error-unable-to-create-forum-from-buddypress-group/#post-135487

    EDIT – Trac Ticket at https://bbpress.trac.wordpress.org/ticket/2374

    However as this post suggests and others this issue is perhaps not bbPress specific but BP and needs a trac entry on bp rather than bbPress.

    https://buddypress.org/support/topic/error-when-using-it-for-groups/

    #169342
    Drrr
    Participant

    WordPress 3.6
    BuddyPress 1.8
    http://www.tera-data.de/

    Hey, is it possible to customize the profile pages?
    For example http://www.tera-data.de/user/drrr/

    I’d like to edit the Name”>Name and the @Name part.

    Thanks in advance!
    Drrr

    #169340
    Parmkals
    Participant

    It stops @ Downloading install package from https://downloads.wordpress.org/plugin/buddypress.1.8.zip…

    Unpacking the package…

    How do I upload buddypress?

    aces
    Participant

    @zanora

    https://wordpress.org/plugins/debug-bar-bbpress/ will show you what bbpress templates are used.

    This works as an add-on to https://wordpress.org/plugins/debug-bar/ which is in itself useful when editing stuff…

    #169330
    Drrr
    Participant

    WordPress 3.6
    BuddyPress 1.8
    Case: http://www.tera-data.de/

    Hey Community,

    I’m trying to edit the Profile Page of BuddyPress. It actually looks like this:

    http://www.tera-data.de/user/drrr/

    Drrr">Drrr
    
    [Profile Picture] @drrr
                      active for 1 minute

    I want it to look like this:

    http://www.tera-data.de/user/drrr/

    Drrr
    
    [Profile Picture] active for 1 minute

    I looked for hours in google and other forums and found out that i probably have to edit the following file:

    /wp-content/plugins/buddypress/bp-themes/bp-default/members/single/member-header.php

    http://phpxref.ftwr.co.uk/buddypress/nav.html?bp-themes/bp-default/members/single/member-header.php.source.html

    I changed

    <a href="<?php bp_displayed_user_link(); ?>"><?php bp_displayed_user_fullname(); ?></a>

    To

    <a href="<?php bp_displayed_user_link(); ?></a>

    But nothing changes.

    Can anyone help me out? 🙂

    namrons
    Participant

    I have disabled all plugins and have the latest version of Buddypress and WordPress on a multisite installation. On the registration page the username field insists on lowercase characters. The only way around this for me is to change the hint.

    Which file do I edit to change hint from “Usernames can contain only letters, numbers, ., -, *, and @” to something like “Usernames can contain only lowercase letters, numbers, ., -, *, and @”

    #169314
    BuddyBoss
    Participant

    Hey guys! I’m the owner of BuddyBoss and just reading though these comments. We have a mobile version coming out August 15th. You can see the demo here: http://www.buddyboss.com/demo/

    @flyveren Thanks for the compliments 🙂 We work hard to keep everything up to date. This new version is built around BuddyPress 1.7 / 1.8, the way BP now allows any WordPress theme to work with it. We rebuilt it as a standard WordPress theme with our custom features only used when BuddyPress is activated.

    cappazushi
    Participant

    I’m working with a new theme for my site, although I was told that it didn’t have native BuddyPress support, I never anticipated that it would be this bad.

    My WordPress and BuddyPress installs are completely up-to-date. I’m also using bbPress, but that’s pretty much the extent of my plugins. The theme is called Conduit.

    You can see the error it’s causing here: http://www.jrpgclub.com/beta/members (All of the data is getting pushed to the top of the page). I had a similar issue with custom excerpts in posts; when a paragraph tag was used, the same thing would occur.

    Any idea what is causing this?

    #169312
    Tecca
    Participant

    Curious to see that @puggy! It seems that most ESO fansites I’ve seen are using WordPress — and for great reason, though none pull it off as well as Tamriel Foundry does, if I’m being completely honest. When I created TESOF, I originally intended it to be just a forum, so it was quite a bit of hassle to create certain sections based off of the MyBB forum software itself.

    Since Curse, Inc. now owns TESOF, I won’t be taking part in much of the development, but I am making a new project based off of the WordPress/BuddyPress/bbPress combo (unrelated to ESO), and it’s coming along nicely. You can see most of that development on my personal blog. Most of my posts for the last few months are about the new project.

    Annnnd, that’s enough of me hijacking @aaclayton’s topic. Keep up the good work with TF, you guys are really flourishing!

    Here’s to the Elder Scrolls Online. *Takes a drink*

    #169300
    wpobs
    Participant

    Hi guys, im using the latest WP 3.6 + bbPress 2.3.2 + buddypress 1.8

    All works fine until you try to either Edit a forum of an existing group (front end) or when creating a new group and then at step 3 adding a forum to this group, when then the page get broken.

    The page will remain visible but the header and footer will disappear.

    see image below:
    Broken Header and Footer

    I have disabled ALL plugins as well as switched theme to the WordPress / buddypress default one but still the issue remains.

    Page end Source code finished without closing this are the last lines:

    <form action="http://[domainname]/group1/admin/extras" name="group-settings-form" id="group-settings-form" class="standard-form" method="post" enctype="multipart/form-data" role="main">

    Inspect Elements reports error:
    Uncaught TypeError: Object [object Object] has no method ‘sortable’

    This was also reported on the bbPress forum as im not sure which of the two (i.e .buddypress or bbpress) i should turn to.

    Please help.
    Dan

    #169293
    matthuf
    Participant

    I also found a really nice plugin here that seems to do the job. Is that the one you’re referring to?

    #169290
    Uncle Nerdicus
    Participant

    Well.. after doing a little research and not finding anything about that feature (and also wondering how it was there in the first place?), I was able to find a plugin that does the same thing that I was looking for:

    https://wordpress.org/plugins/buddypress-activity-privacy/

    #169289
    meg@info
    Participant

    Hi @funmi-omoba, @bp-help, @hnla

    Thank’s funmi omoba for the post, i want tell you that the first version of plugin is now available for download from wordpress repo :

    https://wordpress.org/plugins/buddypress-wall/

    I Hope the Buddypress users will enjoy the plugin.
    Any suggestions are welcome.

    Regards,

Viewing 25 results - 13,251 through 13,275 (of 32,688 total)
Skip to toolbar