Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 42,601 through 42,625 (of 69,095 total)
  • Author
    Search Results
  • #104549

    @boonebgorges, Due to the privacy issues, and to be a member on my site, you need to pay a fee, which breaks copyright rules and other stuff on our site to have a free membership. To figure out the problem, is it absolutely necessary to be on the front end? If it’s absolutely necessary, then yes, but is it possible to just post code, or I will do absolutely anything else to help you solve this.

    Thanks so much for your help

    aljuk
    Member

    Solved my issue. It turned out to be related to directory permissions, and pilot error in not noticing my user avatar directory chmod changed to 755 when overwritten from a local > remote upload. Avatar directories have to be write-enabled for avatars to display… Hope this helps someone.

    aljuk
    Member

    Scrap that. The fix is only superficial. It fixed user avatars, but destroyed every other type.

    #104543

    In reply to: My 2 Cents

    Anonymous User 96400
    Inactive

    @alanchrishughes
    I guess I understand where you’re coming from, but from a programmers point of view, BP is a great programme to work with cause it’s so customizable (of course there’s always room for improvement). Maybe not so much from a designers point of view. Not so sure it should be either. Too many options tend to make programmes too clunky. Just means that maybe you should look into working together with someone who knows his way round php (WP) code well.

    And to be honest, it’s not that bad once you got your head round it. Just give it another go. Ask questions here and people will help you…

    #104537
    @mercime
    Participant

    @berseck, glad you solved this on your own. “The problem was on the SQL statement I added invisible users and had one comma extra at the end of this info.” — Wouldn’t have thought of that just reading through your post :-)

    #104536

    In reply to: Why did this happen???

    @mercime
    Participant
    #104534

    In reply to: My 2 Cents

    alanchrishughes
    Participant

    Would either of those methods result in faster loading times? Or both probably equal? To me, something like this should obviously be built and only exist if a theme includes it, not something built directly into Buddypress and requiring a hack (or whatever you would consider that) just to not have it.

    I also think it would be great to have a tutorial/codex on how to Buddypress’ify a theme or inividual pages without having to use the template pack. Being able to build pages from scratch would be a giant step forward for Buddypress I would think. There is just so much going on behind the programming scene it is spilling over into the front end scene.

    I’ve tried to follow this a bit https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/ to produce something like I described in my previous post, but I don’t see the connection between bp_has_activities() and the “accepted arguments.”

    bp_has_activities(friends)

    …seemed like the only logical way it could work, but no luck. And like I already mentioned, all the files for each activity page are all slurred together and editing them individually, is that even possible? I can’t even find the file for the @mentions page.

    @modemlooper I’m not sure how you took what I said that way, I am suggesting for more options and forcing less built in stuff that not everybody wants, but still can be created, like the navigation bar.

    I don’t see why any one would not enjoy a notification page, but that is something you could simply not link to if you don’t want it and wouldn’t require any special programming knowledge.

    If more people than me have been suggesting a more Facebook like flow, I would guess it is because both do the same thing, but Facebook isn’t as confusing, Buddypress is too anal about things trying to divide everything up and categorize too much. Does anybody really need 5 tabs under the activity tab?

    #104533

    In reply to: Why did this happen???

    ddegagne
    Member

    Hi thanks. I discovered that themes with the Nav bar along the top with the link to groups gets you to the Create Group site. However, there is still no link to create groups in the Bar along the very top of the page which has all the links and access to your Dashboard etc. You can check http://ordinaryjoe.ca/endthemadness/

    Also when using the BP Compatibility Plugin on a standard wordpress site, it says you have to change the html structure of some template files such as blogs/index.php and groups/index.php etc. It is supposed to have this structure..
    By default BuddyPress templates use this HTML structure:

    [HEADER]

    [PAGE CONTENT]

    [FOOTER]

    If BuddyPress pages are not aligned correctly then you will need to modify some of the templates to match your theme’s HTML structure. The best way to do this is to FTP to your theme’s files at:

    /home/ordinar5/public_html/endthemadness/wp-content/themes/citizen-kane/

    Can you advise on how to do this?

    Thanks,
    Don

    aljuk
    Member

    I’ve been having vanishing avatar issues over the past couple of days, and a little research points to a possibility that in some instances BP is generating bad avatar paths, not relative to the root of the site. I found this, it provided a fix, and might help some of you: http://theandystratton.com/2010/buddypress-avatars-not-displaying-with-wordpress-3-0/

    sortofme
    Member

    ehh.. still no fix for this??
    WP3.0.4
    BP 1.2.7
    BP-default-child theme
    And I have the same issue// seems more erratic though… some users display correctly

    #104526
    modemlooper
    Moderator

    You could create your own buddypress component or use something like gravity forms. Did you search for a WP plugin for this type function? A lot of WP plugins work in most cases. You could also hack the groups into something else.

    #104525
    gregtrainor
    Member

    I’m having the same problem. I thought BuddyPress was working, but just found out that any time anyone else clicks Log In it just brings them back to the front page and does nothing.

    I’m using the Platform Theme
    I have GoDaddy Hosting

    Plugins Installed:

    Akismet
    BuddyPress
    BuddyPress Group Email Subscription
    BuddyPress Links
    Buddypress Sitewide activity widget
    BuddyPress Template Pack
    CubePoints
    CubePoints Buddypress Integration
    Google XML Sitemaps
    Wickett Twitter Widget
    WordPress SEO

    #104524
    xXDarkie
    Member

    Anyhow since I set manually the friendship I tried to call another function (the one that counts the number of friends you have) and also that one returns 0. This is truly unbelievable.

    #104523
    xXDarkie
    Member

    Again I used your code and the result is:
    SELECT id, is_confirmed FROM wp_bp_friends WHERE (initiator_user_id = ” AND friend_user_id = ”) OR (initiator_user_id = ” AND friend_user_id = ”)
    Which is normal I guess, because the passed variables are integers, right?

    #104520

    In reply to: My 2 Cents

    Boone Gorges
    Keymaster

    1. If you don’t want the nav bar, you can suppress it with the following line in your wp-config.php file:
    `define( ‘BP_DISABLE_ADMIN_BAR’, true );`
    or you can manually unhook it with the following lines in your theme’s functions.php:
    `remove_action( ‘wp_footer’, ‘bp_core_admin_bar’, 8 );
    remove_action( ‘admin_footer’, ‘bp_core_admin_bar’ );`
    No need to hack anything.

    2. A vanilla installation of BP, using the default theme, loads one stylesheet: style.css. That stylesheet includes two others: _inc/css/default.css and _inc/css/adminbar.css. There is also a stylesheet for the Dashboard view. If you are using the template pack and are finding too many stylesheets, it’s possible that your WP theme is to blame. In this respect, BP is being fairly austere in the number of CSS files it’s loading. If you want to override things, there’s no reason to “hack” – just put your own overriding styles after the import commands in style.css.

    3. This is a great idea, I think. Perhaps you could file a formal enhancement request at trac.buddypress.org (same username/pw as this site)

    4. The way that the default theme handles profile, activity, friends etc separately, provides a large amount of straightforward customization in child themes. If bp-default had them consolidated, child theme authors would have to rebuild the pages to make them separate. We are erring on the side of enhanceability. You are welcome to build a child theme that incorporates these parts of the profile into a single page – I bet a fair number of people would be interested in such a thing.

    #104519
    Boone Gorges
    Keymaster

    I doubt it’s a problem with prepare() itself, since that method is used on nearly every query in BuddyPress and I have never heard of this problem before.

    It could be the case that $loggedin_userid and $possible_friend_userid are improperly cast. Try switching %d with %s in check_is_friend() and see what happens.

    #104518

    Hey @boonebgorges. Yes, it’s my custom theme, the default is not affected.

    I am a noob on code, so will u help me fix this?

    I can paste files of whatever you need

    #104517
    xXDarkie
    Member

    I’m using the BP function.
    It is the former indeed, and I managed to trace the input down to $wpdb->query (if avoid using prepare) or to prepare, to see that it doesn’t work (with prepare the $args = func_get_args() gets nothing as parameter even though I checked they are correct the second is wrong in that line I posted above).

    Anyhow here is the result:
    SELECT id, is_confirmed FROM wp_bp_friends WHERE (initiator_user_id = 0 AND friend_user_id = 0) OR (initiator_user_id = 0 AND friend_user_id = 0)
    This is what I get printed out. If I inspect the values $loggedin_userid, $possible_friend_userid, $possible_friend_userid, $loggedin_userid they have the correct values.
    In prepare the problem is this line “$args = func_get_args();” that gets wrongly the parameters (inspecting args returns nothing).

    #104516
    Boone Gorges
    Keymaster

    I realize that the query is with 0s. That is the problem. I am suggesting that even though you are “sure 100%” that you are passing the correct IDs to the function, the way that you are concatenating the query string might be corrupting it.

    In any case, I am confused about what’s actually failing here. Are you using the function BP_Friends_Friendship::check_is_friend(), or are you writing your own function? If the former, change the `$result = ` line to the following
    `$query = $wpdb->prepare( “SELECT id, is_confirmed FROM {$bp->friends->table_name} WHERE (initiator_user_id = %d AND friend_user_id = %d) OR (initiator_user_id = %d AND friend_user_id = %d)”, $loggedin_userid, $possible_friend_userid, $possible_friend_userid, $loggedin_userid );
    print_r( $query );
    $result = $wpdb->get_results( $query );`
    so that you can see if the query is being put together correctly. If not, dump the contents of $loggedin_userid and $possible_friend_userid just before these lines to see if you are, in fact, passing values to the function.

    #104509
    Anonymous User 96400
    Inactive

    For photos there’s 2, BP Album+ and BP Gallery, which also does videos and audio, but isn’t free (I think USD 30 subscription fee?). It’s on the roadmap for BP Album+ as well, but am not sure if they have integrated videos yet.
    https://buddypress.org/community/groups/bp-album/
    http://buddydev.com/buddypress/bp-gallery-the-ultimate-photo-gallery-for-your-buddypress-powered-site/

    For events there’re a few solutions, some paid, some free. There’s EventPress (https://buddypress.org/community/groups/eventpress/) and Jet Event System (https://buddypress.org/community/groups/jet-event-system-for-buddypress/), which are free.

    There’s an event calendar plugin for groups from the guys at wpmudev.org which has a price tag attached (again, not sure, I think around USD 80 /month subscription fee?):
    http://premium.wpmudev.org/project/buddypress-group-calendar

    And then there’s my events plugin, Buddyvents. You can check it out on the test site:
    http://test.shabushabu.eu/events/

    It costs EUR 50 and comes with free support for as long as the version stays 1.x. We’re at 1.6 right now and are aiming for a 2.x release around May this year. Existing customers will get 50% off for v2.0.

    #104508
    xXDarkie
    Member

    I’ve done all the inspection I could, I discovered that
    1) the prepare function when doing func_get_args (or whatever is the name) it gets NOTHING as result, so the query is indeed with ids 0s. Didn’t do what you said, Boone Gorges, even though I really thank you for your concern, I think I would have arrived to the same result :).
    2) if I avoid calling prepare and feed the query directly to $wpdb->get_results (I’m always in check_is_friend function of buddypress) when it does $this->result = @mysql_query( $query, $dbh ); the result is NOTHING. No idea why, because $query just before this function call is the correct query with the correct IDs.

    Any ideas?

    #104506
    intimez
    Participant

    Here is line 30:
    ` displayed_user->id ) ); ?>`

    Here are the lines before and after line 30
    ` https://buddypress.org/?v=

    displayed_user->id ) ); ?>

    <![CDATA[]]>`

    #104505
    Boone Gorges
    Keymaster

    Off the top of my head, it could be that the theme author did not include the proper WP hooks in that particular template (wp_head) so that the stylesheet isn’t loading correctly. Or maybe something in the crop javascript is keeping styles on the rest of the page from being activated. It’s hard to tell without actually seeing the site. Have you tested to see whether the problem persists when using the BuddyPress Default theme?

    #104503
    Boone Gorges
    Keymaster

    If the last query reads 0s where there should be valid ids, you are probably not constructing the query correctly. Are you using $wpdb->prepare, with sprintf syntax?
    `$query = $wpdb->prepare( ‘SELECT id, is_confirmed FROM {$bp->friends->table_name} WHERE (initiator_user_id = %d AND friend_user_id = %d) OR (initiator_user_id = %d AND friend_user_id = %d)’, $initiator_user_id, $friend_user_id, $initiator_user_id, $friend_user_id );`

    (I’m not sure if this is your exact query, but you get the idea.)

    If it still isn’t working, then as an experiment, try passing the prepare() arguments as strings – replace %d with %s in the replacement patterns.

    I suggest you dump your variables/query string just before AND just after the query is constructed in this manner, to see whether prepare() is causing the problem.

    #104502
    Boone Gorges
    Keymaster

    Are you trying with different browsers? Maybe the cookies are not being flushed correctly

Viewing 25 results - 42,601 through 42,625 (of 69,095 total)
Skip to toolbar